mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
467 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 01395cbaed | |||
| d502a44f6e | |||
| 8ff5e9c8e3 | |||
| b3d05e61fa | |||
| 17064d80d1 | |||
| 1d6c077f43 | |||
| 477378c84f | |||
| c6fbd9f8b7 | |||
| e1179d0465 | |||
| dd8befcf72 | |||
| 1c3e00092f | |||
| aeb49d309d | |||
| 66adc280d7 | |||
| 9cad6b46e3 | |||
| 9eac9bf699 | |||
| 4ed3f6719f | |||
| f5bd396763 | |||
| b659c3e580 | |||
| cde3cf63d9 | |||
| ae5147dbe1 | |||
| 6a1b812195 | |||
| 631b3985d1 | |||
| 487c51819f | |||
| eee9ba600d | |||
| bd5248e3ac | |||
| 0ea3503991 | |||
| 0b6baa4cb4 | |||
| f8f0b68944 | |||
| ee6fc60a54 | |||
| 691ccc7025 | |||
| c0dc070c4a | |||
| 02293d36df | |||
| 7513bffb63 | |||
| b68c608e95 | |||
| af8199c5ed | |||
| 7d29601efa | |||
| 5d48436d85 | |||
| e6d6774339 | |||
| bdf5be477a | |||
| 72823108a9 | |||
| 1da46e8365 | |||
| 16d6069a37 | |||
| 6008928313 | |||
| eec33556ce | |||
| 11005ecc8f | |||
| c133d5c5ef | |||
| 299c16239b | |||
| 7c658be8b9 | |||
| cf79d2fcae | |||
| f2935078e2 | |||
| 53e769981b | |||
| ec10d3b397 | |||
| afda1534e0 | |||
| 6175ebdb1e | |||
| 48c0f283a5 | |||
| d659576806 | |||
| 35c9eac0fa | |||
| b899524a8e | |||
| 0b3a989791 | |||
| 1349e48035 | |||
| 7b0ab652cb | |||
| 6495466410 | |||
| c2a1919662 | |||
| 3615850069 | |||
| 53e390ed05 | |||
| c1f16f5e76 | |||
| c8aea961b2 | |||
| c394ebf6ce | |||
| aac7abcbb1 | |||
| b584ea0777 | |||
| 7a71d2ed6a | |||
| 4d469037a7 | |||
| 09d36a463c | |||
| 454d81fe1b | |||
| cb5445e842 | |||
| 41bc785fe7 | |||
| b50e43e0e4 | |||
| 131b818fa4 | |||
| 56dd2453d0 | |||
| 00333a6f46 | |||
| a85924e921 | |||
| 2bc6218e40 | |||
| 4c14600629 | |||
| 37416a0926 | |||
| 156bcfee26 | |||
| 4663814a08 | |||
| 32bcce6505 | |||
| 31381d1334 | |||
| bd88c6e422 | |||
| b89f19fe81 | |||
| e102e70496 | |||
| 937f7ea3ce | |||
| de391e3651 | |||
| 3b42ab7869 | |||
| 2f8f351374 | |||
| 055bb96361 | |||
| 8e82e6f82f | |||
| c3f89c0f35 | |||
| e45679b929 | |||
| 956920719a | |||
| c6541525e4 | |||
| 1b29ebb35b | |||
| d8c7d39fcc | |||
| edb46ded8d | |||
| 6342f088cb | |||
| c371c138b3 | |||
| f4663b2f9a | |||
| e4d82a0ce2 | |||
| 89461dff5d | |||
| e557b9679e | |||
| eba65d4d25 | |||
| b060d67633 | |||
| c59d7bddc8 | |||
| cc42a7fbae | |||
| 0daa89b025 | |||
| 940704d2e4 | |||
| 5ba5dd5fa4 | |||
| 47bea643f5 | |||
| 128412b019 | |||
| 09651d8b6a | |||
| e390d9b88f | |||
| abec618543 | |||
| 6c3c9f73d4 | |||
| 0bf2e96d9c | |||
| 637f1af74c | |||
| 3494859209 | |||
| 65859616ce | |||
| b0387aa1ea | |||
| 2227f0f362 | |||
| e28611c479 | |||
| 3f8c62aaed | |||
| 4ad7f57dda | |||
| 23a5e6f2da | |||
| f39e2f6ede | |||
| c966a165c9 | |||
| 353d67376b | |||
| 7bb0c722ac | |||
| 0f742eb969 | |||
| fbebd351cd | |||
| 1ffd81560d | |||
| 8fff8d3a7e | |||
| 545ae4bc4a | |||
| fbbe1903ac | |||
| 7e4f59149b | |||
| fbc03cddee | |||
| 2ccb5f569d | |||
| 48101bff82 | |||
| 455b0af16d | |||
| ea8b7990b9 | |||
| 4d2fc43d6d | |||
| af9fa4dba1 | |||
| db3d1bda5f | |||
| b53ec60f4f | |||
| 73e8c4a806 | |||
| c4b61f8314 | |||
| a29cb93a40 | |||
| 3fb4a8c4c5 | |||
| d980349f56 | |||
| 48e0b86eab | |||
| c1fbf904fe | |||
| cc91987ca5 | |||
| 2c30ff8729 | |||
| ea79cad919 | |||
| 414b7e6ae8 | |||
| 7af9817455 | |||
| decbbdd592 | |||
| 9a967b5305 | |||
| a5e478d2d1 | |||
| 2ab0110c02 | |||
| 176c357c54 | |||
| 1aecf6d7af | |||
| ef2c1d31a0 | |||
| 57208f2db1 | |||
| 5f0abc4ac0 | |||
| a7d3766be1 | |||
| 724cf3775b | |||
| ffc163cc46 | |||
| fb40d5d27e | |||
| 09acf99ae1 | |||
| 515a0283ab | |||
| e1023c6237 | |||
| 018b80139a | |||
| a30cbda269 | |||
| 781f8ad730 | |||
| 44d261f4a4 | |||
| 405f501ff3 | |||
| 6da20c0fcc | |||
| d722d326ee | |||
| 29fc61879c | |||
| 39c9511e3c | |||
| 103dab2e74 | |||
| e31f618353 | |||
| 1803e9232e | |||
| 5b4014f135 | |||
| 98feffc4af | |||
| 14f5eb3437 | |||
| 46cbb7c0e8 | |||
| f31987fdd1 | |||
| 3cf58ccb0d | |||
| 4ea555e308 | |||
| 6cd29151b7 | |||
| 1a5f650c74 | |||
| a672e169d4 | |||
| eb09ecdadc | |||
| 631180f7df | |||
| 98a2c02c0f | |||
| 8a3ac2646d | |||
| d8d50b6758 | |||
| e7cd5b6751 | |||
| 3c02f3f481 | |||
| daad0b7233 | |||
| d52c2edcf2 | |||
| 511ffda002 | |||
| 9fc434ab42 | |||
| 854bb7ac8a | |||
| 965a135b87 | |||
| f96391615c | |||
| 70d15c769c | |||
| 045b6b310e | |||
| 97ba35da4f | |||
| 20277328b8 | |||
| 2744c5c653 | |||
| aa09ac51c3 | |||
| 45310359c8 | |||
| c8ee01171a | |||
| c1d2f1fc5c | |||
| 045030e257 | |||
| be6b42e2d2 | |||
| 96bfec2357 | |||
| 2a20771945 | |||
| c84e57dc75 | |||
| 66c3a2410a | |||
| 4e0b729518 | |||
| 93d734c791 | |||
| 39017ee756 | |||
| bc69c79869 | |||
| 3853c1d60c | |||
| 8b99e99954 | |||
| d96d2e0f9e | |||
| 39dbbb5d32 | |||
| fcd51c61da | |||
| 1351a07b38 | |||
| 2252e68059 | |||
| 5c77fc452e | |||
| ae0a65ebeb | |||
| 3114f18748 | |||
| 0384b90519 | |||
| 1d6f8bc107 | |||
| da3f34d21e | |||
| ccf97ee15f | |||
| c060fec744 | |||
| 37074321b9 | |||
| 7a920bcd97 | |||
| d2d087746f | |||
| 711fb609b5 | |||
| 7f81b8fb1d | |||
| 34d1995b53 | |||
| 5670423f33 | |||
| effefa4e0f | |||
| 9989ca8c16 | |||
| 61496800ea | |||
| 8f72590561 | |||
| 4a0aa1047c | |||
| cdb72a83a9 | |||
| 91bb71e0a9 | |||
| befc156016 | |||
| e61ac7dcef | |||
| 709b849689 | |||
| 177a549630 | |||
| 167b1e4e21 | |||
| ff3c2e1103 | |||
| 89da2ceab0 | |||
| b1a9d35b6c | |||
| 29c4aabee8 | |||
| 47a658b7e5 | |||
| 64105f4bb7 | |||
| 9ce0b349bb | |||
| b2067e1fd6 | |||
| b91ecd873c | |||
| 084479f0d6 | |||
| cb806e401c | |||
| 844e1d1dd9 | |||
| fd8b8a1b1c | |||
| 21e7193586 | |||
| f938fe9484 | |||
| 7f8ca97a07 | |||
| 0819382f7c | |||
| 20d00c0a60 | |||
| a4cb1739cb | |||
| a327999db5 | |||
| ded039bb8e | |||
| e58f71f208 | |||
| 50a313a08e | |||
| 4e67c71e55 | |||
| add0ec236c | |||
| eb9019853f | |||
| 8ae2645124 | |||
| 228d2b9cc7 | |||
| 0f325f8acb | |||
| a4860d97af | |||
| dba6612527 | |||
| 149a371e0c | |||
| fc5b962736 | |||
| c27eeab547 | |||
| 4b76765057 | |||
| 649da64907 | |||
| 00ddcb40a6 | |||
| a7da8a2c1b | |||
| 5335c6cbf6 | |||
| f72ff899a9 | |||
| a35ac8b196 | |||
| 62cafe47ad | |||
| 0a0001585d | |||
| 01dea981d5 | |||
| c9fef49f9a | |||
| def139efd9 | |||
| 9a1b8ee1b4 | |||
| 184fbf8669 | |||
| 8f1ceecc57 | |||
| b50c9096c6 | |||
| 369e31e2eb | |||
| 51a09871ce | |||
| 69dbc2100f | |||
| db68d1ca14 | |||
| 3e19b88250 | |||
| b47fef993f | |||
| 83823ccef6 | |||
| 04a79331d0 | |||
| 5824081297 | |||
| 8554fca092 | |||
| 0e8403d1bd | |||
| f565dc35ac | |||
| 400344365f | |||
| 2eae3485a6 | |||
| 650c3a8706 | |||
| 76c72e1f93 | |||
| 43c5a41973 | |||
| 718bbf6d13 | |||
| 440a7b7628 | |||
| 8786640458 | |||
| a24df3cbb6 | |||
| efeaf8f258 | |||
| aa1a058ea2 | |||
| 5379a4c26e | |||
| 6ba6fd269d | |||
| 4890610d05 | |||
| 294aa83313 | |||
| 183b57e2f6 | |||
| 3038555436 | |||
| a46be416c3 | |||
| e1828548c5 | |||
| 3bd4bba601 | |||
| c57d35e94b | |||
| 1497a3c3bf | |||
| e9ba011bc5 | |||
| b13c95233f | |||
| dc630ac449 | |||
| 9810a8d938 | |||
| 60fb9ac2d8 | |||
| e074b073bb | |||
| 77ead326b5 | |||
| dd531b3abb | |||
| 71a2af8f98 | |||
| a316a9bf7d | |||
| e6467a8c57 | |||
| 8400fd3634 | |||
| edbfab3e11 | |||
| 11b6f5024e | |||
| 31100279d3 | |||
| 37f884d8e0 | |||
| 91f0ecc245 | |||
| 7864607f71 | |||
| d8aed76df9 | |||
| 26b370cde4 | |||
| 27a0d8f866 | |||
| 30aa6ce771 | |||
| 7ac9d8ed8e | |||
| 64b958bcb0 | |||
| ff16c486ac | |||
| 31eff3a7eb | |||
| 17ad4108d9 | |||
| 4bf5f8b561 | |||
| 799e0212d4 | |||
| f751e04907 | |||
| 746f473c14 | |||
| a02f0c1662 | |||
| 3eb39d7f5f | |||
| 10e787b271 | |||
| 4852539372 | |||
| 0b41a8407d | |||
| e346819511 | |||
| d11dc58801 | |||
| bdc9d06eb6 | |||
| 277488b6bc | |||
| a1089c290f | |||
| 6f91d793f7 | |||
| 368de84c8c | |||
| ac86e432ed | |||
| 69db123961 | |||
| 52cccdab08 | |||
| 9c29a20764 | |||
| 72322e81af | |||
| a0a63ba5ea | |||
| 3bfbf808a4 | |||
| c986df4c01 | |||
| 97c07ef7c5 | |||
| c8b9b978d7 | |||
| ad72d5e752 | |||
| 4fb24c698b | |||
| 630d0c5dd5 | |||
| 5b65707b6a | |||
| 4a0fbd177f | |||
| 55671ac1d3 | |||
| c53f920a4b | |||
| dd7ad98140 | |||
| 890df1f580 | |||
| 9ad2e22665 | |||
| db52ab9b36 | |||
| 82e56debb7 | |||
| 2606b0e856 | |||
| 3c69e8abb7 | |||
| 2f6868fee1 | |||
| d04c5be94b | |||
| efb002ea41 | |||
| f2a73aad58 | |||
| e2427a201a | |||
| 0bb1a55394 | |||
| 9cb9836178 | |||
| 8cb7543a6e | |||
| 3cfb37d786 | |||
| dfb051ba02 | |||
| beffb6434c | |||
| 2946c93ef9 | |||
| 914ed9530c | |||
| 1dafcdd6f8 | |||
| 9518c1f5ee | |||
| 976b98355e | |||
| b6aa8d77a0 | |||
| 091be0833f | |||
| b26d1a48cc | |||
| bcfaf838cb | |||
| 79e7db1856 | |||
| 45058905b5 | |||
| d05ec400fc | |||
| 31cd4e4ca6 | |||
| c10e79c766 | |||
| 326170beba | |||
| a6eeaeb533 | |||
| 754e51f94c | |||
| 57fea0c93e | |||
| 74c7e2502e | |||
| e67aaca5aa | |||
| f8efb59044 | |||
| fe514e0a18 | |||
| f118afd124 | |||
| 1095b2d62a | |||
| 6d8d3769d5 | |||
| 0a5667ce15 | |||
| b7999fc1e1 | |||
| e08f2ad417 | |||
| 11fc99c9ea | |||
| 8317d962e6 | |||
| a1b3ac538c | |||
| 6e2204f25d | |||
| c8f674ab03 | |||
| 285cb2d6a4 | |||
| 848e5624a6 |
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"repoOwner": "terrapkg",
|
||||
"repoName": "packages",
|
||||
"resetAuthor": true,
|
||||
"targetBranchChoices": ["f38", "f39", "f40", "frawhide"],
|
||||
"branchLabelMapping": {
|
||||
"^sync-(.+)$": "$1"
|
||||
}
|
||||
}
|
||||
@@ -6,13 +6,13 @@ on:
|
||||
paths:
|
||||
- anda/**
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
pull_request:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
merge_group:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
@@ -23,13 +23,13 @@ jobs:
|
||||
outputs:
|
||||
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Set workspace as safe
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Generate build matrix
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -48,19 +48,12 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v anda/terra/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
@@ -75,9 +68,10 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
bootstrap:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Install Anda
|
||||
run: cargo install anda
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.parse.outputs.pkgs) }}
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.arch }}-${{ matrix.pkg }}
|
||||
@@ -53,9 +53,10 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
@@ -68,7 +69,6 @@ jobs:
|
||||
terra${{ matrix.version }} anda-build/rpm/rpms/*
|
||||
|
||||
- name: Upload source packages to subatomic
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["39"]
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
@@ -42,9 +42,10 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
|
||||
@@ -3,20 +3,20 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
pull_request:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
merge_group:
|
||||
branches:
|
||||
- f39
|
||||
- frawhide
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Lint spec files
|
||||
run: rpmlint $(find anda -type f -name "*.spec" -type f)
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
name: Automatic backport/sync action
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: ["labeled", "closed"]
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
name: Backport/sync PR
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged
|
||||
steps:
|
||||
- name: Install SSH signing key
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
|
||||
- name: Setup Raboneko Signing
|
||||
run: |
|
||||
git config --global gpg.format "ssh"
|
||||
git config --global user.signingkey "${{ runner.temp }}/signing_key"
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
- name: Backport Action
|
||||
uses: sorenlouv/backport-github-action@v9.3.0
|
||||
with:
|
||||
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
|
||||
auto_backport_label_prefix: sync-
|
||||
|
||||
- name: Info log
|
||||
if: ${{ success() }}
|
||||
run: cat ~/.backport/backport.info.log
|
||||
|
||||
- name: Debug log
|
||||
if: ${{ failure() }}
|
||||
run: cat ~/.backport/backport.debug.log
|
||||
@@ -1,38 +0,0 @@
|
||||
name: Sync PR to other branches
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- f38
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: ["f37"]
|
||||
fail-fast: false
|
||||
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'nosync')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
ref: ${{ matrix.branch }}
|
||||
- name: Install SSH key and Setup Git
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
- name: Apply patches and Push
|
||||
run: |
|
||||
curl https://github.com/terrapkg/packages/pull/${{ github.event.pull_request.number }}.patch > pr.patch
|
||||
git am -S --keep-cr --signoff < pr.patch
|
||||
git push -u origin --all
|
||||
@@ -3,6 +3,7 @@ name: Push comps updates
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
- f38
|
||||
- f37
|
||||
@@ -14,9 +15,9 @@ jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Push to subatomic
|
||||
run: |
|
||||
branch=${{ github.ref_name }}
|
||||
|
||||
@@ -8,20 +8,21 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f38
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Nightly Update
|
||||
run: anda update -vv --filters nightly=1
|
||||
@@ -30,7 +31,6 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -38,13 +38,16 @@ jobs:
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
msg="bump(nightly): $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')"
|
||||
git commit -S -a -m "$msg"
|
||||
f37 () {
|
||||
copy_over () {
|
||||
git format-patch HEAD^
|
||||
git checkout f37
|
||||
git checkout $1
|
||||
git apply *.patch || true
|
||||
rm *.patch
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
f37 || true
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -8,20 +8,21 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Update
|
||||
run: anda update -vv
|
||||
@@ -31,7 +32,6 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -47,7 +47,8 @@ jobs:
|
||||
git add *
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f37 || true
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
# Repository
|
||||
/.github @lleyton
|
||||
/.devcontainer @lleyton
|
||||
/.gitignore @windowsboy111
|
||||
/CODE_OF_CONDUCT.md @lleyton
|
||||
/CONTRIBUTING.md @lleyton
|
||||
/LICENSE @lleyton
|
||||
/README.md @windowsboy111
|
||||
/SECURITY.md @lleyton
|
||||
/anda.hcl @lleyton
|
||||
/comps.xml @lleyton
|
||||
|
||||
# Package maintainers
|
||||
/anda/lib/libbismuth @lainsce
|
||||
/anda/lib/libhelium @lainsce
|
||||
/anda/others/tau-helium @lainsce
|
||||
/anda/others/tau-hydrogen @lainsce
|
||||
|
||||
/anda/tools/melody @lleyton
|
||||
/anda/go/curlie @lleyton
|
||||
|
||||
/anda/games/prismlauncher @getchoo
|
||||
/anda/games/prismlauncher-nightly @getchoo
|
||||
/anda/games/prismlauncher-qt5-nightly @getchoo
|
||||
/anda/games/prismlauncher-qt5 @getchoo
|
||||
|
||||
/anda/srpm-macros @korewaChino
|
||||
/anda/rust/starship @korewaChino
|
||||
/anda/rust/zellij @korewaChino
|
||||
/anda/audio/distrho @korewaChino
|
||||
+6
-4
@@ -1,7 +1,9 @@
|
||||
# Contributing
|
||||
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q). Since we use a GitHub Wiki for [documention](https://github.com/terrapkg/packages/wiki), our guidelines may be found there. See the links below:
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q).
|
||||
|
||||
* [Contribution Guide](https://github.com/terrapkg/packages/wiki/Contribute)
|
||||
* [FAQ](https://github.com/terrapkg/packages/wiki/FAQ)
|
||||
* [Policy](https://github.com/terrapkg/packages/wiki/Policy)
|
||||
## Documentations
|
||||
|
||||
* [Contribution Guide](https://developer.fyralabs.com/terra/contributing)
|
||||
* [FAQ](https://developer.fyralabs.com/terra/faq)
|
||||
* [Policy](https://developer.fyralabs.com/terra/policy)
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
[](https://repology.org/repository/terra_38)
|
||||
[](https://repology.org/repository/terra_39)
|
||||
[](https://repology.org/repository/terra_40)
|
||||
[](https://repology.org/repository/terra_rawhide)
|
||||
|
||||
Terra is a rolling-release Fedora repository for all the software you need.
|
||||
With Terra, you can install the latest packages knowing that quality and security are assured.
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
## Our Process
|
||||
|
||||
Fyra Labs is committed to ensuring user security and privacy.
|
||||
As such, we constantly try our best to ensure that our infrastructure and process are secure, which you may read about in our [FAQ](https://github.com/terrapkg/packages/wiki/FAQ#technical-details).
|
||||
As such, we constantly try our best to ensure that our infrastructure and process are secure, which you may read about in our [FAQ](https://developer.fyralabs.com/terra/faq#technical-details).
|
||||
|
||||
As a part of Fyra Labs's transparency measures, we will publicize details of any known breaches. This information will include, but will not be limited to:
|
||||
* Affected users, infrastructure, and data.
|
||||
@@ -11,7 +11,7 @@ As a part of Fyra Labs's transparency measures, we will publicize details of any
|
||||
* An in-depth explanation of how the breach occurred, including relevant security vulnerabilities.
|
||||
* How Fyra Labs will better protect user data in the future, ensuring our commitment to security and privacy.
|
||||
|
||||
We will publish these updates on our [Twitter](https://twitter.com/TeamFyraLabs) and [Discord](https://discord.gg/5fdPuxTg5Q).
|
||||
We will publish these updates on our [Twitter](https://twitter.com/TeamFyraLabs), [Fedi](https://fedi.fyralabs.com/@hq), and [Discord](https://discord.gg/5fdPuxTg5Q).
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-bin
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-qt5
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/armcord/.*\\.so
|
||||
|
||||
Name: armcord-bin
|
||||
Version: 3.2.5
|
||||
Version: 3.2.6
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: armcord
|
||||
Version: 3.2.5
|
||||
Version: 3.2.6
|
||||
Release: 1%{?dist}
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: authy
|
||||
Version: 2.4.2
|
||||
Version: 2.5.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Two factor authentication desktop application
|
||||
License: Unlicense
|
||||
URL: https://authy.com/
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_22.snap
|
||||
Source0: https://api.snapcraft.io/api/v1/snaps/download/H8ZpNgIoPyvmkgxOWw5MSzsXK1wRZiHn_23.snap
|
||||
Requires: gtk3
|
||||
Requires: nss
|
||||
BuildRequires: squashfs-tools desktop-file-utils
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.248
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.376
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.248
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.376
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
Source0: https://dl-canary.discordapp.net/apps/linux/%{version}/discord-canary-%{version}.tar.gz
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.40
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.52
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.64
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
URL: https://github.com/GooseMod/OpenAsar
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.64
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
Source0: https://dl-ptb.discordapp.net/apps/linux/%{version}/discord-ptb-%{version}.tar.gz
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.40
|
||||
Release: 1%{?dist}
|
||||
Version: 0.0.52
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "feishin.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.6.1
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/jeffvli/feishin
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Requires: fuse mpv
|
||||
BuildRequires: nodejs-npm jq libxcrypt-compat
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
cat package.json | jq '.author += { "email": "jeffvictorli@gmail.com" }' | jq '.build.linux += { "maintainer": "mado@fyralabs.com", "vendor": "Fyra Labs Terra" }' > a
|
||||
mv a package.json
|
||||
cat package.json
|
||||
|
||||
cat<<EOF > feishin.desktop
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Feishin
|
||||
Comment=Rewrite of Sonixd
|
||||
Exec=/usr/bin/feishin
|
||||
Icon=feishin
|
||||
Terminal=false
|
||||
Categories=Network;Audio;Music
|
||||
Keywords=Music;Jellyfin;Audio;Stream;Sonixd
|
||||
EOF
|
||||
|
||||
%build
|
||||
npm install --legacy-peer-deps
|
||||
npm run postinstall
|
||||
npm run build
|
||||
%ifarch x86_64
|
||||
|
||||
%define a linux
|
||||
%elifarch aarch64
|
||||
%define a arm64
|
||||
%endif
|
||||
|
||||
npx electron-builder --linux dir --%a
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_datadir/{pixmaps,applications} %buildroot%_bindir
|
||||
mv release/build/*-unpacked %buildroot%_datadir/feishin
|
||||
install -Dm644 assets/icons/icon.png %buildroot%_datadir/pixmaps/feishin.png
|
||||
ln -s %_datadir/feishin/feishin %buildroot%_bindir/feishin
|
||||
install -Dm644 feishin.desktop %buildroot%_datadir/applications/
|
||||
|
||||
%files
|
||||
%doc README.md CHANGELOG.md
|
||||
%license LICENSE
|
||||
%_bindir/feishin
|
||||
%_datadir/feishin/
|
||||
%_datadir/applications/feishin.desktop
|
||||
%_datadir/pixmaps/feishin.png
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("jeffvli/feishin"));
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "mpv-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,230 @@
|
||||
%global commit ec447fd4a266e8158519f5e89589c368211bfa14
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240502
|
||||
%global ver v0.38.0
|
||||
|
||||
Name: mpv-nightly
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Summary: Movie player playing most video formats and DVDs
|
||||
URL: https://mpv.io/
|
||||
Source0: https://github.com/mpv-player/mpv/archive/%commit/mpv-%commit.tar.gz
|
||||
Conflicts: mpv
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: meson
|
||||
BuildRequires: python3-docutils
|
||||
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(Math::BigInt)
|
||||
BuildRequires: perl(Math::BigRat)
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(caca)
|
||||
BuildRequires: pkgconfig(dvdnav)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(ffnvcodec)
|
||||
BuildRequires: pkgconfig(gbm)
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(jack)
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: pkgconfig(libarchive) >= 3.4.0
|
||||
BuildRequires: pkgconfig(libass)
|
||||
BuildRequires: pkgconfig(libavcodec) >= 59.27.100
|
||||
BuildRequires: pkgconfig(libavdevice) >= 58.13.100
|
||||
BuildRequires: pkgconfig(libavfilter) >= 7.110.100
|
||||
BuildRequires: pkgconfig(libavformat) >= 59.24.100
|
||||
BuildRequires: pkgconfig(libavutil) >= 57.24.100
|
||||
BuildRequires: pkgconfig(libbluray)
|
||||
BuildRequires: pkgconfig(libcdio)
|
||||
BuildRequires: pkgconfig(libcdio_paranoia)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.19
|
||||
BuildRequires: pkgconfig(libplacebo) >= 6.338.0
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libswresample) >= 3.9.100
|
||||
BuildRequires: pkgconfig(libswscale) >= 5.9.100
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRequires: pkgconfig(lua-5.1)
|
||||
BuildRequires: pkgconfig(mujs)
|
||||
BuildRequires: pkgconfig(openal)
|
||||
BuildRequires: pkgconfig(rubberband)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(shaderc)
|
||||
BuildRequires: pkgconfig(uchardet) >= 0.0.5
|
||||
BuildRequires: pkgconfig(vapoursynth)
|
||||
BuildRequires: pkgconfig(vdpau)
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(wayland-scanner)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xinerama)
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(xpresent)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(xscrnsaver)
|
||||
BuildRequires: pkgconfig(xv)
|
||||
BuildRequires: pkgconfig(zimg) >= 2.9
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
Provides: mplayer-backend
|
||||
Recommends: (yt-dlp or youtube-dl)
|
||||
Suggests: yt-dlp
|
||||
|
||||
%description
|
||||
Mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety
|
||||
of video file formats, audio and video codecs, and subtitle types. Special
|
||||
input URL types are available to read input from a variety of sources other
|
||||
than disk files. Depending on platform, a variety of different video and audio
|
||||
output methods are supported.
|
||||
|
||||
Mpv has an OpenGL, Vulkan, and D3D11 based video output that is capable of many
|
||||
features loved by videophiles, such as video scaling with popular high quality
|
||||
algorithms, color management, frame timing, interpolation, HDR, and more.
|
||||
|
||||
While mpv strives for minimalism and provides no real GUI, it has a small
|
||||
controller on top of the video for basic control.
|
||||
|
||||
Mpv can leverage most hardware decoding APIs on all platforms. Hardware
|
||||
decoding can be enabled at runtime on demand.
|
||||
|
||||
Powerful scripting capabilities can make the player do almost anything. There
|
||||
is a large selection of user scripts on the wiki.
|
||||
|
||||
A straightforward C API was designed from the ground up to make mpv usable as
|
||||
a library and facilitate easy integration into other applications.
|
||||
|
||||
%package libs
|
||||
Summary: Dynamic library for Mpv frontends
|
||||
|
||||
%description libs
|
||||
This package contains the dynamic library libmpv, which provides access to Mpv.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for libmpv
|
||||
Provides: mpv-libs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: mpv-nightly-libs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Obsoletes: mpv-libs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Obsoletes: mpv-nightly-libs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: mpv-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: mpv-nightly-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development header files and libraries for Mpv.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n mpv-%commit
|
||||
sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf
|
||||
|
||||
%build
|
||||
%meson --auto-features=auto \
|
||||
-Dalsa=enabled \
|
||||
-Dbuild-date=false \
|
||||
-Dcaca=enabled \
|
||||
-Dcdda=enabled \
|
||||
-Dcplayer=true \
|
||||
-Dcplugins=enabled \
|
||||
-Dcuda-hwaccel=enabled \
|
||||
-Dcuda-interop=enabled \
|
||||
-Ddmabuf-wayland=enabled \
|
||||
-Ddrm=enabled \
|
||||
-Ddvbin=enabled \
|
||||
-Ddvdnav=enabled \
|
||||
-Degl-drm=enabled \
|
||||
-Degl-wayland=enabled \
|
||||
-Degl-x11=enabled \
|
||||
-Degl=enabled \
|
||||
-Dgbm=enabled \
|
||||
-Dgl-x11=enabled \
|
||||
-Dgl=enabled \
|
||||
-Dhtml-build=enabled \
|
||||
-Diconv=enabled \
|
||||
-Djack=enabled \
|
||||
-Djavascript=enabled \
|
||||
-Djpeg=enabled \
|
||||
-Dlcms2=enabled \
|
||||
-Dlibarchive=enabled \
|
||||
-Dlibavdevice=enabled \
|
||||
-Dlibbluray=enabled \
|
||||
-Dlibmpv=true \
|
||||
-Dlua=enabled \
|
||||
-Dmanpage-build=enabled \
|
||||
-Dopenal=enabled \
|
||||
-Dopensles=disabled \
|
||||
-Doss-audio=disabled \
|
||||
-Dpipewire=enabled \
|
||||
-Dplain-gl=enabled \
|
||||
-Dpulse=enabled \
|
||||
-Drubberband=enabled \
|
||||
-Dsdl2-audio=enabled \
|
||||
-Dsdl2-gamepad=enabled \
|
||||
-Dsdl2-video=enabled \
|
||||
-Dsdl2=enabled \
|
||||
-Dsndio=disabled \
|
||||
-Dspirv-cross=disabled \
|
||||
-Duchardet=enabled \
|
||||
-Dvaapi-drm=enabled \
|
||||
-Dvaapi-wayland=enabled \
|
||||
-Dvaapi-x11=enabled \
|
||||
-Dvaapi=enabled \
|
||||
-Dvapoursynth=enabled \
|
||||
-Dvdpau-gl-x11=enabled \
|
||||
-Dvdpau=enabled \
|
||||
-Dvector=enabled \
|
||||
-Dvulkan-interop=disabled \
|
||||
-Dvulkan=enabled \
|
||||
-Dwayland=enabled \
|
||||
-Dwerror=false \
|
||||
-Dx11=enabled \
|
||||
-Dxv=enabled \
|
||||
-Dzimg=enabled \
|
||||
-Dzlib=enabled
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/mpv.metainfo.xml
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/mpv.desktop
|
||||
|
||||
%files
|
||||
%docdir %{_docdir}/mpv/
|
||||
%license LICENSE.GPL LICENSE.LGPL Copyright
|
||||
%{_docdir}/mpv/
|
||||
%{_bindir}/mpv
|
||||
%{_datadir}/applications/mpv.desktop
|
||||
%dir %{_datadir}/bash-completion/
|
||||
%dir %{_datadir}/bash-completion/completions/
|
||||
%{_datadir}/bash-completion/completions/mpv
|
||||
%{_datadir}/icons/hicolor/*/apps/mpv*.*
|
||||
%dir %{_datadir}/zsh/
|
||||
%dir %{_datadir}/zsh/site-functions/
|
||||
%{_datadir}/zsh/site-functions/_mpv
|
||||
%{_mandir}/man1/mpv.*
|
||||
%{_metainfodir}/mpv.metainfo.xml
|
||||
%dir %{_sysconfdir}/mpv/
|
||||
%config(noreplace) %{_sysconfdir}/mpv/encoding-profiles.conf
|
||||
|
||||
%files libs
|
||||
%license LICENSE.GPL LICENSE.LGPL Copyright
|
||||
%{_libdir}/libmpv.so.2{,.*}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/mpv/
|
||||
%{_libdir}/libmpv.so
|
||||
%{_libdir}/pkgconfig/mpv.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("mpv-player/mpv"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("mpv-player/mpv"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
@@ -13,8 +13,8 @@
|
||||
%global crate sccache
|
||||
|
||||
Name: rust-sccache
|
||||
Version: 0.7.4
|
||||
Release: 1%{?dist}
|
||||
Version: 0.8.0
|
||||
Release: 1%?dist
|
||||
Summary: Ccache-like tool
|
||||
|
||||
License: Apache-2.0
|
||||
@@ -34,16 +34,15 @@ BuildRequires: rust-packaging
|
||||
|
||||
%global _description %{expand:
|
||||
Sccache is a ccache-like tool. It is used as a compiler wrapper and
|
||||
avoids compilation when possible, storing a cache in a remote storage
|
||||
using various cloud storage.}
|
||||
avoids compilation when possible. Sccache has the capability to utilize
|
||||
caching in remote storage environments, including various cloud storage
|
||||
options, or alternatively, in local storage.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
# FIXME: paste output of %%cargo_license_summary here
|
||||
License: # FIXME
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
License: MIT
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
@@ -69,9 +68,6 @@ This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/LICENSE
|
||||
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
|
||||
%doc %{crate_instdir}/README.md
|
||||
%{crate_instdir}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
@@ -474,6 +470,7 @@ use the "syslog" feature of the "%{crate}" crate.
|
||||
%files -n %{name}+syslog-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%{dnl ## BEGIN: multiline comment
|
||||
%package -n %{name}+trust-dns-resolver-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
@@ -488,6 +485,7 @@ use the "trust-dns-resolver" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+trust-dns-resolver-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
} ## END OF multiline comment
|
||||
|
||||
%package -n %{name}+unstable-devel
|
||||
Summary: %{summary}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- sccache-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ sccache-0.7.4/Cargo.toml 2023-12-18T06:08:52.420382+00:00
|
||||
@@ -384,11 +384,3 @@
|
||||
--- sccache-0.7.6/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ sccache-0.7.6/Cargo.toml 2024-02-02T06:05:53.548100+00:00
|
||||
@@ -378,11 +378,3 @@
|
||||
[target."cfg(unix)".dependencies.daemonize]
|
||||
version = "0.5"
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(crates("sccache"));
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 0.4.4
|
||||
Release: 1%{?dist}
|
||||
Version: 1.5.2
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
Summary: Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
|
||||
URL: https://github.com/Vencord/Vesktop
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global nodev 16.17.0
|
||||
%global npmv 8.11.0
|
||||
%global ver 0.14.10
|
||||
%global nodev 20.12.2
|
||||
%global npmv 10.5.0
|
||||
%global ver 0.19.1
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: budgie-extras
|
||||
Version: 1.7.1
|
||||
Version: 1.8.0
|
||||
Release: 1%{?dist}
|
||||
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu4
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu12
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Name: elementary-appcenter
|
||||
Summary: Software Center from elementary
|
||||
Version: 7.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
Provides: appcenter = %{version}-%{release}
|
||||
@@ -12,6 +12,8 @@ Obsoletes: appcenter < 7.2.1-2
|
||||
URL: https://github.com/elementary/appcenter
|
||||
Source0: %url/archive/%{version}/appcenter-%{version}.tar.gz
|
||||
|
||||
Patch0: pr2099.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
@@ -0,0 +1,311 @@
|
||||
commit fce55d9373bfb82953191b32e276a2129ffcb8c1
|
||||
Author: Marius Meisenzahl <meisenzahl@users.noreply.github.com>
|
||||
Date: Wed Feb 7 00:14:43 2024 +0100
|
||||
|
||||
Add support for AppStream 1.0 (#2099)
|
||||
|
||||
diff --git a/src/Core/FlatpakBackend.vala b/src/Core/FlatpakBackend.vala
|
||||
index 98931505..10f2baab 100644
|
||||
--- a/src/Core/FlatpakBackend.vala
|
||||
+++ b/src/Core/FlatpakBackend.vala
|
||||
@@ -400,8 +400,13 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+ AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components (), category_array, false);
|
||||
AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components (), category_array, false);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -417,13 +422,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = user_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -435,13 +448,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
comps = system_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -510,7 +531,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
continue;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
package_ids.add (package.component.id);
|
||||
|
||||
AppCenterCore.Package? user_package = null;
|
||||
@@ -1095,7 +1120,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ user_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
user_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -1133,7 +1162,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ system_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
system_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
diff --git a/src/Core/Package.vala b/src/Core/Package.vala
|
||||
index 0f9a90c4..ed141292 100644
|
||||
--- a/src/Core/Package.vala
|
||||
+++ b/src/Core/Package.vala
|
||||
@@ -306,7 +306,11 @@ public class AppCenterCore.Package : Object {
|
||||
return _author;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ _author = component.get_developer ().get_name ();
|
||||
+#else
|
||||
_author = component.developer_name;
|
||||
+#endif
|
||||
|
||||
if (_author == null) {
|
||||
var project_group = component.project_group;
|
||||
@@ -677,7 +681,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ description = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
description = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
} catch (Error e) {
|
||||
warning ("Failed to convert description to markup: %s", e.message);
|
||||
}
|
||||
@@ -919,7 +927,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
public AppStream.Release? get_newest_release () {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = component.get_releases ();
|
||||
+#endif
|
||||
releases.sort_with_data ((a, b) => {
|
||||
if (a.get_version () == null || b.get_version () == null) {
|
||||
if (a.get_version () != null) {
|
||||
diff --git a/src/Core/PackageKitBackend.vala b/src/Core/PackageKitBackend.vala
|
||||
index 09da4074..a108831e 100644
|
||||
--- a/src/Core/PackageKitBackend.vala
|
||||
+++ b/src/Core/PackageKitBackend.vala
|
||||
@@ -275,7 +275,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
} finally {
|
||||
var new_package_list = new Gee.HashMap<string, Package> ();
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -317,7 +321,12 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
component.set_id (id);
|
||||
component.set_origin (Package.APPCENTER_PACKAGE_ORIGIN);
|
||||
|
||||
-#if HAS_APPSTREAM_0_15
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var components = new AppStream.ComponentBox (AppStream.ComponentBoxFlags.NONE);
|
||||
+ components.add (component);
|
||||
+
|
||||
+ appstream_pool.add_components (components);
|
||||
+#elif HAS_APPSTREAM_0_15
|
||||
var components = new GenericArray<AppStream.Component> ();
|
||||
components.add (component);
|
||||
|
||||
@@ -430,7 +439,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
break;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
packages.add (package);
|
||||
}
|
||||
}
|
||||
@@ -447,7 +460,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (appstream_pool.get_components ().as_array (), category_array, true);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (appstream_pool.get_components (), category_array, true);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -465,7 +482,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null) {
|
||||
apps.add (package);
|
||||
@@ -473,7 +494,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null && package in cat_packages) {
|
||||
apps.add (package);
|
||||
diff --git a/src/Views/AppInfoView.vala b/src/Views/AppInfoView.vala
|
||||
index 5a3a361a..bef37f0e 100644
|
||||
--- a/src/Views/AppInfoView.vala
|
||||
+++ b/src/Views/AppInfoView.vala
|
||||
@@ -310,8 +310,16 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
oars_flowbox.add (uncurated);
|
||||
}
|
||||
#endif
|
||||
+
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var active_locale = "en-US";
|
||||
+ if (package_component.get_context () != null) {
|
||||
+ active_locale = package_component.get_context ().get_locale () ?? "en-US";
|
||||
+ }
|
||||
+#else
|
||||
var active_locale = package_component.get_active_locale ();
|
||||
- if (active_locale != "en_US") {
|
||||
+#endif
|
||||
+ if (active_locale != "en_US" && active_locale != "en-US") {
|
||||
var percent_translated = package_component.get_language (
|
||||
// Expects language without locale
|
||||
active_locale.split ("_")[0]
|
||||
@@ -492,7 +500,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
}
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ screenshots = package_component.get_screenshots_all ();
|
||||
+#else
|
||||
screenshots = package_component.get_screenshots ();
|
||||
+#endif
|
||||
|
||||
if (screenshots.length > 0) {
|
||||
screenshot_carousel = new Hdy.Carousel () {
|
||||
@@ -1030,7 +1042,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
get_app_download_size.begin ();
|
||||
|
||||
Idle.add (() => {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = package.component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = package.component.get_releases ();
|
||||
+#endif
|
||||
|
||||
foreach (unowned var release in releases) {
|
||||
if (release.get_version () == null) {
|
||||
@@ -1049,7 +1065,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
|
||||
release_carousel.add (release_row);
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.installed && AppStream.vercmp_simple (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#else
|
||||
if (package.installed && AppStream.utils_compare_versions (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
diff --git a/src/Widgets/ReleaseRow.vala b/src/Widgets/ReleaseRow.vala
|
||||
index 3b487914..36fcbc76 100644
|
||||
--- a/src/Widgets/ReleaseRow.vala
|
||||
+++ b/src/Widgets/ReleaseRow.vala
|
||||
@@ -116,7 +116,11 @@ public class AppCenter.Widgets.ReleaseRow : Gtk.Box {
|
||||
private string format_release_description (string? description ) {
|
||||
if (description != null) {
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var markup = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
var markup = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
|
||||
if (markup.strip () != "") {
|
||||
return markup;
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index d3d558ef..df69a0bf 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -78,6 +78,10 @@ if appstream.version().version_compare('>=0.16')
|
||||
args += '--define=HAS_APPSTREAM_0_16'
|
||||
endif
|
||||
|
||||
+if appstream.version().version_compare('>=1.0')
|
||||
+ args += '--define=HAS_APPSTREAM_1_0'
|
||||
+endif
|
||||
+
|
||||
if get_option('packagekit_backend')
|
||||
appcenter_files += files(
|
||||
'Core/PackageKitBackend.vala',
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: elementary-code
|
||||
Summary: Code editor from elementary
|
||||
Version: 7.1.0
|
||||
Version: 7.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ URL: https://github.com/elementary/greeter
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: 40-%{appname}.conf
|
||||
|
||||
Patch0: https://github.com/elementary/greeter/commit/dbd9b6f9701f5992c3b3257c025b9cd80d041cc8.patch
|
||||
Patch0: https://github.com/elementary/greeter/compare/7.0.0..42320c266395606b0c20782603e7407124c3f7a4.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -36,9 +36,9 @@ BuildRequires: pkgconfig(granite) >= 5.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(liblightdm-gobject-1)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
Provides: pantheon-greeter = %{version}-%{release}
|
||||
|
||||
@@ -3,14 +3,16 @@
|
||||
Name: gala
|
||||
Summary: Gala window manager
|
||||
Version: 7.1.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
URL: https://github.com/elementary/gala
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# patch some default settings to better match Fedora
|
||||
Patch0: 0000-Modify-default-settings-for-Fedora.patch
|
||||
Patch: https://github.com/elementary/gala/compare/7.1.3..43d1e6a01b56a84a4e752e1970a35c19402941eb.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -31,11 +33,13 @@ BuildRequires: pkgconfig(granite) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libbamf3)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
# gala provides a generic icon (apps/multitasking-view)
|
||||
Requires: hicolor-icon-theme
|
||||
@@ -61,7 +65,7 @@ This package contains the shared libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Gala window manager development files
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Gala is Pantheon's Window Manager, part of the elementary project.
|
||||
@@ -85,8 +89,8 @@ This package contains the development headers.
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
%dnl desktop-file-validate \
|
||||
%dnl %{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/gala*.desktop
|
||||
@@ -98,7 +102,7 @@ desktop-file-validate \
|
||||
%files -f gala.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
%dnl %config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
%{_bindir}/gala
|
||||
%{_bindir}/gala-daemon
|
||||
|
||||
@@ -9,12 +9,14 @@
|
||||
Name: switchboard-plug-about
|
||||
Summary: Switchboard System Information plug
|
||||
Version: 6.2.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-about
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/elementary/switchboard-plug-about/compare/6.2.0..72d7da13da2824812908276751fd3024db2dd0f8.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
|
||||
@@ -15,8 +15,6 @@ License: GPL-3.0-or-later
|
||||
URL: https://github.com/elementary/switchboard-plug-network
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/elementary/switchboard-plug-network/pull/357.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "switchboard-plug-wallet.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
|
||||
|
||||
%global srcname switchboard-plug-wallet
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name wallet
|
||||
%global plug_rdnn io.elementary.switchboard.wallet
|
||||
|
||||
%global commit 50582fc7ee43a4b47647d04786dcf1d0eb45af36
|
||||
|
||||
Name: switchboard-plug-wallet
|
||||
Summary: Switchboard Wallet Plug
|
||||
Version: %(c=%commit; echo ${c:0:7})
|
||||
Release: 2%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
Source0: %url/archive/%version/%srcname-%version.tar.gz
|
||||
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(granite) >= 0.5
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
|
||||
%description
|
||||
Manage Payment Methods and related settings.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %srcname-%commit -p1
|
||||
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/icons/hicolor
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%_libdir/switchboard/%plug_type/lib%plug_rdnn.so
|
||||
%_datadir/icons/hicolor/*/apps/%plug_rdnn.svg
|
||||
%_datadir/locale/*/LC_MESSAGES/%plug_rdnn.mo
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 13 2023 windowsboy111 <windowsboy111@fyralabs.com> - bfe73dfb95d9b46a0a34e0db35a178233c8552b0-1
|
||||
- Initial package.
|
||||
@@ -1,3 +0,0 @@
|
||||
let req = new_req("https://api.github.com/repos/elementary/switchboard-plug-wallet/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
rpm.global("commit", json(req.get()).sha);
|
||||
@@ -9,9 +9,11 @@ Summary: Stylish top panel
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
URL: https://github.com/elementary/wingpanel
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: https://github.com/elementary/wingpanel/compare/23a3eb7c2448b4f35398116df7d01b075361ef1f..5d22d436b45decfb2a50d9a7c27f2c961f1dd39f.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -27,11 +29,11 @@ BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
# wingpanel ayatana appindicator support was abandoned by upstream
|
||||
# wingpanel-indicator-ayatana-2.0.3-10.fc32 retired for fedora 33+
|
||||
@@ -42,6 +44,8 @@ Obsoletes: wingpanel-indicator-ayatana < 2.0.3-11
|
||||
|
||||
%package libs
|
||||
Summary: Stylish top panel (shared library)
|
||||
Enhances: %{name} = %{epoch}:%{version}-%{release}
|
||||
Enhances: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description libs %{common_description}
|
||||
|
||||
@@ -50,7 +54,7 @@ This package contains the shared library.
|
||||
|
||||
%package devel
|
||||
Summary: Stylish top panel (development files)
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel %{common_description}
|
||||
|
||||
|
||||
+3
-2
@@ -1,12 +1,13 @@
|
||||
# from Fedora upstream
|
||||
%global extension pop-shell
|
||||
%global uuid %{extension}@system76.com
|
||||
%global commit cf3c932b55d5c247906efe9d81f988ee092d9f51
|
||||
%global commit cfa0c55e84b7ce339e5ce83832f76fee17e99d51
|
||||
%global shortcommit %{lua:print(macros.commit:sub(1,7))}
|
||||
%global commit_date 20240404
|
||||
%global ver 1.2.0
|
||||
|
||||
Name: terra-gnome-shell-extension-%{extension}
|
||||
Version: %{ver}^%{shortcommit}
|
||||
Version: %{ver}^%commit_date.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
Summary: GNOME Shell extension for advanced tiling window management
|
||||
License: GPL-3.0-only
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", get("https://api.github.com/repos/pop-os/shell/commits/HEAD").json().sha);
|
||||
rpm.global("ver", gh("pop-os/shell"));
|
||||
rpm.global("commit", gh_commit("pop-os/shell"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("pop-os/shell"));
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
# https://github.com/FyshOS/fynedesk
|
||||
%global goipath github.com/FyshOS/fynedesk
|
||||
Version: 0.3.0
|
||||
Version: 0.4.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -17,7 +17,7 @@ A full desktop environment for Linux/Unix using Fyne.}
|
||||
%global godocs AUTHORS README.md CHANGELOG.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: A full desktop environment for Linux/Unix using Fyne
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit ca6af594204460bd90309141c6e95494f65c46bd
|
||||
%global commit 23b9e9ea3694235e19868846bab5292b2518fd34
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
@@ -9,7 +9,7 @@ Name: latte-dock-nightly
|
||||
Version: 0.10.0^%{snapshot_info}
|
||||
|
||||
%forgemeta
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Latte is a dock based on plasma frameworks
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit 1a7a0ef6a8ab966b664f3515aba539b422f35849
|
||||
%global commit 99fa99c6e8af868f64dbfdb973eebeb2ca3ad14a
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
Version: 0.1.8
|
||||
Version: 0.1.9
|
||||
Release: 1%{?dist}
|
||||
Summary: Provides the Lomiri App Launch user space daemon
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-download-manager
|
||||
%global commit 2c7d6921ac56862c197958f4e5c31aa76a1a50e1
|
||||
%global commit 6e4342ae0ef3710343e2dbf0b8da586853625e2e
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-download-manager
|
||||
Version: 0.1.2
|
||||
Release: %autorelease
|
||||
Version: 0.5.2
|
||||
Release: 1%?dist
|
||||
Summary: Upload Download Manager for Lomiri
|
||||
License: LGPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-download-manager
|
||||
@@ -23,6 +23,7 @@ BuildRequires: qt5-qtdeclarative-devel
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libglog)
|
||||
BuildRequires: pkgconfig(liblomiri-api)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: fdupes
|
||||
|
||||
%description
|
||||
@@ -60,7 +61,7 @@ sed -e "s/-Werror//g" -i CMakeLists.txt
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%config %{_sysconfdir}/dbus-1/system.d/*.conf
|
||||
%config /usr/etc/dbus-1/system.d/*.conf
|
||||
%{_bindir}/lomiri-*
|
||||
%{_userunitdir}/*.service
|
||||
%{_libdir}/liblomiri-download-manager-client.so.*
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25034025/repository/tags").json_arr()[0];
|
||||
let f = rpm.f;
|
||||
rpm.version(o.name);
|
||||
// check if changed
|
||||
if rpm.f != f {
|
||||
rpm.global("commit", o.commit.id);
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-indicator-network
|
||||
%global commit 7d0fd44108cfb74da3fcb26e7de07f7610302f5c
|
||||
%global commit a4522caf548d7e7f63f98f9e5c98314ee8d4c8fb
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-indicator-network
|
||||
Version: 1.0.1
|
||||
Release: %autorelease
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: The Network indicator for Ubuntu Touch
|
||||
License: GPL-3.0 AND LGPL-3.0
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-indicator-network
|
||||
@@ -30,6 +30,7 @@ BuildRequires: pkgconfig(libgmenuharness)
|
||||
BuildRequires: pkgconfig(ofono)
|
||||
BuildRequires: pkgconfig(qofono-qt5)
|
||||
BuildRequires: pkgconfig(lomiri-url-dispatcher)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
Requires: gmenuharness
|
||||
|
||||
%description
|
||||
@@ -64,7 +65,7 @@ The %{name}-doc package contains documentation files for %{name}.
|
||||
%files -f %{name}.lang
|
||||
%doc README.md
|
||||
%license COPYING COPYING.LGPL
|
||||
%config %{_sysconfdir}/xdg/autostart/lomiri-indicator-network.desktop
|
||||
%config /usr/etc/xdg/autostart/lomiri-indicator-network.desktop
|
||||
%{_userunitdir}/*.service
|
||||
%{_libdir}/liblomiri-connectivity-qt1.so.*
|
||||
%dir %{_qt5_qmldir}/Lomiri/Connectivity
|
||||
@@ -91,10 +92,7 @@ The %{name}-doc package contains documentation files for %{name}.
|
||||
%{_libdir}/pkgconfig/lomiri-connectivity-qt1.pc
|
||||
|
||||
%files doc
|
||||
%dir %{_docdir}/lomiri-connectivity-doc
|
||||
%{_docdir}/lomiri-connectivity-doc/cpp/
|
||||
%{_docdir}/lomiri-connectivity-doc/dbus/
|
||||
%{_docdir}/lomiri-connectivity-doc/qml/
|
||||
%{_docdir}/lomiri-indicator-network
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-schemas
|
||||
%global commit fed68d63df86c0b39654b66c31e02be25018f5f1
|
||||
%global commit 6acdde9e890685bd5a5d6fbd4446d9e8b3e6c698
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-schemas
|
||||
Version: 0.1.3
|
||||
Release: %autorelease
|
||||
Version: 0.1.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Configuration schemas for lomiri
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-schemas
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-settings-components
|
||||
%global commit a2ce1155d385218a4b493f801867a45d2a41df02
|
||||
%global commit 2bd84b9a59563dce7a791e0c882e2533ecdd4812
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-settings-components
|
||||
Version: 1.1.0
|
||||
Release: %autorelease
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
Summary: The system settings components for Lomiri
|
||||
License: GPLv3 AND LGPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-settings-components
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 2abbbdaedf243fc1629628b6c1ba764db4253840
|
||||
%global commit 10d7151a3e4ea08b92e85be7e6e631c48219feaf
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Version: 1.1.0
|
||||
Release: 1%?dist
|
||||
Summary: The system settings application for Lomiri
|
||||
License: GPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit d09e76d2b3040b6d23fc42c6114db81332298c8e
|
||||
%global commit 28178b0be8fc2c66934da155dee1c6238ecc98c0
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
Version: 1.3.5011
|
||||
Version: 1.3.5012
|
||||
Release: 1%{?dist}
|
||||
Summary: QML components to ease the creation of beautiful applications in QML for Lomiri
|
||||
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
rpm.version(get("https://gitlab.com/api/v4/projects/19057685/repository/tags").json_arr()[0].name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/19057685/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("19057685"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", gitlab_commit("19057685"));
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
rpm.version(get("https://gitlab.com/api/v4/projects/17424894/repository/tags").json_arr()[0].name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/17424894/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("17424894"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/17424894/repository/commits").json_arr()[0].id);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit ec65759f56e7eba4f084ecf031bde5d64da1cf35
|
||||
%global commit a083a14fe65105fc1996ceb1b92165ca3b0cb94e
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
Version: 0.1.4
|
||||
Version: 0.2.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A convergent desktop environment by Ubports
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25716028/repository/tags").json_arr()[0];
|
||||
rpm.version(o.name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25716028/repository/commits").json_arr()[0].id);
|
||||
rpm.version(gitlab_tag("25716028"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25716028/repository/commits").json_arr()[0].id);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global rn 1
|
||||
%global rn 4
|
||||
|
||||
Name: unity-greeter
|
||||
Version: 23.10.1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%define _ubuntu_rel 1ubuntu1
|
||||
%define _ubuntu_rel 1ubuntu4
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
Version: 45.0
|
||||
Release: 1%{?dist}
|
||||
Version: 46.0
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://packages.ubuntu.com/jammy/unity-session
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: unity-settings-daemon
|
||||
Version: 15.04.1+21.10.20220802
|
||||
Release: %autorelease
|
||||
Release: 2%?dist
|
||||
Summary: Daemon handling for Unity session settings
|
||||
|
||||
License: GPL-2.0 AND LGPL-2.0-or-later
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu2.tar.xz
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu7.tar.xz
|
||||
|
||||
Name: unity-shell
|
||||
Version: 7.7.0
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: ayatana-indicator-datetime
|
||||
Summary: A GTK implementation of the StatusNotifierItem Specification
|
||||
Version: 23.10.0
|
||||
Version: 24.2.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-datetime
|
||||
@@ -38,7 +38,7 @@ Unity7 desktop and Lomiri desktop.
|
||||
|
||||
%build
|
||||
%cmake -DENABLE_LOMIRI_FEATURES=ON \
|
||||
-DENABLE_TESTS=ON \
|
||||
-DENABLE_TESTS=OFF\
|
||||
-DENABLE_COVERAGE=OFF \
|
||||
%cmake_build
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-notifications
|
||||
Summary: Ayatana Indicator Notifications Applet
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
Version: 23.10.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-notifications
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-session
|
||||
Summary: Ayatana Indicator Session Applet
|
||||
Version: 23.10.3
|
||||
Release: 1%{?dist}
|
||||
Version: 24.2.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-session
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-sound
|
||||
Summary: Ayatana Indicator Sound Applet
|
||||
Version: 23.10.3
|
||||
Release: 1%{?dist}
|
||||
Version: 24.4.0
|
||||
Release: 1%?dist
|
||||
License: GPLv3
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: terra-blueprint-compiler
|
||||
Version: 0.10.0
|
||||
Release: 1%{?dist}
|
||||
Version: 0.12.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
Summary: Markup language for GTK user interfaces
|
||||
URL: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.85.1.23348
|
||||
Release: 1%{?dist}
|
||||
Version: 1.88.1.24104
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
URL: https://vscodium.com/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: flutter
|
||||
Version: 3.16.7
|
||||
Release: 1%{?dist}
|
||||
Version: 3.19.6
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
URL: https://flutter.dev
|
||||
|
||||
@@ -1,2 +1,7 @@
|
||||
let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json();
|
||||
rpm.version(obj.releases[0].version);
|
||||
for release in obj.releases {
|
||||
if release.channel == "stable" {
|
||||
rpm.version(release.version);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: neovide
|
||||
Version: 0.12.1
|
||||
Version: 0.12.2
|
||||
Release: 1%{?dist}
|
||||
Summary: No Nonsense Neovim Client in Rust
|
||||
License: MIT
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "terra-rgbds.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
Name: terra-rgbds
|
||||
Version: 0.7.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A development package for the Game Boy, including an assembler
|
||||
|
||||
# See LICENSE for details
|
||||
License: DWPL and ISC and MIT and BSD
|
||||
URL: https://github.com/gbdev/rgbds
|
||||
Source0: %{url}/archive/v%{version}/rgbds-%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: g++
|
||||
BuildRequires: byacc
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: git-core
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
|
||||
%description
|
||||
RGBDS (Rednex Game Boy Development System) is a free assembler/linker package
|
||||
for the Game Boy and Game Boy Color.
|
||||
|
||||
It consists of:
|
||||
|
||||
* rgbasm (assembler)
|
||||
* rgblink (linker)
|
||||
* rgbfix (checksum/header fixer)
|
||||
* rgbgfx (PNG‐to‐2bpp graphics converter)
|
||||
|
||||
%prep
|
||||
%autosetup -S git -n rgbds-%version
|
||||
|
||||
%build
|
||||
%make_build Q="" CFLAGS="%{optflags}" VERSION_STRING=""
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} STRIP="-p" MANMODE="644 -p" Q=""
|
||||
|
||||
%files
|
||||
%{_bindir}/rgbasm
|
||||
%{_bindir}/rgblink
|
||||
%{_bindir}/rgbfix
|
||||
%{_bindir}/rgbgfx
|
||||
%{_mandir}/man1/rgbasm.1.*
|
||||
%{_mandir}/man1/rgblink.1.*
|
||||
%{_mandir}/man1/rgbfix.1.*
|
||||
%{_mandir}/man1/rgbgfx.1.*
|
||||
%{_mandir}/man5/rgbds.5.*
|
||||
%{_mandir}/man5/rgbasm.5.*
|
||||
%{_mandir}/man5/rgblink.5.*
|
||||
%{_mandir}/man7/rgbds.7.*
|
||||
%{_mandir}/man7/gbz80.7.*
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("gbdev/rgbds"));
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
# https://github.com/containerd/containerd
|
||||
%global goipath github.com/containerd/containerd
|
||||
Version: 1.6.27
|
||||
Version: 1.7.16
|
||||
|
||||
%gometa
|
||||
|
||||
@@ -26,7 +26,7 @@ low-level storage and network attachments, etc.}
|
||||
BUILDING.md README.md RELEASES.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Open and reliable container runtime
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: moby-buildx
|
||||
Version: 0.12.1
|
||||
Release: 1%{?dist}
|
||||
Version: 0.14.0
|
||||
Release: 1%?dist
|
||||
Summary: Docker CLI plugin for extended build capabilities with BuildKit
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: moby-compose
|
||||
Version: 2.24.0
|
||||
Release: 1%{?dist}
|
||||
Version: 2.27.0
|
||||
Release: 1%?dist
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
%global source_name Iosevka
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: iosevka-fusion-fonts
|
||||
Version: 28.0.5
|
||||
Release: 1%{?dist}
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
License: OFL-1.1
|
||||
URL: https://github.com/be5invis/Iosevka
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
Source1: iosevka-fusion.toml
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: clang
|
||||
BuildRequires: nodejs-npm
|
||||
BuildRequires: ttfautohint
|
||||
|
||||
%description
|
||||
Based on Iosevka font, https://github.com/be5invis/Iosevka,
|
||||
this font mixes elements from various fonts tailored to my personal taste.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{source_name}-%{version}
|
||||
%__cp %SOURCE1 %{_builddir}/%{source_name}-%{version}/private-build-plans.toml
|
||||
|
||||
%build
|
||||
npm install
|
||||
npm run build -- ttf::iosevka-fusion
|
||||
|
||||
%install
|
||||
%__mkdir -p %{buildroot}%{_datadir}/fonts/%{name}
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Bold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-BoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-book.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Book.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bookitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-BookItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extrabold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraBold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extrabolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraBoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extralight.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraLight.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extralightitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraLightItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-heavy.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Heavy.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-heavyitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-HeavyItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-italic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Italic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-light.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Light.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-lightitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-LightItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-medium.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Medium.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-mediumitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-MediumItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-regular.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Regular.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-semibold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-SemiBold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-semibolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-SemiBoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-thin.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Thin.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-thinitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ThinItalic.ttf
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md
|
||||
%{_datadir}/fonts/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 28 2022 windowsboy111 <windowsboy111@fyralabs.com> - 16.8.4
|
||||
- Initial package
|
||||
@@ -1,190 +0,0 @@
|
||||
[buildPlans.iosevka-fusion]
|
||||
family = "Iosevka Fusion"
|
||||
spacing = "fixed"
|
||||
serifs = "sans"
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.design]
|
||||
cv01 = 1 # A cap straight
|
||||
cv02 = 1 # B cap straight
|
||||
cv03 = 1 # C cap serifless
|
||||
cv04 = 1 # D cap serifless
|
||||
cv05 = 1 # E cap serifless
|
||||
cv06 = 1 # F cap serifless
|
||||
cv07 = 6 # G cap toothless rounded serifless hooked
|
||||
cv08 = 1 # H cap serifless
|
||||
cv09 = 1 # I cap long serifs
|
||||
cv10 = 2 # J cap serified
|
||||
cv11 = 2 # K cap curly
|
||||
cv12 = 1 # L cap serifless
|
||||
cv13 = 1 # M cap short middle leg
|
||||
cv14 = 1 # N cap symmetric
|
||||
cv15 = 1 # P cap straight
|
||||
cv16 = 4 # Q cap crossing tail
|
||||
cv17 = 1 # R cap straight
|
||||
cv18 = 1 # S cap serifless
|
||||
cv19 = 1 # T cap serifless
|
||||
cv20 = 3 # U cap serifless
|
||||
cv21 = 1 # V cap straight
|
||||
cv22 = 1 # W straight
|
||||
cv23 = 1 # X cap straight
|
||||
cv24 = 1 # Y cap straight
|
||||
cv25 = 1 # Z cap straight
|
||||
cv28 = 1 # c serifless
|
||||
cv33 = 1 # h straight
|
||||
cv34 = 10 # i serified flat tailed
|
||||
cv35 = 6 # j flat hook serified
|
||||
cv37 = 10 # l serified flat tailed
|
||||
cv42 = 9 # r compact
|
||||
cv43 = 1 # s serifless
|
||||
cv44 = 2 # t flat hook
|
||||
cv49 = 6 # y cursive flat terminal hook
|
||||
cv53 = 1 # Λ, Δ lambda and delta cap straight
|
||||
cv54 = 2 # α alpha straight tailed
|
||||
cv55 = 1 # δ delta rounded top
|
||||
cv56 = 1 # Γ gamma cap straight
|
||||
cv57 = 6 # ι iota serified flat tailed
|
||||
cv58 = 2 # λ lambda top tailed
|
||||
cv59 = 1 # μ me tailless
|
||||
cv60 = 2 # ξ xe flat top
|
||||
cv77 = 13 # 0 oval dashed forward slash
|
||||
cv80 = 2 # 3 arched
|
||||
cv82 = 2 # 5 open contour
|
||||
cv84 = 1 # 7 straight
|
||||
cv85 = 3 # 8 two asymmetric circles
|
||||
cv89 = 2 # ~ tilde low
|
||||
cv90 = 3 # * asterisk five-pointed low
|
||||
cv91 = 1 # _ underscore right below baseline
|
||||
cv92 = 1 # ^ uptick high
|
||||
cv93 = 1 # ( parentheses normal slope
|
||||
cv94 = 2 # { braces curly
|
||||
cv95 = 1 # # column straight
|
||||
cv97 = 4 # @ three-fold, tall height
|
||||
cv98 = 2 # $ dollar strike through
|
||||
VXSF = 2 # ¢ cent strike through
|
||||
cv99 = 1 # % percent dots
|
||||
VXSA = 1 # | bar natural slope
|
||||
VXSB = 1 # ' single quote straight
|
||||
VXSC = 1 # ` grave/backtick straight
|
||||
VXSD = 1 # ? smooth
|
||||
cv88 = 2 # .:; square punctuation marks
|
||||
cv87 = 2 # ijäöü square diacretics
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.upright]
|
||||
cv26 = 3 # a double storey rounded
|
||||
cv27 = 2 # b rounded
|
||||
cv29 = 2 # d rounded
|
||||
cv30 = 1 # e straight
|
||||
cv31 = 16 # f serifless bottom flat top crossbar at x height
|
||||
cv32 = 9 # g single storey flat hook earless cornered top
|
||||
cv36 = 1 # k straight
|
||||
cv38 = 5 # m earless normal middle leg
|
||||
cv39 = 3 # n earless straight
|
||||
cv40 = 2 # p earless
|
||||
cv41 = 2 # q earless
|
||||
cv45 = 2 # u rounded
|
||||
cv46 = 1 # v straight
|
||||
cv47 = 1 # w straight
|
||||
cv48 = 1 # x straight
|
||||
cv50 = 1 # z straight
|
||||
cv78 = 3 # 1 serified with base
|
||||
cv79 = 1 # 2 straight
|
||||
cv81 = 3 # 4 semi-open contour
|
||||
cv83 = 3 # 6 straight
|
||||
cv86 = 3 # 9 straight
|
||||
cv96 = 2 # & et open top (ampersand)
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.italic]
|
||||
cv26 = 1 # a double storey straight
|
||||
cv27 = 1 # b straight
|
||||
cv29 = 1 # d straight
|
||||
cv30 = 2 # e curly
|
||||
cv31 = 18 # f flat hook tailed crossbar at x height
|
||||
cv32 = 7 # g single storey flat hook
|
||||
cv36 = 2 # k curly
|
||||
cv38 = 1 # m straight normal middle leg
|
||||
cv39 = 1 # n straight
|
||||
cv40 = 1 # p straight
|
||||
cv41 = 1 # q straight
|
||||
cv45 = 1 # u straight
|
||||
cv46 = 2 # v curly
|
||||
cv47 = 2 # w curly short middle top
|
||||
cv48 = 2 # x curly
|
||||
cv50 = 4 # z curly
|
||||
cv78 = 2 # 1 serified no base
|
||||
cv79 = 2 # 2 curly
|
||||
cv81 = 1 # 4 closed contour crossing
|
||||
cv83 = 1 # 6 closed contour
|
||||
cv86 = 1 # 9 closed contour
|
||||
cv96 = 4 # & et open top toothed (ampersand)
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.thin]
|
||||
shape = 100
|
||||
menu = 100
|
||||
css = 100
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.extralight]
|
||||
shape = 200
|
||||
menu = 200
|
||||
css = 200
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.light]
|
||||
shape = 300
|
||||
menu = 300
|
||||
css = 300
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.regular]
|
||||
shape = 400
|
||||
menu = 400
|
||||
css = 400
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.book]
|
||||
shape = 450
|
||||
menu = 450
|
||||
css = 450
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.medium]
|
||||
shape = 500
|
||||
menu = 500
|
||||
css = 500
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.semibold]
|
||||
shape = 600
|
||||
menu = 600
|
||||
css = 600
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.bold]
|
||||
shape = 700
|
||||
menu = 700
|
||||
css = 700
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.extrabold]
|
||||
shape = 800
|
||||
menu = 800
|
||||
css = 800
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.heavy]
|
||||
shape = 900
|
||||
menu = 900
|
||||
css = 900
|
||||
|
||||
[buildPlans.iosevka-fusion.slopes.upright]
|
||||
angle = 0
|
||||
shape = "upright"
|
||||
menu = "upright"
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.iosevka-fusion.slopes.italic]
|
||||
angle = 9.4
|
||||
shape = "italic"
|
||||
menu = "italic"
|
||||
css = "italic"
|
||||
|
||||
[buildPlans.iosevka-fusion.widths.normal]
|
||||
shape = 600
|
||||
menu = 5
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.iosevka-fusion.metric-override]
|
||||
leading = 1350
|
||||
sb = 60
|
||||
xHeight = 530
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("be5invis/Iosevka"));
|
||||
@@ -4,8 +4,8 @@ Nerd Fonts is a project that patches developer targeted fonts with a high
|
||||
number of glyphs (icons).}
|
||||
|
||||
Name: nerd-fonts
|
||||
Version: 3.1.1
|
||||
Release: 1%{?dist}
|
||||
Version: 3.2.1
|
||||
Release: 1%?dist
|
||||
URL: https://nerdfonts.com/
|
||||
Source0: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/readme.md
|
||||
Source1: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/LICENSE
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.3
|
||||
Release: 1%{?dist}
|
||||
Version: 1.0.10
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
Source1: %url/releases/download/v%version/Sarasa-SuperTTC-%version.7z
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
Name: seto-fonts
|
||||
Version: 6.20
|
||||
Release: 2%?dist
|
||||
Release: 3%?dist
|
||||
URL: https://setofont.osdn.jp/
|
||||
Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip
|
||||
Source0: https://github.com/terrapkg/pkg-seto-fonts/archive/refs/tags/%version.tar.gz
|
||||
License: OFL-1.1
|
||||
Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji
|
||||
BuildRequires: unzip
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
@@ -14,7 +13,7 @@ BuildArch: noarch
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n setofont
|
||||
%setup -q -n pkg-seto-fonts-%version
|
||||
|
||||
%build
|
||||
|
||||
@@ -25,11 +24,8 @@ install -Dm644 *.ttf %buildroot/%_datadir/fonts/%name/
|
||||
|
||||
%files
|
||||
%doc readme.txt
|
||||
%license LICENSE.md
|
||||
%_datadir/fonts/%name/
|
||||
|
||||
%changelog
|
||||
* Sun Jun 18 2023 windowsboy111 <windowsboy111@fyralabs.com> - 6.20-2
|
||||
- Fix install dir.
|
||||
|
||||
* Tue Nov 22 2022 windowsboy111 <windowsboy111@fyralabs.com> - 6.20-1
|
||||
- Initial package
|
||||
%autochangelog
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
%define osuresver 2023.1228.0
|
||||
%define osuresver 2024.410.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2024.114.0
|
||||
Release: 1%{?dist}
|
||||
Version: 2024.412.1
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
URL: https://osu.ppy.sh/
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 5a0240e709856c3cc4e2ebeeebcf6e56ab544bfc
|
||||
%global commit bfac12604e9cd0884987ca89f34a455cf16c543c
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global commit_date 20240501
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
@@ -32,8 +32,8 @@ Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Version: 9.0^%{snapshot_info}
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
@@ -76,8 +76,9 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
rpm.global("commit", gh_commit("PrismLauncher/PrismLauncher"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.global("commit_date", date());
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
From 5a38fc2c9a329e88c8337af541dfeccaeff1fefb Mon Sep 17 00:00:00 2001
|
||||
From: seth <getchoo@tuta.io>
|
||||
Date: Sun, 15 Jan 2023 14:47:49 -0500
|
||||
Subject: [PATCH] find cmark with pkgconfig
|
||||
|
||||
Signed-off-by: seth <getchoo@tuta.io>
|
||||
---
|
||||
cmake/Findcmark.cmake | 59 +++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 59 insertions(+)
|
||||
create mode 100755 cmake/Findcmark.cmake
|
||||
|
||||
diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake
|
||||
new file mode 100755
|
||||
index 00000000..9858e5df
|
||||
--- /dev/null
|
||||
+++ b/cmake/Findcmark.cmake
|
||||
@@ -0,0 +1,59 @@
|
||||
+# SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
|
||||
+# SPDX-License-Identifier: GPL-3.0-only
|
||||
+
|
||||
+#
|
||||
+# CMake module to search for the cmark library
|
||||
+#
|
||||
+
|
||||
+# first try to find cmark-config.cmake
|
||||
+# path to a file not in the search path can be set with 'cmake -Dcmark_DIR=some/path/'
|
||||
+find_package(cmark CONFIG QUIET)
|
||||
+if(cmark_FOUND AND TARGET cmark::cmark)
|
||||
+ # found it!
|
||||
+ return()
|
||||
+endif()
|
||||
+
|
||||
+find_package(PkgConfig QUIET)
|
||||
+if(PKG_CONFIG_FOUND)
|
||||
+ pkg_check_modules(PC_CMARK QUIET cmark)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_INCLUDE_DIR)
|
||||
+ find_path(CMARK_INCLUDE_DIR
|
||||
+ NAMES cmark.h
|
||||
+ PATHS
|
||||
+ ${PC_CMARK_INCLUDEDIR}
|
||||
+ ${PC_CMARK_INCLUDE_DIRS}
|
||||
+ /usr/include
|
||||
+ /usr/local/include)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_LIBRARY)
|
||||
+ find_library(CMARK_LIBRARY
|
||||
+ NAMES cmark
|
||||
+ HINTS
|
||||
+ ${PC_CMARK_LIBDIR}
|
||||
+ ${PC_CMARK_LIBRARY_DIRS}
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT TARGET cmark::cmark)
|
||||
+ add_library(cmark::cmark UNKNOWN IMPORTED)
|
||||
+ set_target_properties(cmark::cmark
|
||||
+ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
|
||||
+ ${CMARK_INCLUDE_DIR})
|
||||
+ set_property(TARGET cmark::cmark APPEND
|
||||
+ PROPERTY IMPORTED_LOCATION ${CMARK_LIBRARY})
|
||||
+endif()
|
||||
+
|
||||
+include(FindPackageHandleStandardArgs)
|
||||
+find_package_handle_standard_args(cmark
|
||||
+ DEFAULT_MSG
|
||||
+ CMARK_INCLUDE_DIR
|
||||
+ CMARK_LIBRARY)
|
||||
+
|
||||
+mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR)
|
||||
+
|
||||
+set(CMARK_LIBRARIES ${CMARK_LIBRARY})
|
||||
+set(CMARK_INCLUDE_DIRS ${CMARK_INCLUDE_DIR})
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -1,197 +0,0 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit 5a0240e709856c3cc4e2ebeeebcf6e56ab544bfc
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_with qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
# Leave blank if you want to build Prism Launcher without MSA id or curseforge api key
|
||||
%define msa_id default
|
||||
%define curseforge_key default
|
||||
|
||||
%if %{with qt6}
|
||||
%global qt_version 6
|
||||
%global min_qt_version 6
|
||||
%else
|
||||
%global qt_version 5
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 8.0^%{snapshot_info}
|
||||
Release: 1%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
URL: https://prismlauncher.org/
|
||||
Source0: https://github.com/PrismLauncher/PrismLauncher/archive/%{commit}/%{real_name}-%{shortcommit}.tar.gz
|
||||
Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbtplusplus_commit}/libnbtplusplus-%{libnbtplusplus_commit}.tar.gz
|
||||
Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz
|
||||
Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz
|
||||
Patch0: 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: cmake(ghc_filesystem)
|
||||
BuildRequires: cmake(Qt%{qt_version}Concurrent) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Core) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Gui) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Network) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Test) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version}
|
||||
|
||||
%if %{with qt6}
|
||||
BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
%if 0%{fedora} < 38
|
||||
BuildRequires: cmark
|
||||
%endif
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
Conflicts: %{real_name}
|
||||
Conflicts: %{real_name}-qt5
|
||||
%if %{without qt6}
|
||||
Conflicts: %{real_name}-nightly
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
A custom launcher for Minecraft that allows you to easily manage
|
||||
multiple installations of Minecraft at once (Fork of MultiMC)
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n PrismLauncher-%{commit}
|
||||
|
||||
tar -xzf %{SOURCE1} -C libraries
|
||||
tar -xvf %{SOURCE2} -C libraries
|
||||
tar -xvf %{SOURCE3} -C libraries
|
||||
|
||||
rmdir libraries/{extra-cmake-modules,filesystem,libnbtplusplus,quazip,tomlplusplus,zlib}/
|
||||
mv -f libraries/libnbtplusplus-%{libnbtplusplus_commit} libraries/libnbtplusplus
|
||||
mv -f libraries/quazip-%{quazip_commit} libraries/quazip
|
||||
mv -f libraries/tomlplusplus-%{tomlplusplus_commit} libraries/tomlplusplus
|
||||
|
||||
# Do not set RPATH
|
||||
sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DLauncher_QT_VERSION_MAJOR="%{qt_version}" \
|
||||
-DLauncher_BUILD_PLATFORM="%{build_platform}" \
|
||||
%if "%{msa_id}" != "default"
|
||||
-DLauncher_MSA_CLIENT_ID="%{msa_id}" \
|
||||
%endif
|
||||
%if "%{curseforge_key}" != "default"
|
||||
-DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \
|
||||
%endif
|
||||
-DBUILD_TESTING=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/%{real_name}
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/%{nice_name}/NewLaunchLegacy.jar
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 8.0^20230726.4f00012-1
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform,
|
||||
and add patches for epel/older fedora versions
|
||||
|
||||
* Sun Jul 23 2023 seth <getchoo at tuta dot io> - 8.0^20230722.273d75f-1
|
||||
- update submodules, version, & use autorelease
|
||||
|
||||
* Wed Jun 07 2023 seth <getchoo at tuta dot io> - 7.0^20230603.954d4d7-1
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
* Sun May 14 2023 seth <getchoo at tuta dot io> - 7.0^20230513.c5aff7c-1
|
||||
- add qtlogging.ini to files list
|
||||
|
||||
* Mon Mar 20 2023 seth <getchoo at tuta dot io> - 7.0^20230319.6dcf34a-1
|
||||
- recommend flite to support narrator in minecraft
|
||||
|
||||
* Fri Feb 03 2023 seth <getchoo at tuta dot io> - 7.0^20230203.58d9ced-1
|
||||
- disable tests and explicitly require cmark
|
||||
|
||||
* Sun Jan 15 2023 seth <getchoo at tuta dot io> - 7.0^20230115.f1247d2-1
|
||||
- add 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
* Fri Jan 13 2023 seth <getchoo at tuta dot io> - 7.0^20230113.3de681d-1
|
||||
- add cmark as a build dep
|
||||
|
||||
* Tue Jan 03 2023 seth <getchoo at tuta dot io> - 7.0^20230102.4b12c85-1
|
||||
- add qlogging categories
|
||||
|
||||
* Mon Dec 05 2022 seth <getchoo at tuta dot io> - 6.0^20221204.79d5bef-1
|
||||
- revise file to better follow fedora packaging guidelines and add java 8 as a
|
||||
dependency
|
||||
|
||||
* Thu Nov 10 2022 seth <getchoo at tuta dot io> - 5.1-0.1.20221110.e6d057f
|
||||
- add package to Amusements/Games
|
||||
|
||||
* Sun Nov 06 2022 seth <getchoo at tuta dot io> - 5.0-0.1.20221105.9fb80a2
|
||||
- update installed files
|
||||
|
||||
* Thu Oct 27 2022 seth <getchoo at tuta dot io> - 5.0-0.1.20221027.610b971
|
||||
- initial commit
|
||||
@@ -1,11 +0,0 @@
|
||||
if filters.contains("nightly") {
|
||||
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
|
||||
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
|
||||
let sha = req.get().json().sha;
|
||||
rpm.global("commit", sha);
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "prismlauncher-qt5.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,184 +0,0 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
%bcond_with qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
# Leave blank if you want to build Prism Launcher without MSA id or curseforge api key
|
||||
%define msa_id default
|
||||
%define curseforge_key default
|
||||
|
||||
%if %{with qt6}
|
||||
%global qt_version 6
|
||||
%global min_qt_version 6
|
||||
%else
|
||||
%global qt_version 5
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
URL: https://prismlauncher.org/
|
||||
Source0: https://github.com/PrismLauncher/PrismLauncher/releases/download/%{version}/%{real_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: cmake(ghc_filesystem)
|
||||
BuildRequires: cmake(Qt%{qt_version}Concurrent) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Core) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Gui) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Network) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Test) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version}
|
||||
|
||||
%if %{with qt6}
|
||||
BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
%if %{without qt6}
|
||||
Conflicts: %{real_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
A custom launcher for Minecraft that allows you to easily manage
|
||||
multiple installations of Minecraft at once (Fork of MultiMC)
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n PrismLauncher-%{version}
|
||||
|
||||
rm -rf libraries/{extra-cmake-modules,filesystem,zlib}
|
||||
|
||||
# Do not set RPATH
|
||||
sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DLauncher_QT_VERSION_MAJOR="%{qt_version}" \
|
||||
-DLauncher_BUILD_PLATFORM="%{build_platform}" \
|
||||
%if "%{msa_id}" != "default"
|
||||
-DLauncher_MSA_CLIENT_ID="%{msa_id}" \
|
||||
%endif
|
||||
%if "%{curseforge_key}" != "default"
|
||||
-DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \
|
||||
%endif
|
||||
-DBUILD_TESTING=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/prismlauncher
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/%{nice_name}/NewLaunchLegacy.jar
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
* Thu Jun 08 2023 seth <getchoo@tuta.io> - 6.3-3
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
* Mon Mar 20 2023 seth <getchoo at tuta dot io> - 6.3-2
|
||||
- recommend flite to support narrator in minecraft
|
||||
|
||||
* Sat Feb 04 2023 seth <getchoo at tuta dot io> - 6.3-1
|
||||
- update to 6.3
|
||||
|
||||
* Mon Dec 19 2022 seth <getchoo at tuta dot io> - 6.1-2
|
||||
- start using non-headless java deps
|
||||
|
||||
* Mon Dec 12 2022 seth <getchoo at tuta dot io> - 6.0-1
|
||||
- update to 6.0
|
||||
|
||||
* Mon Dec 05 2022 seth <getchoo at tuta dot io> - 5.2-3
|
||||
- revise file to better follow fedora packaging guidelines and add java 8 as a
|
||||
dependency
|
||||
|
||||
* Tue Nov 15 2022 seth <getchoo at tuta dot io> - 5.2-2
|
||||
- use newer version of toml++ to fix issues on aarch64
|
||||
|
||||
* Tue Nov 15 2022 seth <getchoo at tuta dot io> - 5.2-1
|
||||
- update to 5.2
|
||||
|
||||
* Thu Nov 10 2022 seth <getchoo at tuta dot io> - 5.1-2
|
||||
- add package to Amusements/Games
|
||||
|
||||
* Tue Nov 01 2022 seth <getchoo at tuta dot io> - 5.1-1
|
||||
- update to 5.1
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-3
|
||||
- add missing deps and build with qt6 by default
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-2
|
||||
- add change-jars-path.patch to allow for package-specific jar path
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-1
|
||||
- update to version 5.0
|
||||
|
||||
* Tue Oct 18 2022 Cappy Ishihara <cappy@cappuchino.xyz> - 1.4.2.git981e9cf-0.2.20221018.981e9cf
|
||||
- Update provides and obsoletes
|
||||
|
||||
* Tue Oct 18 2022 seth <getchoo at tuta dot io> - 1.4.2.git981e9cf-0.1.20221018.981e9cf
|
||||
- start using qt6
|
||||
|
||||
* Tue Oct 18 2022 Cappy Ishihara <cappy@cappuchino.xyz> - 1.4.2-1
|
||||
- Repackaged as Prism Launcher
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user