Compare commits
357 Commits
c63b6263cc
...
master
Author | SHA1 | Date | |
---|---|---|---|
9e0ce8f80f | |||
698ef8afa4 | |||
4961e39578 | |||
2f38523ff4 | |||
20bac89d75 | |||
58c84697f2 | |||
d75a9e8020 | |||
a29028de87 | |||
380ef3440b | |||
bae0557ced | |||
2d0ba3c568 | |||
a59956a099 | |||
9bde8f8a81 | |||
8f05dc3cbe | |||
5d1ce52a34 | |||
e775d56140 | |||
7d57813c8e | |||
11a3f1951c | |||
4b41e93640 | |||
1f72c4d29e | |||
70b80e13da | |||
17d45e5a3b | |||
65ed819ab9 | |||
cc480a9e7b | |||
174a06db2a | |||
13a7fc8e1e | |||
47db191741 | |||
9110945ca3 | |||
789fabf41f | |||
398f710acf | |||
c7955caf14 | |||
69dc76d28c | |||
b8dd0df246 | |||
c9f30792fe | |||
0b2e5ad64c | |||
162a3f62e5 | |||
84377358c9 | |||
ac1c8ffd5f | |||
3a0b44fdc0 | |||
4437f39d05 | |||
596dc4b8e5 | |||
67682bdd9d | |||
c22e9ce77c | |||
e7ae447166 | |||
4f00eac717 | |||
ddffadcd61 | |||
bdac672111 | |||
7fdde2efe6 | |||
03238b5713 | |||
a49e1c69e5 | |||
51785c5449 | |||
2d2cd278cf | |||
7c618ea8ff | |||
a8a2c7eef4 | |||
85a9c0bbf0 | |||
ad0c9599fe | |||
134892a04b | |||
5e21c8103f | |||
8761e6d9bd | |||
acdb6c1f52 | |||
9062bff30b | |||
135d33a160 | |||
c2ddfcc2ea | |||
ef4a37de86 | |||
9e45be8c97 | |||
72157dd568 | |||
2c8e007676 | |||
c5c5c71cad | |||
bd99d26eda | |||
779f09e4cb | |||
a21620d490 | |||
ba2c9819d2 | |||
5b132ecaa7 | |||
e676674d9b | |||
5e6d132004 | |||
e02d240606 | |||
7175c4000c | |||
d305da00c1 | |||
5f5d8fc9d9 | |||
c2cb005dea | |||
148601714b | |||
f0e2c78b49 | |||
28aaa0f078 | |||
866b88f9c8 | |||
e9ab6a18c1 | |||
5f748cec3e | |||
497c7d8a97 | |||
605fc17952 | |||
2ed3f003ce | |||
b421962bd7 | |||
d8c5a14f77 | |||
2074442b59 | |||
3081c9c657 | |||
994e7cf4bd | |||
b81b99e2b3 | |||
79b0cb600f | |||
dc277c49e9 | |||
0c28dc4eef | |||
ee6e0f00f2 | |||
d54196e67a | |||
069c3fa090 | |||
31ea6c9c0c | |||
0f73e80b80 | |||
a7968bd20e | |||
d30f4d14a7 | |||
89b4e0a81b | |||
acdbe4e099 | |||
35dcb20c2c | |||
ac63a31361 | |||
62a62d1416 | |||
8cf90dcc2d | |||
2247819240 | |||
712fdbcea7 | |||
d3deac3bcd | |||
fb1c6ae9f6 | |||
926548513d | |||
bd8529ba29 | |||
6f1276389a | |||
1925943bd4 | |||
09c701b8a0 | |||
404e4f4cb6 | |||
d73c2aa53e | |||
d7ae693039 | |||
9348a7f278 | |||
cd6de684a0 | |||
4f5c6ae988 | |||
5229d1d0b5 | |||
4b68227e8b | |||
e6d67d5d58 | |||
a2a4823e13 | |||
c7a9a42bb4 | |||
1bffe0b5fe | |||
132f3f21d0 | |||
9e141b39dc | |||
a93fc49311 | |||
1388783894 | |||
f75b24217f | |||
8273fc9806 | |||
b6c58d3686 | |||
7cc7adf213 | |||
01aa181a55 | |||
2eda54b64f | |||
d90bbfacd5 | |||
31b39dafd6 | |||
b978acdca8 | |||
c6264381a4 | |||
4dfc28a400 | |||
b3ade80d6f | |||
68d5292607 | |||
31f1bc8cd4 | |||
b6f26fcfd0 | |||
08d8c1ca93 | |||
7edc728197 | |||
019fb9cb61 | |||
e9a0b5f17e | |||
2c84c37e10 | |||
aea7902fea | |||
34b4f08dc2 | |||
4684bf7177 | |||
c212aada6a | |||
18e7b47666 | |||
706fd100a2 | |||
08b82b9e51 | |||
00b30ec125 | |||
2c45947567 | |||
75880a5491 | |||
4946dabcf3 | |||
402077e53a | |||
725ea75304 | |||
6c21a684b5 | |||
35bdfa7580 | |||
9f864d7323 | |||
b858f30df4 | |||
5646ffdb8b | |||
7899e04816 | |||
4b18e3f988 | |||
eafd0ed26c | |||
d0807b18f5 | |||
df83465b2b | |||
5e920ae284 | |||
093ff2c141 | |||
b89ce48bea | |||
65c3c69000 | |||
4a0d701c0a | |||
36450126d5 | |||
b5d31d91bf | |||
c666b43f0c | |||
12708b065b | |||
fe599945fe | |||
07f70ab6fa | |||
f0a96454be | |||
cc9aafe3cc | |||
40ce7f68ef | |||
6241645b0a | |||
96663333d3 | |||
403f8dc2a7 | |||
1c607919cb | |||
37f0079fa0 | |||
8d710a661c | |||
207685a07c | |||
336dc996a5 | |||
99433941d1 | |||
0e23a4c0bb | |||
0a042964d9 | |||
ad1cc04ba6 | |||
d707d09cdd | |||
1559595f1e | |||
6b8f62966b | |||
bbb8648374 | |||
0114d66e27 | |||
515796327c | |||
80aedec624 | |||
0f707e1194 | |||
f6dacf3a96 | |||
3f966ffbe5 | |||
f1bbefb98d | |||
c357e2719a | |||
79a71935ee | |||
32c5e8e869 | |||
0e57719b62 | |||
8758f75014 | |||
d98e4ec3de | |||
16fb9a9c3c | |||
631f5e55b7 | |||
2f4c7ccb86 | |||
7b03c68707 | |||
05b42d9c74 | |||
45db21775a | |||
cf423de11c | |||
b8274354d2 | |||
c439984869 | |||
fe0ba79e51 | |||
f8aa06a53b | |||
654d9160b4 | |||
c27d204dc3 | |||
5d765a8a11 | |||
198dc7bc52 | |||
d091ec6d1f | |||
495efb5571 | |||
55e618e17d | |||
9731b7cb8d | |||
a4285599b3 | |||
fadd3a4a30 | |||
f4cc15882b | |||
3fef005873 | |||
8cf03c6b10 | |||
e82c97c93d | |||
97f0b6c4a2 | |||
d874573203 | |||
dd01e7b4b2 | |||
0e17fc54aa | |||
cb1f0ef17e | |||
afca406c40 | |||
02aa214ce0 | |||
be6dcc6a0f | |||
57605b98cf | |||
e4e765bc0f | |||
b110271da1 | |||
6617639818 | |||
4596e6a1fb | |||
f5031dce97 | |||
7ab68bfbd0 | |||
093615ff94 | |||
88c188d7ba | |||
bd1bbe1e43 | |||
e7808b1408 | |||
76fced0c97 | |||
5139061bbd | |||
cdc1231c54 | |||
67d190089d | |||
f1ef439b82 | |||
1ba8c4e42f | |||
c3e0c1e976 | |||
e9b897baae | |||
898efabaed | |||
bcdde11c11 | |||
ae81350e27 | |||
e346d436fa | |||
ed376af8dd | |||
2ee6f108d6 | |||
90e8d81f5d | |||
7bcbd48aad | |||
ab514165bf | |||
b32d5b4496 | |||
ef38970eaf | |||
0b1ee8d181 | |||
bff7d9bdd1 | |||
de75658586 | |||
3c9ad8977d | |||
9102cf52ea | |||
fe24022507 | |||
d33818393e | |||
70ba9009ca | |||
b365f59171 | |||
39062658b9 | |||
5eb9c9dfc3 | |||
d701a3d2bb | |||
597139ada6 | |||
b87402ca19 | |||
d6eefef2c8 | |||
bc51ab07ec | |||
dfa48314b8 | |||
bfd4403c67 | |||
b846f10738 | |||
b9c75f2451 | |||
a6ab2a1d53 | |||
50eb346004 | |||
01239702fd | |||
2cca538f67 | |||
cffed2823c | |||
8194890827 | |||
00d47f50d9 | |||
6af189df55 | |||
5210543a06 | |||
da8c813909 | |||
7315d71a22 | |||
31b07ff175 | |||
6624797990 | |||
c5a1d8eff1 | |||
f8cc4e87ee | |||
80a1d94781 | |||
b38c3adbab | |||
f29706f121 | |||
10bf2907ca | |||
8e050b87ee | |||
8e87df58f0 | |||
a9f699639f | |||
43844af9c5 | |||
c0f3037b72 | |||
7d01f369e2 | |||
dc92e6b04c | |||
4e4763670b | |||
5ee84ce0f1 | |||
290c00687b | |||
8befba3b22 | |||
1b9f12c242 | |||
bf75975ee2 | |||
ace7a0e144 | |||
030f4aec81 | |||
992e189721 | |||
51b802c75a | |||
fc0a078719 | |||
4471aedc6a | |||
89cc95a46e | |||
d2594dc112 | |||
cf8a73fb68 | |||
f955fc9779 | |||
6ae743c4d2 | |||
a88a5dc50c | |||
aebb736dfb | |||
0b892f87ea | |||
4ffa207989 | |||
0bfb332015 | |||
b94ad1fd20 | |||
f0f989a0b0 | |||
5312bddfcd | |||
ced95fb685 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
.directory
|
||||
.idea
|
||||
.idea
|
||||
.gigaide
|
39
LICENSE
39
LICENSE
@ -1,21 +1,18 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Arsen Musayelyan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
// This file was originally part of the project "LURE - Linux User REpository", created by Elara Musayelyan.
|
||||
// It has been modified as part of "ALR - Any Linux Repository" by the ALR Authors.
|
||||
//
|
||||
// ALR - Any Linux Repository
|
||||
// Copyright (C) 2025 The ALR Authors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
@ -1,5 +1,6 @@
|
||||
# ALR-repo
|
||||
Репозиторий для ALR <https://gitverse.ru/Xpamych/ALR>
|
||||
Репозиторий для [ALR](https://gitea.plemya-x.ru/Plemya-x/ALR)
|
||||
|
||||
ALR - это независимая от дистрибутива система сборки для Linux, аналогичная AUR.
|
||||
В настоящее время он находится в альфа-состоянии и может быть нестабильным.
|
||||
|
||||
@ -7,8 +8,11 @@ ALR - это независимая от дистрибутива система
|
||||
```bash
|
||||
curl -fsSL plemya-x.ru/alr/install.sh | bash
|
||||
```
|
||||
## Добавление этого репозитория
|
||||
```bash
|
||||
alr repo add alr-repo https://gitea.plemya-x.ru/Plemya-x/alr-repo.git
|
||||
```
|
||||
|
||||
## Соцсети
|
||||
Discord - https://discord.com/channels/817759634105827358/1261631565084233749
|
||||
|
||||
Telegram - https://t.me/plemyakh
|
@ -1,5 +1,5 @@
|
||||
name='admc'
|
||||
version='0.16.3-alt1'
|
||||
version='0.19.0'
|
||||
release='1'
|
||||
desc='user-friendly инструмент для Linux для работы с доменом Active Directory и групповыми политиками.'
|
||||
homepage='https://github.com/altlinux/admc.git'
|
||||
@ -32,3 +32,10 @@ package() {
|
||||
install -Dm644 "${srcdir}/admc-${version}/share/admc.desktop" "${pkgdir}/usr/share/applications/admc.desktop"
|
||||
install -Dm644 "${srcdir}/admc-${version}/share/admc.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/admc.svg"
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/admc
|
||||
echo ./usr/lib/libadldap.so
|
||||
echo ./usr/share/applications/admc.desktop
|
||||
echo ./usr/share/icons/hicolor/scalable/apps/admc.svg
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
name='alr-bin'
|
||||
version='0.0.2'
|
||||
release='1'
|
||||
desc='Any Linux Repository'
|
||||
homepage='https://gitverse.ru/sc/Xpamych/ALR'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64' 'arm64' 'arm7' 'arm6' '386' 'riscv64')
|
||||
license=('GPL-3.0-or-later')
|
||||
provides=('alr')
|
||||
conflicts=('alr' 'alr-bin' 'alr-git')
|
||||
|
||||
build_deps=('golang')
|
||||
build_deps_arch=('go')
|
||||
build_deps_alpine=('go')
|
||||
build_deps_opensuse=('go')
|
||||
|
||||
sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/ALR"
|
||||
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/ALR"
|
||||
install-binary alr
|
||||
install-completion bash alr < scripts/completion/bash
|
||||
install-completion zsh alr < scripts/completion/zsh
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
name='alr-git'
|
||||
version='latest'
|
||||
release=1
|
||||
desc='Any Linux Repository'
|
||||
homepage='https://gitverse.ru/sc/Xpamych/ALR'
|
||||
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64' 'arm64' 'arm7' 'arm6' '386' 'riscv64')
|
||||
license=('GPL-3.0-or-later')
|
||||
provides=('alr')
|
||||
conflicts=('alr' 'alr-bin' 'alr-git')
|
||||
|
||||
build_deps=('golang')
|
||||
build_deps_arch=('go')
|
||||
build_deps_alpine=('go')
|
||||
build_deps_opensuse=('go')
|
||||
|
||||
sources=("git+https://gitverse.ru/sc/Xpamych/ALR.git")
|
||||
checksums=('SKIP')
|
||||
|
||||
version() {
|
||||
cd "${srcdir}/ALR"
|
||||
git-version
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/ALR"
|
||||
CGO_ENABLED=0 go build -ldflags="-X 'plemya-x.ru/alr/internal/config.Version=$version'"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/ALR"
|
||||
install-binary alr
|
||||
install-completion bash alr < scripts/completion/bash
|
||||
install-completion zsh alr < scripts/completion/zsh
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
[repo]
|
||||
minVersion = "v0.0.1"
|
||||
minVersion = "v0.0.14"
|
||||
|
14
appmenu-gtk-module/80-appmenu-gtk-module.sh
Normal file
14
appmenu-gtk-module/80-appmenu-gtk-module.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -n "$GTK_MODULES" ]; then
|
||||
GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
|
||||
else
|
||||
GTK_MODULES="appmenu-gtk-module"
|
||||
fi
|
||||
|
||||
if [ -z "$UBUNTU_MENUPROXY" ]; then
|
||||
UBUNTU_MENUPROXY=1
|
||||
fi
|
||||
|
||||
export GTK_MODULES
|
||||
export UBUNTU_MENUPROXY
|
37
appmenu-gtk-module/alr.sh
Normal file
37
appmenu-gtk-module/alr.sh
Normal file
@ -0,0 +1,37 @@
|
||||
name="appmenu-gtk-module"
|
||||
version='24.05'
|
||||
release='1'
|
||||
desc="Application Menu GTK+ Module."
|
||||
homepage="https://gitlab.com/vala-panel-project/vala-panel-appmenu/"
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-3.0-only')
|
||||
provides=('appmenu-gtk-module')
|
||||
conflicts=('appmenu-gtk-module')
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'gtk2-devel'
|
||||
'gtk3-devel'
|
||||
'meson'
|
||||
)
|
||||
|
||||
optdepends=('gtk2: GTK2 module'
|
||||
'gtk3: GTK3 module')
|
||||
|
||||
sources=("git+https://gitlab.com/vala-panel-project/vala-panel-appmenu#tag=$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
_app_id="org.$pkgname.CoolerControl"
|
||||
|
||||
build() {
|
||||
meson build vala-panel-appmenu/subprojects/$name \
|
||||
--prefix=/usr
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja install -C build
|
||||
install -Dm755 $scriptdir/80-appmenu-gtk-module.sh -t "$pkgdir"/etc/X11/xinit/xinitrc.d/
|
||||
}
|
||||
|
47
catch2/alr.sh
Normal file
47
catch2/alr.sh
Normal file
@ -0,0 +1,47 @@
|
||||
name='catch2'
|
||||
version='3.8.1'
|
||||
release='1'
|
||||
desc='Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD.'
|
||||
homepage='https://github.com/catchorg/catch2'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('BSL-1.0')
|
||||
provides=('catch2')
|
||||
conflicts=('catch2', 'catch2-devel')
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'cmake'
|
||||
'python3'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/catchorg/catch2.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$name
|
||||
|
||||
unset CXXFLAGS
|
||||
cmake -B ./build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCATCH_BUILD_EXAMPLES=OFF \
|
||||
-DCATCH_ENABLE_COVERAGE=OFF \
|
||||
-DCATCH_ENABLE_WERROR=OFF \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
|
||||
cmake --build ./build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" cmake --install "${name}"/build
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/include/catch2/**/*
|
||||
printf '"%s" ' ./usr/lib/cmake/Catch2/*
|
||||
printf '"%s" ' ./usr/share/Catch2/*
|
||||
printf '"%s" ' ./usr/share/doc/Catch2/*
|
||||
printf '"%s" ' ./usr/share/pkgconfig/*
|
||||
}
|
77
coolercontrol-bin/alr.sh
Normal file
77
coolercontrol-bin/alr.sh
Normal file
@ -0,0 +1,77 @@
|
||||
name='coolercontrol-bin'
|
||||
_pkgname=${name%-bin}
|
||||
_app_id="org.$_pkgname.CoolerControl"
|
||||
version='2.2.1'
|
||||
release='1'
|
||||
desc='A program to monitor and control your cooling devices (binary release)'
|
||||
desk_ru='Программа для мониторинга и управления тепловыми устройствами (бинарная версия)'
|
||||
homepage='https://gitlab.com/coolercontrol/coolercontrol'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-or-later')
|
||||
provides=('coolercontrol')
|
||||
conflicts=('coolercontrol')
|
||||
|
||||
deps=(
|
||||
'gtk3'
|
||||
'hicolor-icon-theme'
|
||||
'coolercontrold-bin'
|
||||
'qt6-qtwebengine'
|
||||
)
|
||||
deps_arch=(
|
||||
'gtk3'
|
||||
'hicolor-icon-theme'
|
||||
'coolercontrold-bin'
|
||||
'qt6-webengine'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'desktop-file-utils'
|
||||
'libappstream-glib'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'appstream-glib'
|
||||
'desktop-file-utils'
|
||||
)
|
||||
|
||||
sources=(
|
||||
"https://gitlab.com/coolercontrol/coolercontrol/-/releases/$version/downloads/packages/${_pkgname}_${version}"
|
||||
"https://gitlab.com/coolercontrol/coolercontrol/-/archive/$version/$_pkgname-$version.tar.gz"
|
||||
)
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/$_pkgname-$version"
|
||||
desktop-file-validate "packaging/metadata/$_app_id.desktop"
|
||||
appstream-util validate-relax "packaging/metadata/$_app_id.metainfo.xml"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}
|
||||
install-binary "${_pkgname}_$version" coolercontrol
|
||||
|
||||
cd ${srcdir}/$_pkgname-$version
|
||||
|
||||
install-desktop "packaging/metadata/$_app_id.desktop"
|
||||
install -Dm644 "packaging/metadata/$_app_id.metainfo.xml" -t "$pkgdir/usr/share/metainfo/"
|
||||
install -Dm644 "packaging/metadata/$_app_id.png" -t "$pkgdir/usr/share/pixmaps/"
|
||||
install -Dm644 "packaging/metadata/$_app_id.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps/"
|
||||
install -Dm644 "packaging/metadata/${_app_id}-symbolic.svg" -t "$pkgdir/usr/share/icons/hicolor/symbolic/apps/"
|
||||
|
||||
install -Dm644 ./README.md -t "$pkgdir/usr/share/doc/$_pkgname"
|
||||
install-license ./LICENSE $_pkgname/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/coolercontrol
|
||||
echo ./usr/share/applications/org.coolercontrol.CoolerControl.desktop
|
||||
echo ./usr/share/doc/coolercontrol/README.md
|
||||
echo ./usr/share/licenses/coolercontrol/LICENSE
|
||||
echo ./usr/share/metainfo/org.coolercontrol.CoolerControl.metainfo.xml
|
||||
echo ./usr/share/pixmaps/org.coolercontrol.CoolerControl.png
|
||||
printf '"%s" ' ./usr/share/icons/hicolor/**/apps/*
|
||||
}
|
||||
|
65
coolercontrold-bin/alr.sh
Normal file
65
coolercontrold-bin/alr.sh
Normal file
@ -0,0 +1,65 @@
|
||||
name='coolercontrold-bin'
|
||||
_pkgname=${name%-bin}
|
||||
_app_id="org.$_pkgname.CoolerControl"
|
||||
version='2.2.1'
|
||||
release='1'
|
||||
desc='A program to monitor and control your cooling devices: daemon (binary release)'
|
||||
desk_ru='Программа для мониторинга и управления тепловыми устройствами: демон (бинарная версия)'
|
||||
homepage='https://gitlab.com/coolercontrol/coolercontrol'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-or-later')
|
||||
provides=('coolercontrold')
|
||||
conflicts=('coolercontrold')
|
||||
|
||||
deps=(
|
||||
'libdrm'
|
||||
'libgcc'
|
||||
'glibc'
|
||||
)
|
||||
deps_arch=(
|
||||
'libdrm'
|
||||
'gcc-libs'
|
||||
'glibc'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'desktop-file-utils'
|
||||
'libappstream-glib'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'appstream-glib'
|
||||
'desktop-file-utils'
|
||||
)
|
||||
|
||||
sources=(
|
||||
"https://gitlab.com/coolercontrol/coolercontrol/-/releases/$version/downloads/packages/${_pkgname}_$version"
|
||||
"https://gitlab.com/coolercontrol/coolercontrol/-/archive/$version/coolercontrol-$version.tar.gz"
|
||||
)
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
check() {
|
||||
chmod +x "./${_pkgname}_$version"
|
||||
"./${_pkgname}_$version" --version
|
||||
}
|
||||
|
||||
package() {
|
||||
install-binary "./${_pkgname}_$version" ${_pkgname}
|
||||
|
||||
cd "${srcdir}/${name%d-bin}-$version"
|
||||
|
||||
install-systemd "packaging/systemd/$_pkgname.service"
|
||||
|
||||
install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/$_pkgname"
|
||||
install-license ./LICENSE ./$_pkgname/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/coolercontrold
|
||||
echo ./usr/lib/systemd/system/$_pkgname.service
|
||||
echo ./usr/share/doc/coolercontrold/README.md
|
||||
echo ./usr/share/licenses/coolercontrold/LICENSE
|
||||
}
|
95
discord-bin/alr.sh
Executable file → Normal file
95
discord-bin/alr.sh
Executable file → Normal file
@ -1,7 +1,8 @@
|
||||
name='discord-bin'
|
||||
version='0.0.69'
|
||||
version='0.0.100'
|
||||
release='1'
|
||||
desc='Discord (popular voice + video app) using the system provided electron for increased security and performance'
|
||||
desc='All-in-one voice and text chat for gamers'
|
||||
desk_ru='Всё в одном голосовое и текстовое общение для игроков'
|
||||
homepage='https://discord.com/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
@ -9,20 +10,84 @@ license=('custom')
|
||||
provides=('discord')
|
||||
conflicts=('discord')
|
||||
|
||||
deps=('gconf-service' 'gconf2-common' 'libc++1' 'libxtst6' 'libxss1' 'libstdc++6' 'libnss3' 'libnspr4' 'libnotify4' 'libgconf-2-4' 'libatomic1' 'libasound2' 'libc6' 'libappindicator1')
|
||||
deps_fedora=('libatomic' 'glibc' 'alsa-lib' 'GConf2' 'libnotify' 'nspr' 'nss' 'libstdc++' 'libX11' 'libXtst' 'libappindicator-gtk3' 'libXScrnSaver')
|
||||
deps_opensuse=('libatomic1' 'glibc' 'alsa' 'gconf2' 'libnotify' 'mozilla-nspr' 'mozilla-nss' 'libstdc++6' 'libX11' 'libXtst' 'libappindicator' 'libc++1' 'libXScrnSaver')
|
||||
deps_arch=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3' 'libpulse' 'libappindicator-gtk3' 'xdg-utils')
|
||||
deps_rosa=('libatomic' 'glibc' 'alsa-lib' 'GConf2' 'libnotify' 'nspr' 'nss' 'libstdc++' 'libX11' 'libXtst' 'libappindicator1' 'libXScrnSaver')
|
||||
deps=(
|
||||
'libnotify'
|
||||
'libXss'
|
||||
'nspr'
|
||||
'nss'
|
||||
'gtk3'
|
||||
'pulseaudio-libs'
|
||||
'libappindicator-gtk3'
|
||||
'xdg-utils'
|
||||
)
|
||||
deps_redos=(
|
||||
'libnotify'
|
||||
'libXScrnSaver'
|
||||
'nspr'
|
||||
'nss'
|
||||
'gtk3'
|
||||
'pulseaudio-libs'
|
||||
'libappindicator-gtk3'
|
||||
'xdg-utils'
|
||||
)
|
||||
deps_arch=(
|
||||
'libnotify'
|
||||
'libxss'
|
||||
'nspr'
|
||||
'nss'
|
||||
'gtk3'
|
||||
'libpulse'
|
||||
'libappindicator-gtk3'
|
||||
'xdg-utils'
|
||||
)
|
||||
deps_altlinux=(
|
||||
'gtk3'
|
||||
'xdg-utils'
|
||||
'pulseaudio'
|
||||
'libnss'
|
||||
)
|
||||
|
||||
sources=("https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
sources=(
|
||||
"https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"
|
||||
"https://discordapp.com/terms"
|
||||
"https://discordapp.com/licenses"
|
||||
)
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd Discord
|
||||
sed -i "s|Exec=.*|Exec=/usr/bin/discord|" discord.desktop
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/usr/share/"
|
||||
install -Dm644 "${srcdir}/Discord/discord.png" "${pkgdir}/usr/share/pixmaps/discord.png"
|
||||
install -Dm644 "${srcdir}/Discord/discord.desktop" "${pkgdir}/usr/share/applications/discord.desktop"
|
||||
cp -a "${srcdir}/Discord" "${pkgdir}/usr/share/discord"
|
||||
mkdir -p "${pkgdir}/usr/bin/"
|
||||
ln -s "${pkgdir}/usr/share/discord/Discord" "${pkgdir}/usr/bin/discord"
|
||||
install -d "$pkgdir"/opt/discord
|
||||
cp -a Discord/. "$pkgdir"/opt/discord
|
||||
|
||||
rm "$pkgdir"/opt/discord/postinst.sh
|
||||
|
||||
install -d "$pkgdir"/usr/bin
|
||||
ln -s /opt/discord/Discord "$pkgdir"/usr/bin/discord
|
||||
|
||||
install-desktop "$pkgdir"/opt/discord/discord.desktop
|
||||
|
||||
install -Dm644 "$pkgdir"/opt/discord/discord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/discord.png
|
||||
|
||||
install-license ./terms ./discord/LICENSE.html
|
||||
install-license ./licenses discord/OSS-LICENSES.html
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./opt/discord/**/*
|
||||
echo ./usr/bin/discord
|
||||
echo ./usr/share/applications/discord.desktop
|
||||
echo ./usr/share/icons/hicolor/256x256/apps/discord.png
|
||||
}
|
||||
|
||||
|
3
discord-bin/postinstall.sh
Normal file
3
discord-bin/postinstall.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
chmod u+s "$pkgdir"/opt/discord/chrome-sandbox
|
32
extra-cmake-modules/alr.sh
Normal file
32
extra-cmake-modules/alr.sh
Normal file
@ -0,0 +1,32 @@
|
||||
name='extra-cmake-modules'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Extra modules and scripts for CMake'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('LGPL')
|
||||
|
||||
deps=(
|
||||
'cmake'
|
||||
)
|
||||
build_deps=(
|
||||
'python3-requests'
|
||||
'python3-sphinx'
|
||||
'qt6-qttools'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_HTML_DOCS=ON \
|
||||
-DBUILD_QTHELP_DOCS=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
name='fastfetch'
|
||||
version='2.25.0'
|
||||
version='2.45.0'
|
||||
release='1'
|
||||
desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.'
|
||||
desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way.'
|
||||
desc_ru='Fastfetch - это быстрый инструмент для получения информации о системе и отображения их в красивом виде.'
|
||||
homepage='https://github.com/fastfetch-cli/fastfetch'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
maintainer="Evgeniy Khramov <xpamych@yandex.ru>"
|
||||
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('fastfetch')
|
||||
@ -11,37 +13,69 @@ conflicts=('fastfetch' 'fastfetch-git')
|
||||
|
||||
build_deps=(
|
||||
'cmake'
|
||||
'gcc-c++'
|
||||
)
|
||||
opt_deps=(
|
||||
'chafa: Вывод изображений в виде ASCII-арта'
|
||||
'dbus: Обнаружение Bluetooth, игроков и медиа'
|
||||
'dconf: Необходимо для значений, которые хранятся только в DConf + резерв для GSettings'
|
||||
'ddcutil: Обнаружение яркости внешних дисплеев'
|
||||
'elfutils: Обнаружение шрифтов в терминале st и ускоренный путь обнаружения версий systemd'
|
||||
'glib2: Вывод для значений, которые хранятся только в GSettings'
|
||||
'hwdata: Вывод данных GPU'
|
||||
'ImageMagick: Вывод изображений с использованием протокола sixel или графического протокола kitty'
|
||||
'libdrm: Обнаружение дисплеев'
|
||||
'libXrandr: Поддержка нескольких мониторов'
|
||||
'ocl-icd: Модуль OpenCL'
|
||||
'python: Необходим для дополнений zsh и fish'
|
||||
'pulseaudio-libs: Обнаружение звука'
|
||||
'sqlite: Необходим для интеграции SQLite и подсчета пакетов Soar'
|
||||
'vulkan-devel: Обнаружение GPU в WSL'
|
||||
'vulkan-loader: Модуль Vulkan и резерв для вывода GPU'
|
||||
'xfconf: Необходимо для темы XFWM и шрифта терминала XFCE'
|
||||
'zlib: Быстрый вывод изображений при использовании графического протокола kitty'
|
||||
)
|
||||
opt_deps_arch=(
|
||||
'chafa: Вывод изображений в виде ASCII-арта'
|
||||
'dbus: Обнаружение Bluetooth, игроков и медиа'
|
||||
'dconf: Необходимо для значений, которые хранятся только в DConf + резерв для GSettings'
|
||||
'ddcutil: Обнаружение яркости внешних дисплеев'
|
||||
'directx-headers: Обнаружение GPU в WSL'
|
||||
'glib2: Вывод для значений, которые хранятся только в GSettings'
|
||||
'hwdata: Вывод данных GPU'
|
||||
'imagemagick: Вывод изображений с использованием протокола sixel или графического протокола kitty'
|
||||
'libdrm: Обнаружение дисплеев'
|
||||
'libelf: Обнаружение шрифтов в терминале st и ускоренный путь обнаружения версий systemd'
|
||||
'libpulse: Обнаружение звука'
|
||||
'libxrandr: Поддержка нескольких мониторов'
|
||||
'ocl-icd: Модуль OpenCL'
|
||||
'python: Необходим для дополнений zsh и fish'
|
||||
'sqlite: Необходим для интеграции SQLite и подсчета пакетов Soar'
|
||||
'vulkan-icd-loader: Модуль Vulkan и резерв для вывода GPU'
|
||||
'xfconf: Необходимо для темы XFWM и шрифта терминала XFCE'
|
||||
'zlib: Быстрый вывод изображений при использовании графического протокола kitty'
|
||||
)
|
||||
opt_deps=('chafa: Image output as ascii art'
|
||||
'dbus: Bluetooth, Player & Media detection'
|
||||
'dconf: Needed for values that are only stored in DConf + Fallback for GSettings'
|
||||
'ddcutil: Brightness detection of external displays'
|
||||
'glib2: Output for values that are only stored in GSettings'
|
||||
'ImageMagick: Image output using sixel or kitty graphics protocol'
|
||||
'NetworkManager-libnm: Wifi detection'
|
||||
'pulseaudio-libs: Sound detection'
|
||||
'mesa-vulkan-drivers: Needed by the OpenGL module for gl context creation.'
|
||||
'libXrandr: Multi monitor support'
|
||||
'ocl-icd: OpenCL module'
|
||||
'hwdata: GPU output'
|
||||
'vulkan-loader: Vulkan module & fallback for GPU output'
|
||||
'xfconf: Needed for XFWM theme and XFCE Terminal font'
|
||||
'zlib: Faster image output when using kitty graphics protocol'
|
||||
'libdrm: Displays detection')
|
||||
|
||||
sources=("https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$name-$version
|
||||
cmake -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build . --target fastfetch -j$(nproc)
|
||||
}
|
||||
cd $srcdir/$name-$version
|
||||
cmake -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build . --target fastfetch -j $(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$name-$version
|
||||
install-binary ./fastfetch
|
||||
install-license ./LICENSE fastfetch/LICENSE
|
||||
install-manual ./fastfetch.1
|
||||
./ completion fish | install-completion fish fastfetch
|
||||
install-completion bash fastfetch < ./completions/fastfetch.bash
|
||||
}
|
||||
cd $srcdir/$name-$version
|
||||
install-binary ./fastfetch
|
||||
install-license ./LICENSE fastfetch/LICENSE
|
||||
install-manual ./fastfetch.1
|
||||
./ completion fish | install-completion fish fastfetch
|
||||
install-completion bash fastfetch < ./completions/fastfetch.bash
|
||||
install-completion zsh fastfetch < ./completions/fastfetch.zsh
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/fastfetch
|
||||
printf '"%s" ' ./usr/share/**/*
|
||||
}
|
||||
|
@ -1,10 +1,12 @@
|
||||
name='firefox-bin'
|
||||
version='130.0.0'
|
||||
version='140.0.2'
|
||||
release='1'
|
||||
desc='Fast, Private & Safe Web Browser.'
|
||||
desc_ru='Быстрый, конфиденциальный и безопасный веб-браузер.'
|
||||
homepage='https://www.mozilla.org/firefox/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64' '386')
|
||||
license=('MPL' 'GPL' 'LGPL')
|
||||
provides=('firefox')
|
||||
conflicts=('firefox' 'firefox-git')
|
||||
@ -39,11 +41,24 @@ opt_deps_debian=('ffmpeg: H264/AAC/MP3 decoding'
|
||||
'hunspell-ru: Spell checking, Russian'
|
||||
)
|
||||
|
||||
sources=("https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=ru")
|
||||
checksums=('SKIP')
|
||||
if [[ $version == *.0 ]]; then
|
||||
ver="${version%.*}"
|
||||
else
|
||||
ver="$version"
|
||||
fi
|
||||
|
||||
sources_amd64=("https://download.mozilla.org/?product=firefox-${ver}&os=linux64&lang=ru")
|
||||
checksums_amd64=('SKIP')
|
||||
sources_386=("https://download.mozilla.org/?product=firefox-${ver}&os=linux32&lang=ru")
|
||||
checksums_386=('SKIP')
|
||||
|
||||
options=(!strip)
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
['postremove']='postremove.sh'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd $srcdir
|
||||
# Create directories
|
||||
@ -52,7 +67,7 @@ package() {
|
||||
mkdir -p "$pkgdir"/opt
|
||||
|
||||
# Install
|
||||
cp -r firefox/ "$pkgdir"/opt/$name
|
||||
cp -r firefox/ "$pkgdir"/opt/firefox
|
||||
|
||||
# Launchers
|
||||
install -m755 $scriptdir/firefox.sh "$pkgdir"/usr/bin/firefox
|
||||
@ -63,19 +78,20 @@ package() {
|
||||
# Icons
|
||||
for i in 16x16 32x32 48x48 64x64 128x128; do
|
||||
install -d "$pkgdir"/usr/share/icons/hicolor/$i/apps/
|
||||
ln -s /opt/$name/browser/chrome/icons/default/default${i/x*}.png \
|
||||
ln -s /opt/firefox/browser/chrome/icons/default/default${i/x*}.png \
|
||||
"$pkgdir"/usr/share/icons/hicolor/$i/apps/firefox.png
|
||||
done
|
||||
|
||||
# Use system-provided dictionaries
|
||||
#rm -r "$pkgdir"/opt/firefox/dictionaries
|
||||
ln -Ts /usr/share/hunspell "$pkgdir"/opt/$name/dictionaries
|
||||
ln -Ts /usr/share/hyphen "$pkgdir"/opt/$name/hyphenation
|
||||
|
||||
# Use system certificates
|
||||
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/$name/libnssckbi.so
|
||||
ln -sf /usr/lib/libnssckbi.so "$pkgdir"/opt/firefox/libnssckbi.so
|
||||
|
||||
# Disable update checks
|
||||
mkdir "$pkgdir"/opt/$name/distribution
|
||||
install -m644 $scriptdir/policies.json "$pkgdir"/opt/$name/distribution/
|
||||
mkdir "$pkgdir"/opt/firefox/distribution
|
||||
install -m644 $scriptdir/policies.json "$pkgdir"/opt/firefox/distribution/
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./opt/firefox/**/*
|
||||
printf '"%s" ' ./usr/share/icons/hicolor/*/apps/*
|
||||
echo ./usr/bin/firefox
|
||||
echo ./usr/share/applications/firefox.desktop
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec /opt/firefox-bin/firefox --class "Firefox" --name "Firefox" "$@"
|
||||
exec /opt/firefox/firefox --class "Firefox" --name "Firefox" "$@"
|
||||
|
4
firefox-bin/postinstall.sh
Normal file
4
firefox-bin/postinstall.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ln -sT /usr/share/hunspell "$pkgdir"/opt/firefox/dictionaries
|
||||
ln -sT /usr/share/hyphen "$pkgdir"/opt/firefox/hyphenation
|
4
firefox-bin/postremove.sh
Normal file
4
firefox-bin/postremove.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm -rf /opt/firefox/dictionaries
|
||||
rm -rf /opt/firefox/hyphenation
|
@ -1,54 +0,0 @@
|
||||
name='gamemode-lib32'
|
||||
version='1.8.2'
|
||||
release='2'
|
||||
desc='A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS'
|
||||
homepage='https://github.com/FeralInteractive/gamemode'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('BSD-3-Clause')
|
||||
provides=('libgamemode.so' 'libgamemodeauto.so')
|
||||
conflicts=('gamemode-lib32' 'gamemode-lib32-bin' 'gamemode-lib32-git')
|
||||
|
||||
deps=(
|
||||
'dbus(x86-32)'
|
||||
'glibc(x86-32)'
|
||||
'systemd(x86-32)'
|
||||
)
|
||||
deps_arch=(
|
||||
'lib32-dbus'
|
||||
'lib32-glibc'
|
||||
'lib32-systemd'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'glibc-devel(x86-32)'
|
||||
'libstdc++-devel(x86-32)'
|
||||
'dbus-libs(x86-32)'
|
||||
'systemd-devel(x86-32)'
|
||||
'meson'
|
||||
'appstream'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/FeralInteractive/gamemode.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
export CC='gcc -m32'
|
||||
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
||||
meson gamemode build --libdir /usr/lib -Dwith-examples=false -Dwith-sd-bus-provider=no-daemon -Dwith-util=false
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="${pkgdir}" meson install -C build
|
||||
rm -rf "${pkgdir}"/{etc,usr/include}
|
||||
install -dm 755 "${pkgdir}"/usr/share/licenses
|
||||
ln -s gamemode "${pkgdir}"/usr/share/licenses/lib32-gamemode
|
||||
}
|
||||
|
@ -1,52 +0,0 @@
|
||||
name='gamemode'
|
||||
version='1.8.2'
|
||||
release='2'
|
||||
desc='A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS'
|
||||
homepage='https://github.com/FeralInteractive/gamemode'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('BSD-3-Clause')
|
||||
provides=('libgamemode.so' 'libgamemodeauto.so')
|
||||
conflicts=('gamemode' 'gamemode-bin' 'gamemode-git')
|
||||
|
||||
deps=(
|
||||
'glibc'
|
||||
'dbus-libs'
|
||||
'inih'
|
||||
'systemd-libs'
|
||||
'polkit'
|
||||
)
|
||||
deps_arch=(
|
||||
'glibc'
|
||||
'libdbus-1.so'
|
||||
'libinih'
|
||||
'libsystemd.so'
|
||||
'polkit'
|
||||
)
|
||||
build_deps=(
|
||||
'git'
|
||||
'meson'
|
||||
'appstream'
|
||||
'dbus-devel'
|
||||
'inih-devel'
|
||||
'systemd-devel'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/FeralInteractive/gamemode.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
|
||||
meson gamemode build --libexecdir /usr/lib64/gamemode -Dwith-examples=false
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
meson install -C build --destdir "${pkgdir}"
|
||||
install-license gamemode/LICENSE.txt ./gamemode/LICENSE
|
||||
}
|
43
gigaide-ce/alr.sh
Normal file
43
gigaide-ce/alr.sh
Normal file
@ -0,0 +1,43 @@
|
||||
name='gigaide-ce'
|
||||
version='242.21829.142.2'
|
||||
release='2'
|
||||
desc='IDE based on IDEA/PyCharm Community and 70 more tools'
|
||||
desc_ru='IDE на базе IDEA/PyCharm Community и еще 70 инструментов'
|
||||
homepage="https://gitverse.ru/features/gigaide/"
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=("amd64")
|
||||
license=("Custom")
|
||||
provides=(
|
||||
'gigaide-ce'
|
||||
'gigaide'
|
||||
)
|
||||
conflicts=(
|
||||
'gigaide-ce'
|
||||
'gigaide'
|
||||
)
|
||||
|
||||
sources=(
|
||||
"https://gigaide.ru/downloadlast/gigaideCE-${version}.tar.gz"
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'sha256:ceb470f0c753a5a2ac069ff2927145da2b1151f01e60aa9dba78be1c864f423d'
|
||||
)
|
||||
|
||||
package() {
|
||||
mkdir -p "${pkgdir}/opt/${name}"
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
|
||||
cp -r "${srcdir}/gigaide-CE-${version}"/* "${pkgdir}/opt/${name}/"
|
||||
ln -s "/opt/${name}/bin/idea" "${pkgdir}/usr/bin/gigaide"
|
||||
|
||||
install -Dm644 "${pkgdir}/opt/${name}/bin/idea.png" "${pkgdir}/usr/share/icons/gigaide.png"
|
||||
install -Dm644 "${scriptdir}/gigaide.desktop" "${pkgdir}/usr/share/applications/gigaide.desktop"
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./opt/**/*
|
||||
echo ./usr/bin/gigaide
|
||||
echo ./usr/share/applications/gigaide.desktop
|
||||
echo ./usr/share/icons/gigaide.png
|
||||
}
|
11
gigaide-ce/gigaide.desktop
Normal file
11
gigaide-ce/gigaide.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=GigaIDE
|
||||
Icon=/usr/share/icons/gigaide.png
|
||||
Comment=IDE based on IDEA/PyCharm Community and more than 70 tools
|
||||
Comment[ru]=IDE на базе IDEA/PyCharm Community и еще более 70 инструментов
|
||||
Exec=/usr/bin/gigaide %f
|
||||
Terminal=false
|
||||
Categories=Development;IDE;
|
||||
StartupNotify=true
|
||||
Keywords=IDE;Python;Development;Programming;
|
82
gitea/alr.sh
82
gitea/alr.sh
@ -1,82 +0,0 @@
|
||||
name='gitea'
|
||||
version='1.22.2'
|
||||
release='1'
|
||||
desc='Painless self-hosted Git service, community managed.'
|
||||
homepage='https://gitea.io'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
provides=('gitea')
|
||||
conflicts=('gitea' 'gitea-git')
|
||||
|
||||
deps=(
|
||||
'git'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'go'
|
||||
'nodejs'
|
||||
'npm'
|
||||
'python-poetry'
|
||||
'openssh'
|
||||
'pam-devel'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'go'
|
||||
'nodejs'
|
||||
'npm'
|
||||
'python-poetry'
|
||||
'openssh'
|
||||
'pam-devel'
|
||||
)
|
||||
|
||||
opt_deps=(
|
||||
'mariadb: поддержка MariaDB'
|
||||
'memcached: поддержка MemCached'
|
||||
'openssh: поддержка GIT поверх SSH'
|
||||
'pam: поддержка аутентификации с помощью PAM'
|
||||
'postgresql: поддержка PostgreSQL'
|
||||
'redis: поддержка Redis'
|
||||
'sqlite: поддержка SQLite'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/go-gitea/gitea.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
options=(!lto)
|
||||
backup=('etc/gitea/app.ini')
|
||||
|
||||
prepare() {
|
||||
cd ${name}
|
||||
# Patch to disable failing tests that rely on weak ssh keys (DSA-1024)
|
||||
# See https://github.com/go-gitea/gitea/issues/31624
|
||||
patch -Np1 < "${scriptdir}/disable_failing_tests.patch"
|
||||
make deps
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${name}
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export EXTRA_GOFLAGS="-buildmode=pie -mod=readonly -modcacherw"
|
||||
export LDFLAGS="-linkmode=external -compressdwarf=false -X 'code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/' -X 'code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini'"
|
||||
export TAGS="bindata sqlite sqlite_unlock_notify pam"
|
||||
make -j1
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${name}
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
install-binary ${name}/${name}
|
||||
install-license ${name}/LICENSE ./$name/LICENSE
|
||||
install-systemd ${scriptdir}/${name}.service
|
||||
install -Dm644 ${scriptdir}/${name}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${name}.conf
|
||||
install -Dm644 ${scriptdir}/${name}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${name}.conf
|
||||
install -Dm644 ${name}/custom/conf/app.example.ini "${pkgdir}"/etc/gitea/app.ini
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
diff --git a/models/asymkey/ssh_key_test.go b/models/asymkey/ssh_key_test.go
|
||||
index d3e886b97f..1243e31552 100644
|
||||
--- a/models/asymkey/ssh_key_test.go
|
||||
+++ b/models/asymkey/ssh_key_test.go
|
||||
@@ -18,56 +18,56 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
-func Test_SSHParsePublicKey(t *testing.T) {
|
||||
- testCases := []struct {
|
||||
- name string
|
||||
- skipSSHKeygen bool
|
||||
- keyType string
|
||||
- length int
|
||||
- content string
|
||||
- }{
|
||||
- {"dsa-1024", false, "dsa", 1024, "ssh-dss AAAAB3NzaC1kc3MAAACBAOChCC7lf6Uo9n7BmZ6M8St19PZf4Tn59NriyboW2x/DZuYAz3ibZ2OkQ3S0SqDIa0HXSEJ1zaExQdmbO+Ux/wsytWZmCczWOVsaszBZSl90q8UnWlSH6P+/YA+RWJm5SFtuV9PtGIhyZgoNuz5kBQ7K139wuQsecdKktISwTakzAAAAFQCzKsO2JhNKlL+wwwLGOcLffoAmkwAAAIBpK7/3xvduajLBD/9vASqBQIHrgK2J+wiQnIb/Wzy0UsVmvfn8A+udRbBo+csM8xrSnlnlJnjkJS3qiM5g+eTwsLIV1IdKPEwmwB+VcP53Cw6lSyWyJcvhFb0N6s08NZysLzvj0N+ZC/FnhKTLzIyMtkHf/IrPCwlM+pV/M/96YgAAAIEAqQcGn9CKgzgPaguIZooTAOQdvBLMI5y0bQjOW6734XOpqQGf/Kra90wpoasLKZjSYKNPjE+FRUOrStLrxcNs4BeVKhy2PYTRnybfYVk1/dmKgH6P1YSRONsGKvTsH6c5IyCRG0ncCgYeF8tXppyd642982daopE7zQ/NPAnJfag= nocomment"},
|
||||
- {"rsa-1024", false, "rsa", 1024, "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDAu7tvIvX6ZHrRXuZNfkR3XLHSsuCK9Zn3X58lxBcQzuo5xZgB6vRwwm/QtJuF+zZPtY5hsQILBLmF+BZ5WpKZp1jBeSjH2G7lxet9kbcH+kIVj0tPFEoyKI9wvWqIwC4prx/WVk2wLTJjzBAhyNxfEq7C9CeiX9pQEbEqJfkKCQ== nocomment\n"},
|
||||
- {"rsa-2048", false, "rsa", 2048, "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMZXh+1OBUwSH9D45wTaxErQIN9IoC9xl7MKJkqvTvv6O5RR9YW/IK9FbfjXgXsppYGhsCZo1hFOOsXHMnfOORqu/xMDx4yPuyvKpw4LePEcg4TDipaDFuxbWOqc/BUZRZcXu41QAWfDLrInwsltWZHSeG7hjhpacl4FrVv9V1pS6Oc5Q1NxxEzTzuNLS/8diZrTm/YAQQ/+B+mzWI3zEtF4miZjjAljWd1LTBPvU23d29DcBmmFahcZ441XZsTeAwGxG/Q6j8NgNXj9WxMeWwxXV2jeAX/EBSpZrCVlCQ1yJswT6xCp8TuBnTiGWYMBNTbOZvPC4e0WI2/yZW/s5F nocomment"},
|
||||
- {"ecdsa-256", false, "ecdsa", 256, "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFQacN3PrOll7PXmN5B/ZNVahiUIqI05nbBlZk1KXsO3d06ktAWqbNflv2vEmA38bTFTfJ2sbn2B5ksT52cDDbA= nocomment"},
|
||||
- {"ecdsa-384", false, "ecdsa", 384, "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBINmioV+XRX1Fm9Qk2ehHXJ2tfVxW30ypUWZw670Zyq5GQfBAH6xjygRsJ5wWsHXBsGYgFUXIHvMKVAG1tpw7s6ax9oA+dJOJ7tj+vhn8joFqT+sg3LYHgZkHrfqryRasQ== nocomment"},
|
||||
- {"ecdsa-sk", true, "ecdsa-sk", 256, "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBGXEEzWmm1dxb+57RoK5KVCL0w2eNv9cqJX2AGGVlkFsVDhOXHzsadS3LTK4VlEbbrDMJdoti9yM8vclA8IeRacAAAAEc3NoOg== nocomment"},
|
||||
- {"ed25519-sk", true, "ed25519-sk", 256, "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIE7kM1R02+4ertDKGKEDcKG0s+2vyDDcIvceJ0Gqv5f1AAAABHNzaDo= nocomment"},
|
||||
- }
|
||||
-
|
||||
- for _, tc := range testCases {
|
||||
- t.Run(tc.name, func(t *testing.T) {
|
||||
- t.Run("Native", func(t *testing.T) {
|
||||
- keyTypeN, lengthN, err := SSHNativeParsePublicKey(tc.content)
|
||||
- assert.NoError(t, err)
|
||||
- assert.Equal(t, tc.keyType, keyTypeN)
|
||||
- assert.EqualValues(t, tc.length, lengthN)
|
||||
- })
|
||||
- if tc.skipSSHKeygen {
|
||||
- return
|
||||
- }
|
||||
- t.Run("SSHKeygen", func(t *testing.T) {
|
||||
- keyTypeK, lengthK, err := SSHKeyGenParsePublicKey(tc.content)
|
||||
- if err != nil {
|
||||
- // Some servers do not support ecdsa format.
|
||||
- if !strings.Contains(err.Error(), "line 1 too long:") {
|
||||
- assert.FailNow(t, "%v", err)
|
||||
- }
|
||||
- }
|
||||
- assert.Equal(t, tc.keyType, keyTypeK)
|
||||
- assert.EqualValues(t, tc.length, lengthK)
|
||||
- })
|
||||
- t.Run("SSHParseKeyNative", func(t *testing.T) {
|
||||
- keyTypeK, lengthK, err := SSHNativeParsePublicKey(tc.content)
|
||||
- if err != nil {
|
||||
- assert.FailNow(t, "%v", err)
|
||||
- }
|
||||
- assert.Equal(t, tc.keyType, keyTypeK)
|
||||
- assert.EqualValues(t, tc.length, lengthK)
|
||||
- })
|
||||
- })
|
||||
- }
|
||||
-}
|
||||
+//func Test_SSHParsePublicKey(t *testing.T) {
|
||||
+// testCases := []struct {
|
||||
+// name string
|
||||
+// skipSSHKeygen bool
|
||||
+// keyType string
|
||||
+// length int
|
||||
+// content string
|
||||
+// }{
|
||||
+// {"dsa-1024", false, "dsa", 1024, "ssh-dss AAAAB3NzaC1kc3MAAACBAOChCC7lf6Uo9n7BmZ6M8St19PZf4Tn59NriyboW2x/DZuYAz3ibZ2OkQ3S0SqDIa0HXSEJ1zaExQdmbO+Ux/wsytWZmCczWOVsaszBZSl90q8UnWlSH6P+/YA+RWJm5SFtuV9PtGIhyZgoNuz5kBQ7K139wuQsecdKktISwTakzAAAAFQCzKsO2JhNKlL+wwwLGOcLffoAmkwAAAIBpK7/3xvduajLBD/9vASqBQIHrgK2J+wiQnIb/Wzy0UsVmvfn8A+udRbBo+csM8xrSnlnlJnjkJS3qiM5g+eTwsLIV1IdKPEwmwB+VcP53Cw6lSyWyJcvhFb0N6s08NZysLzvj0N+ZC/FnhKTLzIyMtkHf/IrPCwlM+pV/M/96YgAAAIEAqQcGn9CKgzgPaguIZooTAOQdvBLMI5y0bQjOW6734XOpqQGf/Kra90wpoasLKZjSYKNPjE+FRUOrStLrxcNs4BeVKhy2PYTRnybfYVk1/dmKgH6P1YSRONsGKvTsH6c5IyCRG0ncCgYeF8tXppyd642982daopE7zQ/NPAnJfag= nocomment"},
|
||||
+// {"rsa-1024", false, "rsa", 1024, "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDAu7tvIvX6ZHrRXuZNfkR3XLHSsuCK9Zn3X58lxBcQzuo5xZgB6vRwwm/QtJuF+zZPtY5hsQILBLmF+BZ5WpKZp1jBeSjH2G7lxet9kbcH+kIVj0tPFEoyKI9wvWqIwC4prx/WVk2wLTJjzBAhyNxfEq7C9CeiX9pQEbEqJfkKCQ== nocomment\n"},
|
||||
+// {"rsa-2048", false, "rsa", 2048, "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMZXh+1OBUwSH9D45wTaxErQIN9IoC9xl7MKJkqvTvv6O5RR9YW/IK9FbfjXgXsppYGhsCZo1hFOOsXHMnfOORqu/xMDx4yPuyvKpw4LePEcg4TDipaDFuxbWOqc/BUZRZcXu41QAWfDLrInwsltWZHSeG7hjhpacl4FrVv9V1pS6Oc5Q1NxxEzTzuNLS/8diZrTm/YAQQ/+B+mzWI3zEtF4miZjjAljWd1LTBPvU23d29DcBmmFahcZ441XZsTeAwGxG/Q6j8NgNXj9WxMeWwxXV2jeAX/EBSpZrCVlCQ1yJswT6xCp8TuBnTiGWYMBNTbOZvPC4e0WI2/yZW/s5F nocomment"},
|
||||
+// {"ecdsa-256", false, "ecdsa", 256, "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFQacN3PrOll7PXmN5B/ZNVahiUIqI05nbBlZk1KXsO3d06ktAWqbNflv2vEmA38bTFTfJ2sbn2B5ksT52cDDbA= nocomment"},
|
||||
+// {"ecdsa-384", false, "ecdsa", 384, "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBINmioV+XRX1Fm9Qk2ehHXJ2tfVxW30ypUWZw670Zyq5GQfBAH6xjygRsJ5wWsHXBsGYgFUXIHvMKVAG1tpw7s6ax9oA+dJOJ7tj+vhn8joFqT+sg3LYHgZkHrfqryRasQ== nocomment"},
|
||||
+// {"ecdsa-sk", true, "ecdsa-sk", 256, "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBGXEEzWmm1dxb+57RoK5KVCL0w2eNv9cqJX2AGGVlkFsVDhOXHzsadS3LTK4VlEbbrDMJdoti9yM8vclA8IeRacAAAAEc3NoOg== nocomment"},
|
||||
+// {"ed25519-sk", true, "ed25519-sk", 256, "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIE7kM1R02+4ertDKGKEDcKG0s+2vyDDcIvceJ0Gqv5f1AAAABHNzaDo= nocomment"},
|
||||
+// }
|
||||
+//
|
||||
+// for _, tc := range testCases {
|
||||
+// t.Run(tc.name, func(t *testing.T) {
|
||||
+// t.Run("Native", func(t *testing.T) {
|
||||
+// keyTypeN, lengthN, err := SSHNativeParsePublicKey(tc.content)
|
||||
+// assert.NoError(t, err)
|
||||
+// assert.Equal(t, tc.keyType, keyTypeN)
|
||||
+// assert.EqualValues(t, tc.length, lengthN)
|
||||
+// })
|
||||
+// if tc.skipSSHKeygen {
|
||||
+// return
|
||||
+// }
|
||||
+// t.Run("SSHKeygen", func(t *testing.T) {
|
||||
+// keyTypeK, lengthK, err := SSHKeyGenParsePublicKey(tc.content)
|
||||
+// if err != nil {
|
||||
+// // Some servers do not support ecdsa format.
|
||||
+// if !strings.Contains(err.Error(), "line 1 too long:") {
|
||||
+// assert.FailNow(t, "%v", err)
|
||||
+// }
|
||||
+// }
|
||||
+// assert.Equal(t, tc.keyType, keyTypeK)
|
||||
+// assert.EqualValues(t, tc.length, lengthK)
|
||||
+// })
|
||||
+// t.Run("SSHParseKeyNative", func(t *testing.T) {
|
||||
+// keyTypeK, lengthK, err := SSHNativeParsePublicKey(tc.content)
|
||||
+// if err != nil {
|
||||
+// assert.FailNow(t, "%v", err)
|
||||
+// }
|
||||
+// assert.Equal(t, tc.keyType, keyTypeK)
|
||||
+// assert.EqualValues(t, tc.length, lengthK)
|
||||
+// })
|
||||
+// })
|
||||
+// }
|
||||
+//}
|
||||
|
||||
func Test_CheckPublicKeyString(t *testing.T) {
|
||||
oldValue := setting.SSH.MinimumKeySizeCheck
|
||||
@@ -163,40 +163,40 @@ AAAAC3NzaC1lZDI1NTE5AAAAICV0MGX/W9IvLA4FXpIuUcdDcbj5KX4syHgsTy7soVgf
|
||||
}
|
||||
}
|
||||
|
||||
-func Test_calcFingerprint(t *testing.T) {
|
||||
- testCases := []struct {
|
||||
- name string
|
||||
- skipSSHKeygen bool
|
||||
- fp string
|
||||
- content string
|
||||
- }{
|
||||
- {"dsa-1024", false, "SHA256:fSIHQlpKMDsGPVAXI8BPYfRp+e2sfvSt1sMrPsFiXrc", "ssh-dss AAAAB3NzaC1kc3MAAACBAOChCC7lf6Uo9n7BmZ6M8St19PZf4Tn59NriyboW2x/DZuYAz3ibZ2OkQ3S0SqDIa0HXSEJ1zaExQdmbO+Ux/wsytWZmCczWOVsaszBZSl90q8UnWlSH6P+/YA+RWJm5SFtuV9PtGIhyZgoNuz5kBQ7K139wuQsecdKktISwTakzAAAAFQCzKsO2JhNKlL+wwwLGOcLffoAmkwAAAIBpK7/3xvduajLBD/9vASqBQIHrgK2J+wiQnIb/Wzy0UsVmvfn8A+udRbBo+csM8xrSnlnlJnjkJS3qiM5g+eTwsLIV1IdKPEwmwB+VcP53Cw6lSyWyJcvhFb0N6s08NZysLzvj0N+ZC/FnhKTLzIyMtkHf/IrPCwlM+pV/M/96YgAAAIEAqQcGn9CKgzgPaguIZooTAOQdvBLMI5y0bQjOW6734XOpqQGf/Kra90wpoasLKZjSYKNPjE+FRUOrStLrxcNs4BeVKhy2PYTRnybfYVk1/dmKgH6P1YSRONsGKvTsH6c5IyCRG0ncCgYeF8tXppyd642982daopE7zQ/NPAnJfag= nocomment"},
|
||||
- {"rsa-1024", false, "SHA256:vSnDkvRh/xM6kMxPidLgrUhq3mCN7CDaronCEm2joyQ", "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDAu7tvIvX6ZHrRXuZNfkR3XLHSsuCK9Zn3X58lxBcQzuo5xZgB6vRwwm/QtJuF+zZPtY5hsQILBLmF+BZ5WpKZp1jBeSjH2G7lxet9kbcH+kIVj0tPFEoyKI9wvWqIwC4prx/WVk2wLTJjzBAhyNxfEq7C9CeiX9pQEbEqJfkKCQ== nocomment\n"},
|
||||
- {"rsa-2048", false, "SHA256:ZHD//a1b9VuTq9XSunAeYjKeU1xDa2tBFZYrFr2Okkg", "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMZXh+1OBUwSH9D45wTaxErQIN9IoC9xl7MKJkqvTvv6O5RR9YW/IK9FbfjXgXsppYGhsCZo1hFOOsXHMnfOORqu/xMDx4yPuyvKpw4LePEcg4TDipaDFuxbWOqc/BUZRZcXu41QAWfDLrInwsltWZHSeG7hjhpacl4FrVv9V1pS6Oc5Q1NxxEzTzuNLS/8diZrTm/YAQQ/+B+mzWI3zEtF4miZjjAljWd1LTBPvU23d29DcBmmFahcZ441XZsTeAwGxG/Q6j8NgNXj9WxMeWwxXV2jeAX/EBSpZrCVlCQ1yJswT6xCp8TuBnTiGWYMBNTbOZvPC4e0WI2/yZW/s5F nocomment"},
|
||||
- {"ecdsa-256", false, "SHA256:Bqx/xgWqRKLtkZ0Lr4iZpgb+5lYsFpSwXwVZbPwuTRw", "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFQacN3PrOll7PXmN5B/ZNVahiUIqI05nbBlZk1KXsO3d06ktAWqbNflv2vEmA38bTFTfJ2sbn2B5ksT52cDDbA= nocomment"},
|
||||
- {"ecdsa-384", false, "SHA256:4qfJOgJDtUd8BrEjyVNdI8IgjiZKouztVde43aDhe1E", "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBINmioV+XRX1Fm9Qk2ehHXJ2tfVxW30ypUWZw670Zyq5GQfBAH6xjygRsJ5wWsHXBsGYgFUXIHvMKVAG1tpw7s6ax9oA+dJOJ7tj+vhn8joFqT+sg3LYHgZkHrfqryRasQ== nocomment"},
|
||||
- {"ecdsa-sk", true, "SHA256:4wcIu4z+53gHc+db85OPfy8IydyNzPLCr6kHIs625LQ", "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBGXEEzWmm1dxb+57RoK5KVCL0w2eNv9cqJX2AGGVlkFsVDhOXHzsadS3LTK4VlEbbrDMJdoti9yM8vclA8IeRacAAAAEc3NoOg== nocomment"},
|
||||
- {"ed25519-sk", true, "SHA256:RB4ku1OeWKN7fLMrjxz38DK0mp1BnOPBx4BItjTvJ0g", "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIE7kM1R02+4ertDKGKEDcKG0s+2vyDDcIvceJ0Gqv5f1AAAABHNzaDo= nocomment"},
|
||||
- }
|
||||
-
|
||||
- for _, tc := range testCases {
|
||||
- t.Run(tc.name, func(t *testing.T) {
|
||||
- t.Run("Native", func(t *testing.T) {
|
||||
- fpN, err := calcFingerprintNative(tc.content)
|
||||
- assert.NoError(t, err)
|
||||
- assert.Equal(t, tc.fp, fpN)
|
||||
- })
|
||||
- if tc.skipSSHKeygen {
|
||||
- return
|
||||
- }
|
||||
- t.Run("SSHKeygen", func(t *testing.T) {
|
||||
- fpK, err := calcFingerprintSSHKeygen(tc.content)
|
||||
- assert.NoError(t, err)
|
||||
- assert.Equal(t, tc.fp, fpK)
|
||||
- })
|
||||
- })
|
||||
- }
|
||||
-}
|
||||
+//func Test_calcFingerprint(t *testing.T) {
|
||||
+// testCases := []struct {
|
||||
+// name string
|
||||
+// skipSSHKeygen bool
|
||||
+// fp string
|
||||
+// content string
|
||||
+// }{
|
||||
+// {"dsa-1024", false, "SHA256:fSIHQlpKMDsGPVAXI8BPYfRp+e2sfvSt1sMrPsFiXrc", "ssh-dss AAAAB3NzaC1kc3MAAACBAOChCC7lf6Uo9n7BmZ6M8St19PZf4Tn59NriyboW2x/DZuYAz3ibZ2OkQ3S0SqDIa0HXSEJ1zaExQdmbO+Ux/wsytWZmCczWOVsaszBZSl90q8UnWlSH6P+/YA+RWJm5SFtuV9PtGIhyZgoNuz5kBQ7K139wuQsecdKktISwTakzAAAAFQCzKsO2JhNKlL+wwwLGOcLffoAmkwAAAIBpK7/3xvduajLBD/9vASqBQIHrgK2J+wiQnIb/Wzy0UsVmvfn8A+udRbBo+csM8xrSnlnlJnjkJS3qiM5g+eTwsLIV1IdKPEwmwB+VcP53Cw6lSyWyJcvhFb0N6s08NZysLzvj0N+ZC/FnhKTLzIyMtkHf/IrPCwlM+pV/M/96YgAAAIEAqQcGn9CKgzgPaguIZooTAOQdvBLMI5y0bQjOW6734XOpqQGf/Kra90wpoasLKZjSYKNPjE+FRUOrStLrxcNs4BeVKhy2PYTRnybfYVk1/dmKgH6P1YSRONsGKvTsH6c5IyCRG0ncCgYeF8tXppyd642982daopE7zQ/NPAnJfag= nocomment"},
|
||||
+// {"rsa-1024", false, "SHA256:vSnDkvRh/xM6kMxPidLgrUhq3mCN7CDaronCEm2joyQ", "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDAu7tvIvX6ZHrRXuZNfkR3XLHSsuCK9Zn3X58lxBcQzuo5xZgB6vRwwm/QtJuF+zZPtY5hsQILBLmF+BZ5WpKZp1jBeSjH2G7lxet9kbcH+kIVj0tPFEoyKI9wvWqIwC4prx/WVk2wLTJjzBAhyNxfEq7C9CeiX9pQEbEqJfkKCQ== nocomment\n"},
|
||||
+// {"rsa-2048", false, "SHA256:ZHD//a1b9VuTq9XSunAeYjKeU1xDa2tBFZYrFr2Okkg", "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMZXh+1OBUwSH9D45wTaxErQIN9IoC9xl7MKJkqvTvv6O5RR9YW/IK9FbfjXgXsppYGhsCZo1hFOOsXHMnfOORqu/xMDx4yPuyvKpw4LePEcg4TDipaDFuxbWOqc/BUZRZcXu41QAWfDLrInwsltWZHSeG7hjhpacl4FrVv9V1pS6Oc5Q1NxxEzTzuNLS/8diZrTm/YAQQ/+B+mzWI3zEtF4miZjjAljWd1LTBPvU23d29DcBmmFahcZ441XZsTeAwGxG/Q6j8NgNXj9WxMeWwxXV2jeAX/EBSpZrCVlCQ1yJswT6xCp8TuBnTiGWYMBNTbOZvPC4e0WI2/yZW/s5F nocomment"},
|
||||
+// {"ecdsa-256", false, "SHA256:Bqx/xgWqRKLtkZ0Lr4iZpgb+5lYsFpSwXwVZbPwuTRw", "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFQacN3PrOll7PXmN5B/ZNVahiUIqI05nbBlZk1KXsO3d06ktAWqbNflv2vEmA38bTFTfJ2sbn2B5ksT52cDDbA= nocomment"},
|
||||
+// {"ecdsa-384", false, "SHA256:4qfJOgJDtUd8BrEjyVNdI8IgjiZKouztVde43aDhe1E", "ecdsa-sha2-nistp384 AAAAE2VjZHNhLXNoYTItbmlzdHAzODQAAAAIbmlzdHAzODQAAABhBINmioV+XRX1Fm9Qk2ehHXJ2tfVxW30ypUWZw670Zyq5GQfBAH6xjygRsJ5wWsHXBsGYgFUXIHvMKVAG1tpw7s6ax9oA+dJOJ7tj+vhn8joFqT+sg3LYHgZkHrfqryRasQ== nocomment"},
|
||||
+// {"ecdsa-sk", true, "SHA256:4wcIu4z+53gHc+db85OPfy8IydyNzPLCr6kHIs625LQ", "sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBGXEEzWmm1dxb+57RoK5KVCL0w2eNv9cqJX2AGGVlkFsVDhOXHzsadS3LTK4VlEbbrDMJdoti9yM8vclA8IeRacAAAAEc3NoOg== nocomment"},
|
||||
+// {"ed25519-sk", true, "SHA256:RB4ku1OeWKN7fLMrjxz38DK0mp1BnOPBx4BItjTvJ0g", "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIE7kM1R02+4ertDKGKEDcKG0s+2vyDDcIvceJ0Gqv5f1AAAABHNzaDo= nocomment"},
|
||||
+// }
|
||||
+//
|
||||
+// for _, tc := range testCases {
|
||||
+// t.Run(tc.name, func(t *testing.T) {
|
||||
+// t.Run("Native", func(t *testing.T) {
|
||||
+// fpN, err := calcFingerprintNative(tc.content)
|
||||
+// assert.NoError(t, err)
|
||||
+// assert.Equal(t, tc.fp, fpN)
|
||||
+// })
|
||||
+// if tc.skipSSHKeygen {
|
||||
+// return
|
||||
+// }
|
||||
+// t.Run("SSHKeygen", func(t *testing.T) {
|
||||
+// fpK, err := calcFingerprintSSHKeygen(tc.content)
|
||||
+// assert.NoError(t, err)
|
||||
+// assert.Equal(t, tc.fp, fpK)
|
||||
+// })
|
||||
+// })
|
||||
+// }
|
||||
+//}
|
||||
|
||||
var (
|
||||
// Generated with "ssh-keygen -C test@rekor.dev -f id_rsa"
|
@ -1,50 +0,0 @@
|
||||
[Unit]
|
||||
Description=Gitea (Git with a cup of tea)
|
||||
After=network.target
|
||||
After=mysqld.service
|
||||
After=postgresql.service
|
||||
After=memcached.service
|
||||
After=redis.service
|
||||
|
||||
[Service]
|
||||
User=gitea
|
||||
Group=gitea
|
||||
Type=simple
|
||||
WorkingDirectory=~
|
||||
RuntimeDirectory=gitea
|
||||
LogsDirectory=gitea
|
||||
StateDirectory=gitea
|
||||
Environment=USER=gitea HOME=/var/lib/gitea GITEA_WORK_DIR=/var/lib/gitea
|
||||
ExecStart=/usr/bin/gitea web -c /etc/gitea/app.ini
|
||||
Restart=always
|
||||
RestartSec=2s
|
||||
ReadWritePaths=/etc/gitea/app.ini
|
||||
AmbientCapabilities=
|
||||
CapabilityBoundingSet=
|
||||
LockPersonality=true
|
||||
#Required by commit search
|
||||
#MemoryDenyWriteExecute=true
|
||||
NoNewPrivileges=True
|
||||
#SecureBits=noroot-locked
|
||||
PrivateDevices=true
|
||||
PrivateTmp=true
|
||||
PrivateUsers=true
|
||||
ProtectClock=true
|
||||
ProtectControlGroups=true
|
||||
ProtectHome=true
|
||||
ProtectHostname=true
|
||||
ProtectKernelLogs=true
|
||||
ProtectKernelModules=true
|
||||
ProtectKernelTunables=true
|
||||
ProtectProc=invisible
|
||||
ProtectSystem=strict
|
||||
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
|
||||
RestrictNamespaces=true
|
||||
RestrictRealtime=true
|
||||
RestrictSUIDSGID=true
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=@system-service
|
||||
SystemCallErrorNumber=EPERM
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1 +0,0 @@
|
||||
u gitea - "Gitea daemon user" /var/lib/gitea /bin/bash
|
@ -1,10 +0,0 @@
|
||||
d /var/lib/gitea 0750
|
||||
d /var/lib/gitea/attachments 0750
|
||||
d /var/lib/gitea/data 0750
|
||||
d /var/lib/gitea/indexers 0750
|
||||
d /var/lib/gitea/repos 0750
|
||||
d /var/lib/gitea/tmp 0750
|
||||
Z /var/lib/gitea - gitea gitea
|
||||
d /var/log/gitea 0750 gitea gitea
|
||||
z /etc/gitea 0755 root gitea
|
||||
z /etc/gitea/app.ini 0660 root gitea
|
@ -1,5 +1,5 @@
|
||||
name="go-bin"
|
||||
version='1.23.1'
|
||||
version='1.23.5'
|
||||
release='1'
|
||||
desc="Compiler and tools for the Go programming language"
|
||||
desc_ru="Компилятор и инструменты для языка программирования Go"
|
||||
@ -9,7 +9,7 @@ maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64' 'arm64' 'arm6' '386' 'riscv64')
|
||||
license=('BSD-3-Clause')
|
||||
provides=('go' 'golang')
|
||||
conflicts=('go' 'golang' 'golang-bin' 'golang-go')
|
||||
conflicts=('go' 'golang' 'golang-bin' 'golang-git')
|
||||
|
||||
sources_amd64=("https://dl.google.com/go/go${version}.linux-amd64.tar.gz")
|
||||
checksums_amd64=('SKIP')
|
||||
@ -27,11 +27,12 @@ sources_riscv64=("https://dl.google.com/go/go${version}.linux-riscv64.tar.gz")
|
||||
checksums_riscv64=('SKIP')
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
['postremove']='postremove.sh'
|
||||
)
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/lib/"
|
||||
cp -r "$srcdir/go" "$pkgdir/usr/lib/go"
|
||||
mkdir -p "$pkgdir/usr/bin/"
|
||||
ln -sf "$pkgdir/usr/lib/go/bin/go" "$pkgdir/usr/bin/go"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
ln -s /usr/lib/go/bin/go /usr/bin/go
|
@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/env bash
|
||||
rm -f /usr/lib/go/bin/go /usr/bin/go
|
62
gpu-screen-recorder-notification/alr.sh
Normal file
62
gpu-screen-recorder-notification/alr.sh
Normal file
@ -0,0 +1,62 @@
|
||||
name='gpu-screen-recorder-notification'
|
||||
version='1.0.7'
|
||||
release='1'
|
||||
desc='Notification in the style of ShadowPlay.'
|
||||
desk_ru='Уведомления в стиле ShadowPlay'
|
||||
homepage='https://git.dec05eba.com/gpu-screen-recorder-notification'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-only')
|
||||
provides=('gsr-notify')
|
||||
conflicts=('gsr-notify')
|
||||
|
||||
deps=(
|
||||
"libglvnd"
|
||||
"libX11"
|
||||
"libXrandr"
|
||||
"libXrender"
|
||||
"libXext"
|
||||
)
|
||||
|
||||
deps_arch=(
|
||||
'libglvnd'
|
||||
'libx11'
|
||||
'libxrandr'
|
||||
'libxrender'
|
||||
'libxext'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
"meson"
|
||||
"ninja-build"
|
||||
"libglvnd-devel"
|
||||
"libX11-devel"
|
||||
"libXrandr-devel"
|
||||
"libXrender-devel"
|
||||
"libXext-devel"
|
||||
)
|
||||
build_deps_arch=(
|
||||
"meson"
|
||||
"ninja"
|
||||
)
|
||||
|
||||
sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-notification.git.${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
meson setup build --prefix=/usr --buildtype=release -Dstrip=true
|
||||
ninja -C build -j $(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
meson install -C build --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/gsr-notify
|
||||
printf '"%s" ' ./usr/share/gsr-notify/fonts/*
|
||||
printf '"%s" ' ./usr/share/gsr-notify/images/*
|
||||
}
|
89
gpu-screen-recorder-ui/alr.sh
Normal file
89
gpu-screen-recorder-ui/alr.sh
Normal file
@ -0,0 +1,89 @@
|
||||
name='gpu-screen-recorder-ui'
|
||||
version='1.6.5'
|
||||
release='1'
|
||||
desc='A fullscreen overlay UI for GPU Screen Recorder in the style of ShadowPlay.'
|
||||
desk_ru='Полноэкранный интерфейс наложения для GPU Screen Recorder в стиле ShadowPlay.'
|
||||
homepage='https://git.dec05eba.com/gpu-screen-recorder-ui'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-only')
|
||||
provides=('gpu-screen-recorder-ui')
|
||||
conflicts=('gpu-screen-recorder-ui')
|
||||
|
||||
deps=(
|
||||
"gpu-screen-recorder"
|
||||
"gpu-screen-recorder-notification"
|
||||
"libglvnd"
|
||||
"libX11"
|
||||
"libXrandr"
|
||||
"libXrender"
|
||||
"libXdamage"
|
||||
"libXcomposite"
|
||||
"libXfixes"
|
||||
"libXext"
|
||||
"libXi"
|
||||
"libXcursor"
|
||||
"kernel-lt-headers"
|
||||
"pulseaudio-libs"
|
||||
)
|
||||
deps_arch=(
|
||||
"gpu-screen-recorder"
|
||||
"gpu-screen-recorder-notification"
|
||||
"libglvnd"
|
||||
"libx11"
|
||||
"libxrandr"
|
||||
"libxrender"
|
||||
"libxcomposite"
|
||||
"libxfixes"
|
||||
"libxext"
|
||||
"libxi"
|
||||
"libxcursor"
|
||||
"linux-api-headers"
|
||||
"libpulse"
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
"meson"
|
||||
"ninja-build"
|
||||
"libglvnd-devel"
|
||||
"libX11-devel"
|
||||
"libXrandr-devel"
|
||||
"libXrender-devel"
|
||||
"libXcomposite-devel"
|
||||
"libXfixes-devel"
|
||||
"libXext-devel"
|
||||
"libXi-devel"
|
||||
"libXcursor-devel"
|
||||
"kernel-lt-headers"
|
||||
"pulseaudio-libs-devel"
|
||||
)
|
||||
build_deps_arch=(
|
||||
"meson"
|
||||
"ninja"
|
||||
)
|
||||
sources=("https://dec05eba.com/snapshot/gpu-screen-recorder-ui.git.${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
meson setup build --prefix=/usr --buildtype=release -Dstrip=true
|
||||
ninja -C build -j $(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
meson install -C build --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/gsr-global-hotkeys
|
||||
echo ./usr/bin/gsr-ui
|
||||
echo ./usr/bin/gsr-ui-cli
|
||||
echo ./usr/lib/systemd/user/gpu-screen-recorder-ui.service
|
||||
printf '"%s" ' ./usr/share/gsr-ui/fonts/*
|
||||
printf '"%s" ' ./usr/share/gsr-ui/images/*
|
||||
}
|
3
gpu-screen-recorder-ui/postinstall.sh
Normal file
3
gpu-screen-recorder-ui/postinstall.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/sbin/setcap cap_setuid+ep /usr/bin/gsr-global-hotkeys
|
90
gpu-screen-recorder/alr.sh
Normal file
90
gpu-screen-recorder/alr.sh
Normal file
@ -0,0 +1,90 @@
|
||||
name='gpu-screen-recorder'
|
||||
version='5.5.5'
|
||||
release='2'
|
||||
desc='A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux.'
|
||||
desk_ru='Экранный рекордер, похожий на ShadowPlay для Linux. Самый быстрый экранный рекордер для Linux.'
|
||||
homepage='https://git.dec05eba.com/gpu-screen-recorder'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-only')
|
||||
provides=('gpu-screen-recorder' 'gsr-kms-server')
|
||||
conflicts=('gpu-screen-recorder' 'gsr-kms-server')
|
||||
|
||||
deps=(
|
||||
"ffmpeg"
|
||||
"libglvnd"
|
||||
"libXcomposite"
|
||||
"libXrandr"
|
||||
"libXfixes"
|
||||
"libXdamage"
|
||||
"libX11"
|
||||
"pulseaudio-libs"
|
||||
"libva"
|
||||
"libdrm"
|
||||
"libcap"
|
||||
"pipewire-libs"
|
||||
"dbus"
|
||||
)
|
||||
deps_arch=(
|
||||
"ffmpeg"
|
||||
"libglvnd"
|
||||
"libxcomposite"
|
||||
"libxrandr"
|
||||
"libxfixes"
|
||||
"libxdamage"
|
||||
"libx11"
|
||||
"libpulse"
|
||||
"libva"
|
||||
"libdrm"
|
||||
"libcap"
|
||||
"wayland"
|
||||
"libpipewire"
|
||||
"dbus"
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
"gcc-c++"
|
||||
"meson"
|
||||
"ninja-build"
|
||||
"vulkan-headers"
|
||||
"ffmpeg-devel"
|
||||
"libXcomposite-devel"
|
||||
"libXrandr-devel"
|
||||
"libXdamage-devel"
|
||||
"pulseaudio-libs-devel"
|
||||
"libva-devel"
|
||||
"libcap-devel"
|
||||
"libdrm-devel"
|
||||
"pipewire-devel"
|
||||
"dbus-devel"
|
||||
)
|
||||
build_deps_arch=(
|
||||
"meson"
|
||||
"ninja"
|
||||
"vulkan-headers"
|
||||
)
|
||||
|
||||
sources=("https://dec05eba.com/snapshot/gpu-screen-recorder.git.${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
build() {
|
||||
cd "$srcdir"
|
||||
meson setup build --prefix=/usr --buildtype=release -Dstrip=true
|
||||
ninja -C build -j $(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
meson install -C build --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/gpu-screen-recorder
|
||||
echo ./usr/bin/gsr-kms-server
|
||||
echo ./usr/lib/modprobe.d/gsr-nvidia.conf
|
||||
echo ./usr/lib/systemd/user/gpu-screen-recorder.service
|
||||
}
|
3
gpu-screen-recorder/postinstall.sh
Normal file
3
gpu-screen-recorder/postinstall.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/sbin/setcap cap_sys_admin+ep /usr/bin/gsr-kms-server
|
@ -1,6 +1,6 @@
|
||||
name='hlna-git'
|
||||
version='latest'
|
||||
release='2'
|
||||
release='3'
|
||||
desc='Этот инструмент позволяет управлять выделенным сервером ARK: Survival Evolved на Linux. Он предоставляет множество функций, чтобы получить полный список, ознакомьтесь с разделом использования. (находится в разарботке и может содержать ошибки)'
|
||||
homepage='https://gitflic.ru/project/xpamych/hlna'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
@ -13,7 +13,7 @@ deps=('python3' 'python3-pip' 'steamcmd' 'python3-pyyaml' 'python3-click' 'pytho
|
||||
deps_arch=('python' 'python-pip' 'steamcmd' 'python-pyyaml' 'python-click' 'python-colorama' 'python-pyqt6')
|
||||
deps_ctlos=('python' 'python-pip' 'steamcmd' 'python-pyyaml' 'python-click' 'python-colorama' 'python-pyqt6')
|
||||
|
||||
sources=("git+https://gitflic.ru/project/plemyakh/hln-a.git")
|
||||
sources=("git+https://gitea.plemya-x.ru/Plemya-x/hln-a.git")
|
||||
checksums=('SKIP')
|
||||
|
||||
version() {
|
||||
|
@ -1,25 +0,0 @@
|
||||
diff -u a/i18n/vtzone.cpp a/i18n/vtzone.cpp
|
||||
--- a/i18n/vtzone.cpp 2023-07-14 09:05:38.000000000 +0100
|
||||
+++ b/i18n/vtzone.cpp 2023-07-14 09:05:38.000000000 +0100
|
||||
@@ -1735,14 +1735,14 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
- UnicodeString icutzprop;
|
||||
- UVector customProps(nullptr, uhash_compareUnicodeString, status);
|
||||
+ UVector customProps(uprv_deleteUObject, uhash_compareUnicodeString, status);
|
||||
if (olsonzid.length() > 0 && icutzver.length() > 0) {
|
||||
- icutzprop.append(olsonzid);
|
||||
- icutzprop.append(u'[');
|
||||
- icutzprop.append(icutzver);
|
||||
- icutzprop.append(u']');
|
||||
- customProps.addElement(&icutzprop, status);
|
||||
+ LocalPointer<UnicodeString> icutzprop(new UnicodeString(ICU_TZINFO_PROP), status);
|
||||
+ icutzprop->append(olsonzid);
|
||||
+ icutzprop->append(u'[');
|
||||
+ icutzprop->append(icutzver);
|
||||
+ icutzprop->append(u']');
|
||||
+ customProps.adoptElement(icutzprop.orphan(), status);
|
||||
}
|
||||
writeZone(writer, *tz, &customProps, status);
|
||||
}
|
519
icu/LICENSE
519
icu/LICENSE
@ -1,519 +0,0 @@
|
||||
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
|
||||
|
||||
See Terms of Use <https://www.unicode.org/copyright.html>
|
||||
for definitions of Unicode Inc.’s Data Files and Software.
|
||||
|
||||
NOTICE TO USER: Carefully read the following legal agreement.
|
||||
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
|
||||
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
|
||||
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
|
||||
TERMS AND CONDITIONS OF THIS AGREEMENT.
|
||||
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
|
||||
THE DATA FILES OR SOFTWARE.
|
||||
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright © 1991-2023 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Unicode data files and any associated documentation
|
||||
(the "Data Files") or Unicode software and any associated documentation
|
||||
(the "Software") to deal in the Data Files or Software
|
||||
without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, and/or sell copies of
|
||||
the Data Files or Software, and to permit persons to whom the Data Files
|
||||
or Software are furnished to do so, provided that either
|
||||
(a) this copyright and permission notice appear with all copies
|
||||
of the Data Files or Software, or
|
||||
(b) this copyright and permission notice appear in associated
|
||||
Documentation.
|
||||
|
||||
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
||||
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
||||
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
||||
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
||||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale,
|
||||
use or other dealings in these Data Files or Software without prior
|
||||
written authorization of the copyright holder.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Third-Party Software Licenses
|
||||
|
||||
This section contains third-party software notices and/or additional
|
||||
terms for licensed third-party software components included within ICU
|
||||
libraries.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
ICU License - ICU 1.8.1 to ICU 57.1
|
||||
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright (c) 1995-2016 International Business Machines Corporation and others
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, and/or sell copies of the Software, and to permit persons
|
||||
to whom the Software is furnished to do so, provided that the above
|
||||
copyright notice(s) and this permission notice appear in all copies of
|
||||
the Software and that both the above copyright notice(s) and this
|
||||
permission notice appear in supporting documentation.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
||||
HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
|
||||
SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
|
||||
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
||||
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of a copyright holder
|
||||
shall not be used in advertising or otherwise to promote the sale, use
|
||||
or other dealings in this Software without prior written authorization
|
||||
of the copyright holder.
|
||||
|
||||
All trademarks and registered trademarks mentioned herein are the
|
||||
property of their respective owners.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
|
||||
|
||||
# The Google Chrome software developed by Google is licensed under
|
||||
# the BSD license. Other software included in this distribution is
|
||||
# provided under other licenses, as set forth below.
|
||||
#
|
||||
# The BSD License
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
# Copyright (C) 2006-2008, Google Inc.
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
# Redistributions in binary form must reproduce the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided with
|
||||
# the distribution.
|
||||
# Neither the name of Google Inc. nor the names of its
|
||||
# contributors may be used to endorse or promote products derived from
|
||||
# this software without specific prior written permission.
|
||||
#
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
#
|
||||
# The word list in cjdict.txt are generated by combining three word lists
|
||||
# listed below with further processing for compound word breaking. The
|
||||
# frequency is generated with an iterative training against Google web
|
||||
# corpora.
|
||||
#
|
||||
# * Libtabe (Chinese)
|
||||
# - https://sourceforge.net/project/?group_id=1519
|
||||
# - Its license terms and conditions are shown below.
|
||||
#
|
||||
# * IPADIC (Japanese)
|
||||
# - http://chasen.aist-nara.ac.jp/chasen/distribution.html
|
||||
# - Its license terms and conditions are shown below.
|
||||
#
|
||||
# ---------COPYING.libtabe ---- BEGIN--------------------
|
||||
#
|
||||
# /*
|
||||
# * Copyright (c) 1999 TaBE Project.
|
||||
# * Copyright (c) 1999 Pai-Hsiang Hsiao.
|
||||
# * All rights reserved.
|
||||
# *
|
||||
# * Redistribution and use in source and binary forms, with or without
|
||||
# * modification, are permitted provided that the following conditions
|
||||
# * are met:
|
||||
# *
|
||||
# * . Redistributions of source code must retain the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer.
|
||||
# * . Redistributions in binary form must reproduce the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer in
|
||||
# * the documentation and/or other materials provided with the
|
||||
# * distribution.
|
||||
# * . Neither the name of the TaBE Project nor the names of its
|
||||
# * contributors may be used to endorse or promote products derived
|
||||
# * from this software without specific prior written permission.
|
||||
# *
|
||||
# * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
# * OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# */
|
||||
#
|
||||
# /*
|
||||
# * Copyright (c) 1999 Computer Systems and Communication Lab,
|
||||
# * Institute of Information Science, Academia
|
||||
# * Sinica. All rights reserved.
|
||||
# *
|
||||
# * Redistribution and use in source and binary forms, with or without
|
||||
# * modification, are permitted provided that the following conditions
|
||||
# * are met:
|
||||
# *
|
||||
# * . Redistributions of source code must retain the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer.
|
||||
# * . Redistributions in binary form must reproduce the above copyright
|
||||
# * notice, this list of conditions and the following disclaimer in
|
||||
# * the documentation and/or other materials provided with the
|
||||
# * distribution.
|
||||
# * . Neither the name of the Computer Systems and Communication Lab
|
||||
# * nor the names of its contributors may be used to endorse or
|
||||
# * promote products derived from this software without specific
|
||||
# * prior written permission.
|
||||
# *
|
||||
# * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
# * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
# * OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# */
|
||||
#
|
||||
# Copyright 1996 Chih-Hao Tsai @ Beckman Institute,
|
||||
# University of Illinois
|
||||
# c-tsai4@uiuc.edu http://casper.beckman.uiuc.edu/~c-tsai4
|
||||
#
|
||||
# ---------------COPYING.libtabe-----END--------------------------------
|
||||
#
|
||||
#
|
||||
# ---------------COPYING.ipadic-----BEGIN-------------------------------
|
||||
#
|
||||
# Copyright 2000, 2001, 2002, 2003 Nara Institute of Science
|
||||
# and Technology. All Rights Reserved.
|
||||
#
|
||||
# Use, reproduction, and distribution of this software is permitted.
|
||||
# Any copy of this software, whether in its original form or modified,
|
||||
# must include both the above copyright notice and the following
|
||||
# paragraphs.
|
||||
#
|
||||
# Nara Institute of Science and Technology (NAIST),
|
||||
# the copyright holders, disclaims all warranties with regard to this
|
||||
# software, including all implied warranties of merchantability and
|
||||
# fitness, in no event shall NAIST be liable for
|
||||
# any special, indirect or consequential damages or any damages
|
||||
# whatsoever resulting from loss of use, data or profits, whether in an
|
||||
# action of contract, negligence or other tortuous action, arising out
|
||||
# of or in connection with the use or performance of this software.
|
||||
#
|
||||
# A large portion of the dictionary entries
|
||||
# originate from ICOT Free Software. The following conditions for ICOT
|
||||
# Free Software applies to the current dictionary as well.
|
||||
#
|
||||
# Each User may also freely distribute the Program, whether in its
|
||||
# original form or modified, to any third party or parties, PROVIDED
|
||||
# that the provisions of Section 3 ("NO WARRANTY") will ALWAYS appear
|
||||
# on, or be attached to, the Program, which is distributed substantially
|
||||
# in the same form as set out herein and that such intended
|
||||
# distribution, if actually made, will neither violate or otherwise
|
||||
# contravene any of the laws and regulations of the countries having
|
||||
# jurisdiction over the User or the intended distribution itself.
|
||||
#
|
||||
# NO WARRANTY
|
||||
#
|
||||
# The program was produced on an experimental basis in the course of the
|
||||
# research and development conducted during the project and is provided
|
||||
# to users as so produced on an experimental basis. Accordingly, the
|
||||
# program is provided without any warranty whatsoever, whether express,
|
||||
# implied, statutory or otherwise. The term "warranty" used herein
|
||||
# includes, but is not limited to, any warranty of the quality,
|
||||
# performance, merchantability and fitness for a particular purpose of
|
||||
# the program and the nonexistence of any infringement or violation of
|
||||
# any right of any third party.
|
||||
#
|
||||
# Each user of the program will agree and understand, and be deemed to
|
||||
# have agreed and understood, that there is no warranty whatsoever for
|
||||
# the program and, accordingly, the entire risk arising from or
|
||||
# otherwise connected with the program is assumed by the user.
|
||||
#
|
||||
# Therefore, neither ICOT, the copyright holder, or any other
|
||||
# organization that participated in or was otherwise related to the
|
||||
# development of the program and their respective officials, directors,
|
||||
# officers and other employees shall be held liable for any and all
|
||||
# damages, including, without limitation, general, special, incidental
|
||||
# and consequential damages, arising out of or otherwise in connection
|
||||
# with the use or inability to use the program or any product, material
|
||||
# or result produced or otherwise obtained by using the program,
|
||||
# regardless of whether they have been advised of, or otherwise had
|
||||
# knowledge of, the possibility of such damages at any time during the
|
||||
# project or thereafter. Each user will be deemed to have agreed to the
|
||||
# foregoing by his or her commencement of use of the program. The term
|
||||
# "use" as used herein includes, but is not limited to, the use,
|
||||
# modification, copying and distribution of the program and the
|
||||
# production of secondary products from the program.
|
||||
#
|
||||
# In the case where the program, whether in its original form or
|
||||
# modified, was distributed or delivered to or received by a user from
|
||||
# any person, organization or entity other than ICOT, unless it makes or
|
||||
# grants independently of ICOT any specific warranty to the user in
|
||||
# writing, such person, organization or entity, will also be exempted
|
||||
# from and not be held liable to the user for any such damages as noted
|
||||
# above as far as the program is concerned.
|
||||
#
|
||||
# ---------------COPYING.ipadic-----END----------------------------------
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Lao Word Break Dictionary Data (laodict.txt)
|
||||
|
||||
# Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
# License & terms of use: http://www.unicode.org/copyright.html
|
||||
# Copyright (c) 2015 International Business Machines Corporation
|
||||
# and others. All Rights Reserved.
|
||||
#
|
||||
# Project: https://github.com/rober42539/lao-dictionary
|
||||
# Dictionary: https://github.com/rober42539/lao-dictionary/laodict.txt
|
||||
# License: https://github.com/rober42539/lao-dictionary/LICENSE.txt
|
||||
# (copied below)
|
||||
#
|
||||
# This file is derived from the above dictionary version of Nov 22, 2020
|
||||
# ----------------------------------------------------------------------
|
||||
# Copyright (C) 2013 Brian Eugene Wilson, Robert Martin Campbell.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
#
|
||||
# Redistributions of source code must retain the above copyright notice, this
|
||||
# list of conditions and the following disclaimer. Redistributions in binary
|
||||
# form must reproduce the above copyright notice, this list of conditions and
|
||||
# the following disclaimer in the documentation and/or other materials
|
||||
# provided with the distribution.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
# COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Burmese Word Break Dictionary Data (burmesedict.txt)
|
||||
|
||||
# Copyright (c) 2014 International Business Machines Corporation
|
||||
# and others. All Rights Reserved.
|
||||
#
|
||||
# This list is part of a project hosted at:
|
||||
# github.com/kanyawtech/myanmar-karen-word-lists
|
||||
#
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) 2013, LeRoy Benjamin Sharon
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
# are met: Redistributions of source code must retain the above
|
||||
# copyright notice, this list of conditions and the following
|
||||
# disclaimer. Redistributions in binary form must reproduce the
|
||||
# above copyright notice, this list of conditions and the following
|
||||
# disclaimer in the documentation and/or other materials provided
|
||||
# with the distribution.
|
||||
#
|
||||
# Neither the name Myanmar Karen Word Lists, nor the names of its
|
||||
# contributors may be used to endorse or promote products derived
|
||||
# from this software without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
# CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
|
||||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Time Zone Database
|
||||
|
||||
ICU uses the public domain data and code derived from Time Zone
|
||||
Database for its time zone support. The ownership of the TZ database
|
||||
is explained in BCP 175: Procedure for Maintaining the Time Zone
|
||||
Database section 7.
|
||||
|
||||
# 7. Database Ownership
|
||||
#
|
||||
# The TZ database itself is not an IETF Contribution or an IETF
|
||||
# document. Rather it is a pre-existing and regularly updated work
|
||||
# that is in the public domain, and is intended to remain in the
|
||||
# public domain. Therefore, BCPs 78 [RFC5378] and 79 [RFC3979] do
|
||||
# not apply to the TZ Database or contributions that individuals make
|
||||
# to it. Should any claims be made and substantiated against the TZ
|
||||
# Database, the organization that is providing the IANA
|
||||
# Considerations defined in this RFC, under the memorandum of
|
||||
# understanding with the IETF, currently ICANN, may act in accordance
|
||||
# with all competent court orders. No ownership claims will be made
|
||||
# by ICANN or the IETF Trust on the database or the code. Any person
|
||||
# making a contribution to the database or code waives all rights to
|
||||
# future claims in that contribution or in the TZ Database.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Google double-conversion
|
||||
|
||||
Copyright 2006-2011, the V8 project authors. All rights reserved.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
* Neither the name of Google Inc. nor the names of its
|
||||
contributors may be used to endorse or promote products derived
|
||||
from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
File: aclocal.m4 (only for ICU4C)
|
||||
Section: pkg.m4 - Macros to locate and utilise pkg-config.
|
||||
|
||||
|
||||
Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
||||
Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||
02111-1307, USA.
|
||||
|
||||
As a special exception to the GNU General Public License, if you
|
||||
distribute this file as part of a program that contains a
|
||||
configuration script generated by Autoconf, you may include it under
|
||||
the same distribution terms that you use for the rest of that
|
||||
program.
|
||||
|
||||
|
||||
(The condition for the exception is fulfilled because
|
||||
ICU4C includes a configuration script generated by Autoconf,
|
||||
namely the `configure` script.)
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
File: config.guess (only for ICU4C)
|
||||
|
||||
|
||||
This file is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
As a special exception to the GNU General Public License, if you
|
||||
distribute this file as part of a program that contains a
|
||||
configuration script generated by Autoconf, you may include it under
|
||||
the same distribution terms that you use for the rest of that
|
||||
program. This Exception is an additional permission under section 7
|
||||
of the GNU General Public License, version 3 ("GPLv3").
|
||||
|
||||
|
||||
(The condition for the exception is fulfilled because
|
||||
ICU4C includes a configuration script generated by Autoconf,
|
||||
namely the `configure` script.)
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
File: install-sh (only for ICU4C)
|
||||
|
||||
|
||||
Copyright 1991 by the Massachusetts Institute of Technology
|
||||
|
||||
Permission to use, copy, modify, distribute, and sell this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that
|
||||
the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of M.I.T. not be used in advertising or
|
||||
publicity pertaining to distribution of the software without specific,
|
||||
written prior permission. M.I.T. makes no representations about the
|
||||
suitability of this software for any purpose. It is provided "as is"
|
||||
without express or implied warranty.
|
55
icu/alr.sh
55
icu/alr.sh
@ -1,55 +0,0 @@
|
||||
name='icu'
|
||||
version='75.1'
|
||||
release='6'
|
||||
desc='International Components for Unicode library.'
|
||||
homepage='https://icu.unicode.org'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=(
|
||||
'LicenseRef-Unicode-3.0'
|
||||
'BSD-2-Clause'
|
||||
'BSD-3-Clause'
|
||||
)
|
||||
provides=('libicu-data.so' 'lib-i18n.so' 'libicu-io.so' 'libicu-test.so' 'libicu-tu.so' 'libicu-uc.so')
|
||||
conflicts=('libicu-data.so' 'lib-i18n.so' 'libicu-io.so' 'libicu-test.so' 'libicu-tu.so' 'libicu-uc.so')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
)
|
||||
|
||||
build_deps=('python')
|
||||
|
||||
sources=("https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd icu/source
|
||||
# Required fix for thunderbird 115 to show Calendar and sidebar properly
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1843007
|
||||
# https://unicode-org.atlassian.net/browse/ICU-22132
|
||||
patch -Np1 < "${scriptdir}/ICU-22132.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd icu/source
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--sbindir=/usr/bin \
|
||||
--enable-static \
|
||||
--enable-shared
|
||||
make -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
check() {
|
||||
cd icu/source
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd icu/source
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install-license "${scriptdir}"/LICENSE ./${name}/LICENSE
|
||||
}
|
40
karchive/alr.sh
Normal file
40
karchive/alr.sh
Normal file
@ -0,0 +1,40 @@
|
||||
name='karchive'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Qt addon providing access to numerous types of archives.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'qt6-qtbase'
|
||||
'xz'
|
||||
'zlib'
|
||||
'zstd'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
'libzstd-devel'
|
||||
'bzip2-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
41
kbookmarks/alr.sh
Normal file
41
kbookmarks/alr.sh
Normal file
@ -0,0 +1,41 @@
|
||||
name='kbookmarks'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Support for bookmarks and the XBEL format.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'kconfig'
|
||||
'kconfigwidgets'
|
||||
'kcoreaddons'
|
||||
'kwidgetaddons'
|
||||
'qt6-qtbase'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
38
kcodecs/alr.sh
Normal file
38
kcodecs/alr.sh
Normal file
@ -0,0 +1,38 @@
|
||||
name='kcodecs'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Provide a collection of methods to manipulate strings using various encodings.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'qt6-qtbase'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'gperf'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
37
kconfig/alr.sh
Normal file
37
kconfig/alr.sh
Normal file
@ -0,0 +1,37 @@
|
||||
name='kconfig'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Configuration system.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'qt6-qtbase'
|
||||
'qt6-qtdeclarative'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
43
kconfigwidgets/alr.sh
Normal file
43
kconfigwidgets/alr.sh
Normal file
@ -0,0 +1,43 @@
|
||||
name='kconfigwidgets'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Widgets for KConfig.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'kcodecs'
|
||||
'kcolorscheme'
|
||||
'kconfig'
|
||||
'kcoreaddons'
|
||||
'ki18n'
|
||||
'kwidgetaddons'
|
||||
'qt6-qtbase'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
42
kcoreaddons/alr.sh
Normal file
42
kcoreaddons/alr.sh
Normal file
@ -0,0 +1,42 @@
|
||||
name='kcoreaddons'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Addons to QtCore.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'qt6-qtbase'
|
||||
'systemd-libs'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-qtdeclarative'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
opt_deps=(
|
||||
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
42
kcrash/alr.sh
Normal file
42
kcrash/alr.sh
Normal file
@ -0,0 +1,42 @@
|
||||
name='kcrash'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Support for application crash analysis and bug report from apps.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'kcoreaddons'
|
||||
'libX11'
|
||||
'qt6-qtbase'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
opt_deps=(
|
||||
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
46
kdoctools/alr.sh
Normal file
46
kdoctools/alr.sh
Normal file
@ -0,0 +1,46 @@
|
||||
name='kdoctools'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='RDocumentation generation from docbook.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'docbook-style-xsl'
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'karchive'
|
||||
'libxml2'
|
||||
'libxslt'
|
||||
'qt6-qtbase'
|
||||
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'ki18n'
|
||||
'perl-URI'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
'libxslt-devel'
|
||||
'docbook-style-xsl'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON \
|
||||
-DDocBookXSL_DIR=/usr/share/sgml/docbook/xsl-stylesheets
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
49
kguiaddons/alr.sh
Normal file
49
kguiaddons/alr.sh
Normal file
@ -0,0 +1,49 @@
|
||||
name='kguiaddons'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Addons to QtGui.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'libX11'
|
||||
'qt6-qtbase'
|
||||
'qt6-qtwayland'
|
||||
'wayland'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'plasma-wayland-protocols-devel'
|
||||
'qt6-qtbase-devel'
|
||||
'qt6-qtbase-gui'
|
||||
'qt6-qtmultimedia-devel'
|
||||
'qt6-qtwayland-devel'
|
||||
'qt6-qtdeclarative'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
opt_deps=(
|
||||
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
41
ki18n/alr.sh
Normal file
41
ki18n/alr.sh
Normal file
@ -0,0 +1,41 @@
|
||||
name='ki18n'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Advanced internationalization framework.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'iso-codes'
|
||||
'qt6-qtbase'
|
||||
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'python3'
|
||||
'qt6-qtdeclarative-devel'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON \
|
||||
-DDocBookXSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-nons
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
44
kservice/alr.sh
Normal file
44
kservice/alr.sh
Normal file
@ -0,0 +1,44 @@
|
||||
name='kservice'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='Advanced plugin and service introspection.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'kconfig'
|
||||
'kcoreaddons'
|
||||
'ki18n'
|
||||
'qt6-qtbase'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'kdoctools'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
opt_deps=(
|
||||
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
80
maturin/alr.sh
Normal file
80
maturin/alr.sh
Normal file
@ -0,0 +1,80 @@
|
||||
name='maturin'
|
||||
version='1.7.8'
|
||||
release='1'
|
||||
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings.'
|
||||
homepage='https://github.com/PyO3/maturin'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('Apache-2.0 OR MIT')
|
||||
provides=('maturin')
|
||||
conflicts=('maturin')
|
||||
|
||||
depends=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'openssl'
|
||||
'rust'
|
||||
)
|
||||
build_deps=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'git'
|
||||
'glibc'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools'
|
||||
'python3-setuptools-rust'
|
||||
'python3-wheel'
|
||||
'rust'
|
||||
'cargo'
|
||||
'openssl-devel'
|
||||
)
|
||||
build_deps_almalinux=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'git'
|
||||
'glibc'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools'
|
||||
'python3-setuptools-rust'
|
||||
'python3-setuptools-wheel'
|
||||
'rust'
|
||||
'openssl-devel'
|
||||
)
|
||||
options=(!lto)
|
||||
sources=("https://github.com/PyO3/maturin/archive/v$version/$name-v$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
for f; do
|
||||
d="$srcdir/$p/${f#$pkgdir/}"
|
||||
mkdir -p "$(dirname "$d")"
|
||||
mv "$f" "$d"
|
||||
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $name-$version
|
||||
cargo fetch --locked --target "x86_64-unknown-linux-gnu"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
MATURIN_SETUP_ARGS="--all-features" python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $name-$version
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -vDm 644 {Changelog,README}.md -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
install-license license-mit ./maturin/LICENSE
|
||||
|
||||
(
|
||||
cd "$pkgdir"
|
||||
_pick python-name usr/lib
|
||||
)
|
||||
}
|
33
md4c/alr.sh
Normal file
33
md4c/alr.sh
Normal file
@ -0,0 +1,33 @@
|
||||
name='md4c'
|
||||
version='0.5.2'
|
||||
release='1'
|
||||
desc='C Markdown parser.'
|
||||
homepage='https://github.com/mity/md4c'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
|
||||
deps=(
|
||||
'glibc'
|
||||
)
|
||||
build_deps=(
|
||||
'cmake'
|
||||
)
|
||||
|
||||
sources=("https://github.com/mity/md4c/archive/release-$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-release-$version \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
install -Dm644 $name-release-$version/LICENSE.md -t "$pkgdir"/usr/share/licenses/$name/
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name='nlohmann-json'
|
||||
version='3.11.3'
|
||||
version='3.12.0'
|
||||
release='1'
|
||||
desc='Header-only JSON library for Modern C++'
|
||||
homepage='https://github.com/nlohmann/json'
|
||||
@ -14,21 +14,28 @@ sources=("git+https://github.com/nlohmann/json.git#tag=v${version}")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd ./build
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
|
||||
make -j$(nproc)
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd ./build
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
|
||||
make -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/build"
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
||||
make -j$(nproc)
|
||||
ctest --output-on-failure
|
||||
cd "${srcdir}/build"
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
||||
make -j$(($(nproc) - 1))
|
||||
ctest --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build"
|
||||
make "DESTDIR=${pkgdir}" install
|
||||
cd "${srcdir}/build"
|
||||
make "DESTDIR=${pkgdir}" install
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/include/nlohmann/detail/**/*
|
||||
printf '"%s" ' ./usr/include/nlohmann/thirdparty/hedley/*
|
||||
printf '"%s" ' ./usr/share/cmake/nlohmann_json/*
|
||||
echo ./usr/share/pkgconfig/nlohmann_json.pc
|
||||
}
|
119
nodejs/alr.sh
Normal file
119
nodejs/alr.sh
Normal file
@ -0,0 +1,119 @@
|
||||
name='nodejs'
|
||||
version='24.0.2'
|
||||
release='1'
|
||||
desc='Evented I/O for V8 javascript ("Current" release).'
|
||||
desk_ru='Событийно-ориентированный I/O для V8 javascript ("Текущая" версия).'
|
||||
homepage='https://nodejs.org/'
|
||||
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
provides=('nodejs')
|
||||
conflicts=('nodejs')
|
||||
|
||||
deps=(
|
||||
'brotli'
|
||||
'c-ares'
|
||||
'icu'
|
||||
'libnghttp2'
|
||||
'libnghttp3'
|
||||
'libngtcp2'
|
||||
'libuv'
|
||||
'openssl'
|
||||
'simdjson'
|
||||
'zlib'
|
||||
)
|
||||
deps_arch=(
|
||||
'brotli'
|
||||
'c-ares'
|
||||
'icu-devel'
|
||||
'libnghttp2'
|
||||
'libnghttp3'
|
||||
'libngtcp2'
|
||||
'libuv'
|
||||
'openssl'
|
||||
'simdjson'
|
||||
'zlib'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'procps-ng'
|
||||
'python3'
|
||||
'python3-devel'
|
||||
'libuv-devel'
|
||||
'brotli-devel'
|
||||
'c-ares-devel'
|
||||
'icu'
|
||||
'libnghttp2-devel'
|
||||
'simdjson'
|
||||
'libnghttp3'
|
||||
'libngtcp2'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'git'
|
||||
'procps-ng'
|
||||
'python'
|
||||
|
||||
)
|
||||
|
||||
opt_deps=('npm: nodejs менеджер пакетов')
|
||||
|
||||
options=('!lto')
|
||||
sources=("https://github.com/nodejs/node/archive/refs/tags/v$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
_set_flags() {
|
||||
# /usr/lib/libnode.so uses malloc_usable_size, which is incompatible with fortification level 3
|
||||
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
}
|
||||
|
||||
build() {
|
||||
_set_flags
|
||||
cd node-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-npm \
|
||||
--with-intl=system-icu \
|
||||
--shared-brotli \
|
||||
--shared-cares \
|
||||
--shared-libuv \
|
||||
--shared-nghttp2 \
|
||||
--shared-nghttp3 \
|
||||
--shared-ngtcp2 \
|
||||
--shared-openssl \
|
||||
--shared-simdjson \
|
||||
--shared-zlib
|
||||
|
||||
make -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
check() {
|
||||
_set_flags
|
||||
cd node-$version
|
||||
# ignore failing tests, they work when compiled locally
|
||||
rm test/parallel/test-http2-client-set-priority.js
|
||||
rm test/parallel/test-http2-priority-event.js
|
||||
rm test/parallel/test-http-outgoing-end-cork.js
|
||||
make test-only -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
_set_flags
|
||||
cd node-$version
|
||||
make DESTDIR="$pkgdir" install
|
||||
install-license LICENSE ./nodejs/LICENSE
|
||||
}
|
||||
|
||||
#files() {
|
||||
# echo ./usr/bin/gpu-screen-recorder
|
||||
# echo ./usr/bin/gsr-kms-server
|
||||
# echo ./usr/lib/modprobe.d/gsr-nvidia.conf
|
||||
# echo ./usr/lib/systemd/user/gpu-screen-recorder.service
|
||||
#}
|
@ -1,34 +0,0 @@
|
||||
name='nv-codec-headers'
|
||||
version='12.2.72.0'
|
||||
release='1'
|
||||
desc='FFmpeg version of headers required to interface with Nvidias codec APIs.'
|
||||
homepage='https://github.com/FFmpeg/nv-codec-headers'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
licenses='MIT'
|
||||
provides=('nv-codec-headers')
|
||||
conflicts=('nv-codec-headers' 'nv-codec-headers-git')
|
||||
|
||||
build_deps_rosa=('cmake' 'git')
|
||||
sources=("https://github.com/FFmpeg/nv-codec-headers/releases/download/n12.2.72.0/nv-codec-headers-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd ./build
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/build"
|
||||
cmake ../json -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
||||
make -j$(nproc)
|
||||
ctest --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build"
|
||||
make "DESTDIR=${pkgdir}" install
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
name='obsidian-bin'
|
||||
version='1.6.7'
|
||||
version='1.8.10'
|
||||
release='1'
|
||||
desc='A powerful knowledge base that works on top of a local folder of plain text Markdown files'
|
||||
homepage='https://obsidian.md/'
|
||||
@ -9,7 +9,7 @@ license=('custom:Commercial')
|
||||
provides=('obsidian')
|
||||
conflicts=('obsidian')
|
||||
|
||||
deps=('zlib' 'hicolor-icon-theme' 'fuse3' 'electron')
|
||||
deps=('zlib' 'hicolor-icon-theme' 'fuse3' 'electron-bin')
|
||||
deps_debian=('zlib1g' 'hicolor-icon-theme' 'fuse3')
|
||||
build_deps=('npm')
|
||||
|
||||
@ -26,9 +26,16 @@ prepare() {
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${scriptdir}/obsidian" "${pkgdir}/usr/bin/obsidian"
|
||||
install -Dm644 "${scriptdir}/obsidian.desktop" -t "${pkgdir}/usr/share/applications/"
|
||||
install-binary "${scriptdir}/obsidian"
|
||||
install-desktop "${scriptdir}/obsidian.desktop"
|
||||
install -Dm644 ./icon.png "${pkgdir}/usr/share/pixmaps/obsidian.png"
|
||||
mkdir -p "${pkgdir}/usr/lib/obsidian"
|
||||
cp -a "${srcdir}/obsidian-${version}/resources/." "${pkgdir}/usr/lib/obsidian"
|
||||
}
|
||||
|
||||
files() {
|
||||
echo /usr/bin/obsidian
|
||||
printf '"%s" ' /usr/lib/obsidian
|
||||
echo /usr/share/applications/obsidian.desktop
|
||||
echo /usr/share/pixmaps/obsidian.png
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- a/usr/share/applications/onlyoffice-desktopeditors.desktop
|
||||
+++ b/usr/share/applications/onlyoffice-desktopeditors.desktop
|
||||
@@ -6,7 +6,7 @@ GenericName[ru]=Редактор док<D0BE>
|
||||
Comment=Edit office documents
|
||||
Comment[ru]=Редактировать офисные документы
|
||||
Type=Application
|
||||
-Exec=/usr/bin/onlyoffice-desktopeditors %U
|
||||
+Exec=/usr/bin/onlyoffice-desktopeditors %F
|
||||
Terminal=false
|
||||
Icon=onlyoffice-desktopeditors
|
||||
Keywords=Text;Document;OpenDocument Text;Microsoft Word;Microsoft Works;odt;doc;docx;rtf;
|
@ -1,68 +0,0 @@
|
||||
name='onlyoffice-bin'
|
||||
version='8.1.1'
|
||||
release='1'
|
||||
desc='An office suite that combines text, spreadsheet and presentation editors'
|
||||
homepage='https://www.onlyoffice.com/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('AGPL-3.0-only')
|
||||
provides=('onlyoffice')
|
||||
conflicts=('onlyoffice')
|
||||
|
||||
deps=('curl' 'gtk3' 'alsa-lib' 'libpulse' 'gstreamer' 'gst-plugins-base-libs'
|
||||
'gst-plugins-ugly' 'libxss' 'nss' 'nspr' 'ttf-dejavu' 'ttf-liberation'
|
||||
'ttf-carlito' 'desktop-file-utils' 'hicolor-icon-theme')
|
||||
deps_redos=('pulseaudio-libs' 'gstreamer1-plugins-base' 'gstreamer1-plugins-ugly' 'libXScrnSaver' 'dejavu-sans-fonts' 'liberation-fonts' 'google-carlito-fonts')
|
||||
build_deps_redos=('bsdtar')
|
||||
opt_deps=('libreoffice: for OpenSymbol fonts')
|
||||
|
||||
options=('!strip' '!emptydirs')
|
||||
sources=("https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${version}/onlyoffice-desktopeditors_amd64.deb")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
mkdir -p "onlyoffice-${version}/pkg"
|
||||
bsdtar -xf "${srcdir}/onlyoffice-desktopeditors_amd64.deb" -C "onlyoffice-${version}"
|
||||
bsdtar -xf "onlyoffice-${version}/data.tar.xz" -C "onlyoffice-${version}/pkg"
|
||||
patch -d onlyoffice-${version}/pkg -Np1 -i "${scriptdir}/010-onlyoffice-bin-fix-document-opening.patch"
|
||||
}
|
||||
|
||||
scripts=(
|
||||
['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd $srcdir
|
||||
cp -dr --no-preserve='ownership' "onlyoffice-${version}"/pkg/* "$pkgdir"
|
||||
|
||||
# icons
|
||||
local icon_size icon_dir
|
||||
for icon_size in 16 32 48 64 128 256 512; do
|
||||
icon_dir="${pkgdir}/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
||||
install -d "${icon_dir}"
|
||||
install -m644 "${srcdir}/onlyoffice-${version}/pkg/opt/onlyoffice/desktopeditors/asc-de-${icon_size}.png" "${icon_dir}/onlyoffice-desktopeditors.png"
|
||||
done
|
||||
|
||||
rename_directories() {
|
||||
for dir in "$1"/*; do
|
||||
if [ -d "$dir" ]; then
|
||||
dir_name=$(basename "$dir")
|
||||
if [[ "$dir_name" == *\{*\}* ]]; then
|
||||
new_dir_name=$(echo "$dir_name" | tr -d '{}')
|
||||
mv "$dir" "$1/$new_dir_name"
|
||||
echo "Переименован: $dir -> $1/$new_dir_name"
|
||||
rename_directories "$1/$new_dir_name"
|
||||
else
|
||||
rename_directories "$dir"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# Запускаем функцию переименования с корневым каталогом
|
||||
rename_directories "${pkgdir}/opt/onlyoffice/desktopeditors/editors/sdkjs-plugins"
|
||||
|
||||
# 3rd party licenses
|
||||
install -d -m755 "${pkgdir}/usr/share/licenses/${name}"
|
||||
ln -s $pkgdir/$name/opt/onlyoffice/desktopeditors/3DPARTYLICENSE "${pkgdir}/usr/share/licenses/${name}/3DPARTYLICENSE"
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Устанавливаем путь к каталогу
|
||||
base_dir="/opt/onlyoffice/desktopeditors/editors/sdkjs-plugins"
|
||||
|
||||
# Проверяем, существует ли базовый каталог
|
||||
if [ ! -d "$base_dir" ]; then
|
||||
echo "Каталог $base_dir не существует."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Перебираем все каталоги в базовом каталоге
|
||||
for dir in "$base_dir"/*; do
|
||||
if [ -d "$dir" ]; then
|
||||
# Получаем имя каталога
|
||||
dir_name=$(basename "$dir")
|
||||
|
||||
# Пропускаем каталог с именем "v1"
|
||||
if [ "$dir_name" == "v1" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Новое имя каталога с добавлением фигурных скобок
|
||||
new_dir_name="{$dir_name}"
|
||||
|
||||
# Полные пути к старому и новому каталогу
|
||||
old_dir_path="$base_dir/$dir_name"
|
||||
new_dir_path="$base_dir/$new_dir_name"
|
||||
|
||||
# Переименовываем каталог
|
||||
mv "$old_dir_path" "$new_dir_path"
|
||||
echo "Каталог $old_dir_path переименован в $new_dir_path"
|
||||
fi
|
||||
done
|
15
pnpm/alr.sh
15
pnpm/alr.sh
@ -1,5 +1,5 @@
|
||||
name='pnpm'
|
||||
version='9.4.0'
|
||||
version='10.11.0'
|
||||
release='1'
|
||||
desc='Fast, disk space efficient package manager'
|
||||
homepage='https://pnpm.io'
|
||||
@ -22,11 +22,18 @@ package() {
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/pnpm.cjs ${pkgdir}/usr/lib/node_modules/pnpm/dist/pnpm.cjs
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/pnpmrc ${pkgdir}/usr/lib/node_modules/pnpm/dist/pnpmrc
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/worker.js ${pkgdir}/usr/lib/node_modules/pnpm/dist/worker.js
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/scripts/bash.sh ${pkgdir}/usr/lib/node_modules/pnpm/dist/scripts/bash.sh
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/scripts/fish.sh ${pkgdir}/usr/lib/node_modules/pnpm/dist/scripts/fish.sh
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/scripts/zsh.sh ${pkgdir}/usr/lib/node_modul8.15.2es/pnpm/dist/scripts/zsh.sh
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/templates/completion.bash ${pkgdir}/usr/lib/node_modules/pnpm/dist/templates/completion.bash
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/templates/completion.fish ${pkgdir}/usr/lib/node_modules/pnpm/dist/templates/completion.fish
|
||||
install -Dm755 ${srcdir}/usr/lib/node_modules/pnpm/dist/templates/completion.zsh ${pkgdir}/usr/lib/node_modules/pnpm/dist/templates/completion.zsh
|
||||
install -Dm755 ${srcdir}/usr/share/licenses/pnpm/LICENSE ${pkgdir}/usr/share/licenses/pnpm/LICENSE
|
||||
install -d ${pkgdir}/usr/bin
|
||||
ln -s ${pkgdir}/usr/lib/node_modules/pnpm/bin/pnpm.cjs ${pkgdir}/usr/bin/pnpm
|
||||
ln -s ${pkgdir}/usr/lib/node_modules/pnpm/bin/pnpx.cjs ${pkgdir}/usr/bin/pnpx
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/lib/node_modules/pnpm/**/*
|
||||
echo ./usr/bin/pnpm
|
||||
echo ./usr/bin/pnpx
|
||||
echo ./usr/share/licenses/pnpm/LICENSE
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
name='portproton'
|
||||
version='1.7.1'
|
||||
release='1'
|
||||
desc='PortProton is a project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.'
|
||||
homepage='https://linux-gaming.ru/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
licenses='MIT'
|
||||
provides=('portproton')
|
||||
conflicts=('portproton')
|
||||
|
||||
deps_arch=('bash' 'icoutils' 'yad' 'bubblewrap' 'zstd' 'cabextract' 'gzip' 'tar' 'openssl' 'desktop-file-utils' 'curl' 'dbus' 'freetype2' 'xdg-utils' 'gdk-pixbuf2' 'ttf-font' 'nss' 'xorg-xrandr' 'mesa-utils' 'vulkan-driver' 'vulkan-icd-loader' 'lib32-libgl' 'lib32-gcc-libs' 'vulkan-tools' 'lib32-libx11' 'lib32-libxss' 'lib32-alsa-plugins' 'lib32-libgpg-error' 'lib32-gnutls' 'lib32-freetype2' 'lib32-nss' 'lib32-vulkan-driver' 'lib32-vulkan-icd-loader' 'lib32-openssl' 'lib32-mesa-utils' 'python-pillow' 'lib32-pipewire' 'jq')
|
||||
deps_debian=('apt (>= 1.6)' 'apt-transport-https' 'ca-certificates' 'coreutils (>= 8.23-1)' 'curl' 'file' 'libc6 (>= 2.15)' 'libnss3 (>= 2:3.26)' 'policykit-1' 'xz-utils' 'bubblewrap' 'icoutils' 'tar' 'vulkan-tools' 'libvulkan1' 'zstd' 'cabextract' 'xdg-utils' 'openssl' 'bc' 'libgl1' 'wmctrl' 'pciutils' 'desktop-file-utils' 'fontconfig' 'imagemagick' 'yad' 'jq')
|
||||
deps_fedora=('yad' 'curl' 'icoutils' 'libcurl' 'bubblewrap' 'zstd' 'cabextract' 'tar' 'goverlay' 'openssl' 'vulkan-loader(x86-32)' 'vulkan-loader' 'mesa-vulkan-drivers' 'mesa-vulkan-drivers(x86-32)' 'mesa-libGL' 'mesa-dri-drivers' 'mesa-dri-drivers(x86-32)' 'ImageMagick' 'jq')
|
||||
deps_redos=('bash' 'icoutils' 'yad' 'bubblewrap' 'zstd' 'cabextract' 'gzip' 'tar' 'openssl' 'desktop-file-utils' 'curl' 'dbus-broker' 'freetype' 'xdg-utils' 'gdk-pixbuf2' 'gnu-free-mono-fonts' 'gnu-free-sans-fonts' 'gnu-free-serif-fonts' 'nss-tools' 'libXrandr' 'mesa-demos' 'mesa-vulkan-drivers' 'vulkan-loader' 'vulkan-tools' 'libglvnd(x86-32)' 'libgcc(x86-32)' 'ImageMagick' 'libX11(x86-32)' 'libXScrnSaver(x86-32)' 'alsa-lib(x86-32)' 'libgpg-error(x86-32)' 'python3-pillow' 'jq')
|
||||
|
||||
opt_deps_arch=('gamemode: Support for Feral GameMode'
|
||||
'lib32-gamemode: 32-bit support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope'
|
||||
'icoextract: For proper icon creation in GNOME')
|
||||
opt_deps_fedora=('gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope'
|
||||
'icoextract: For proper icon creation in GNOME')
|
||||
opt_deps_debian=('gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope'
|
||||
'python3-icoextract: For proper icon creation in GNOME')
|
||||
opt_deps_redos=('gamemode: Support for Feral GameMode'
|
||||
'gamescope: Support for Gamescope')
|
||||
|
||||
sources=(
|
||||
"git+https://github.com/Castro-Fidel/PortProton_ALT.git#tag=v${version}"
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
scripts=(
|
||||
['preinstall']='preinstall.sh'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd PortProton_ALT
|
||||
install -Dm755 "portproton" "${pkgdir}/usr/bin/${name}"
|
||||
install -Dm644 "ru.linux_gaming.PortProton.desktop" "${pkgdir}/usr/share/applications/${name}.desktop"
|
||||
install -Dm644 "ru.linux_gaming.PortProton.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/ru.linux_gaming.PortProton.svg"
|
||||
install -Dm644 "ru.linux_gaming.PortProton.metainfo.xml" -t "${pkgdir}/usr/share/metainfo/"
|
||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${name}/LICENSE"
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
if grep -q ID=debian "/etc/os-release"; then
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get install libvulkan1:i386 libgl1:i386
|
||||
sudo apt-get update
|
||||
elif grep -q ID=fedora "/etc/os-release"; then
|
||||
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
sudo dnf update
|
||||
sudo dnf upgrade --refresh
|
||||
fi
|
40
prison/alr.sh
Normal file
40
prison/alr.sh
Normal file
@ -0,0 +1,40 @@
|
||||
name='prison'
|
||||
version='6.7.0'
|
||||
release='1'
|
||||
desc='A barcode API to produce QRCode barcodes and DataMatrix barcodes.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'libdmtx'
|
||||
'qrencode'
|
||||
'qt6-qtbase'
|
||||
'qt6-qtmultimedia'
|
||||
'libZXing3'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qrencode-devel'
|
||||
'qt6-qtdeclarative'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/bin/python -m pupgui2 "$@"
|
@ -1,36 +0,0 @@
|
||||
name='protonup-qt'
|
||||
version='2.9.2'
|
||||
release='3'
|
||||
desc='GUI for installing and updating Proton-GE for Steam and Wine-based compatibility tools like Wine-GE for Lutris. Partly based on protonup.'
|
||||
homepage='https://github.com/DavidoTek/ProtonUp-Qt'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
licenses='GPLv3'
|
||||
provides=('protonup-qt')
|
||||
conflicts=('protonup-qt')
|
||||
|
||||
deps_arch=('pyside6' 'python-inputs' 'python-psutil' 'python-requests' 'python-setproctitle' 'python-steam' 'python-vdf' 'python-pyxdg' 'python-pyaml' 'qt6-tools')
|
||||
build_deps_arch=('python3-build' 'python-setuptools' 'python-wheel')
|
||||
build_deps_redos=('python3-build' 'python3-installer' 'python3-setuptools' 'python3-steam' 'python3-zstandard' 'python3-wheel')
|
||||
deps_rosa=('python3-psutil' 'python3-requests' 'python3-setproctitle' 'python3-pyxdg' 'qt6-qttools')
|
||||
build_deps_rosa=('python3-build' 'python3-setuptools' 'python3-wheel' 'python3-pip')
|
||||
#deps=('')
|
||||
|
||||
sources=("https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/ProtonUp-Qt-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
prepare() {
|
||||
sed -i 's|Exec=net.davidotek.pupgui2|Exec=/usr/bin/protonup-qt|' ${srcdir}/ProtonUp-Qt-${version}/share/applications/net.davidotek.pupgui2.desktop
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/ProtonUp-Qt-${version}"
|
||||
python3 -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
cp -r ./share "${pkgdir}/usr/"
|
||||
install -Dm755 "${scriptdir}/ProtonUP-qt.sh" "${pkgdir}/usr/bin/${name}"
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
name='python-poetry'
|
||||
version='1.8.3'
|
||||
release='1'
|
||||
desc='Python dependency management and packaging made easy'
|
||||
homepage='https://python-poetry.org'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('poetry')
|
||||
conflicts=('poetry')
|
||||
|
||||
deps=(
|
||||
'python-build'
|
||||
'python-cachecontrol'
|
||||
'python-cachy'
|
||||
'python-cleo'
|
||||
'python-crashtest'
|
||||
'python-dulwich'
|
||||
'python-filelock'
|
||||
'python-html5lib'
|
||||
'python-installer'
|
||||
'python-jsonschema'
|
||||
'python-keyring'
|
||||
'python-lockfile'
|
||||
'python-packaging'
|
||||
'python-pexpect'
|
||||
'python-pkginfo'
|
||||
'python-platformdirs'
|
||||
'python-poetry-core'
|
||||
'python-poetry-plugin-export'
|
||||
'python-pyproject-hooks'
|
||||
'python-requests'
|
||||
'python-requests-toolbelt'
|
||||
'python-shellingham'
|
||||
'python-tomlkit'
|
||||
'python-trove-classifiers'
|
||||
'python-urllib3'
|
||||
'python-virtualenv'
|
||||
)
|
||||
deps_redos=(
|
||||
'python3-build'
|
||||
'python3-CacheControl'
|
||||
'python3-cachy'
|
||||
'python3-cleo'
|
||||
'python3-crashtest'
|
||||
'python3-dulwich'
|
||||
'python3-filelock'
|
||||
'python3-html5lib'
|
||||
'python3-installer'
|
||||
'python3-jsonschema'
|
||||
'python3-keyring'
|
||||
'python3-lockfile'
|
||||
'python3-packaging'
|
||||
'python3-pexpect'
|
||||
'python3-pkginfo'
|
||||
'python3-platformdirs'
|
||||
'python3-poetry-core'
|
||||
'python3-poetry-plugin-export'
|
||||
'python3-pyproject-hooks'
|
||||
'python3-requests'
|
||||
'python3-requests-toolbelt'
|
||||
'python3-shellingham'
|
||||
'python3-tomlkit'
|
||||
'python3-trove-classifiers'
|
||||
'python3-urllib3'
|
||||
'python3-virtualenv'
|
||||
)
|
||||
build_deps=(
|
||||
'python-deepdiff' # not mentioned but required
|
||||
'python-psutil' # for python-pytest-xdist
|
||||
'python-httpretty'
|
||||
'python-pip' # not mentioned but required
|
||||
'python-pytest'
|
||||
'python-pytest-mock'
|
||||
'python-pytest-randomly'
|
||||
'python-pytest-xdist'
|
||||
)
|
||||
build_deps_redos=(
|
||||
'python3-deepdiff' # not mentioned but required
|
||||
'python-psutil' # for python-pytest-xdist
|
||||
'python3-httpretty'
|
||||
'python-pip' # not mentioned but required
|
||||
'python-pytest'
|
||||
'python-pytest-mock'
|
||||
'python3-pytest-randomly'
|
||||
'python-pytest-xdist'
|
||||
)
|
||||
opt_deps=('python-pip: to use pip with virtual environments')
|
||||
opt_deps_redos=('python3-pip: to use pip with virtual environments')
|
||||
|
||||
sources=("https://github.com/$name/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "poetry-$version"
|
||||
# Unpin crashtest which we have packaged at 0.4.0
|
||||
# https://bugs.archlinux.org/task/75733
|
||||
# Also unpin requests-toolbelt
|
||||
# https://github.com/python-poetry/poetry/pull/7893
|
||||
sed -i -e '/^crashtest/s/\^/>=/' -e '/^requests-toolbelt/s/,<0.11.0//' pyproject.toml
|
||||
}
|
||||
|
||||
build() {
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
cd "poetry-$version"
|
||||
python -m build -wn
|
||||
# install to tmp dir for tests and generate completions
|
||||
python -m installer --destdir=test_dir dist/*.whl
|
||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
||||
export PATH="$PWD/test_dir/usr/bin:$PATH"
|
||||
poetry completions bash > poetry.bash
|
||||
poetry completions zsh > poetry.zsh
|
||||
poetry completions fish > poetry.fish
|
||||
}
|
||||
|
||||
check() {
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
cd "poetry-$version"
|
||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
||||
pytest -vv tests
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "poetry-$version"
|
||||
python -m installer -d "$pkgdir" dist/*.whl
|
||||
install-license ./LICENSE ./poetry/LICENSE
|
||||
install -vDm 644 poetry.bash "$pkgdir/usr/share/bash-completion/completions/poetry"
|
||||
install -vDm 644 poetry.zsh "$pkgdir/usr/share/zsh/site-functions/_poetry"
|
||||
install -vDm 644 poetry.fish -t "$pkgdir/usr/share/fish/vendor_completions.d/"
|
||||
}
|
36
python3-cleo/alr.sh
Normal file
36
python3-cleo/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='python3-cleo'
|
||||
version='2.1.0'
|
||||
release='3'
|
||||
desc='Cleo allows you to create beautiful and testable command-line interfaces.'
|
||||
homepage='https://github.com/python-poetry/cleo'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('cleo')
|
||||
conflicts=('cleo')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/c/cleo/cleo-2.1.0.tar.gz")
|
||||
checksums=('blake2b-256:3c30f7960ed7041b158301c46774f87620352d50a9028d111b4211187af13783')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/cleo-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/cleo-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/cleo/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/cleo-${version}.dist-info/*
|
||||
}
|
68
python3-clevercsv/alr.sh
Normal file
68
python3-clevercsv/alr.sh
Normal file
@ -0,0 +1,68 @@
|
||||
name='python3-clevercsv'
|
||||
version='0.8.3'
|
||||
release='2'
|
||||
desc='A Python package for handling messy CSV files'
|
||||
homepage='https://github.com/alan-turing-institute/CleverCSV'
|
||||
license=('MIT')
|
||||
architectures=('amd64')
|
||||
|
||||
deps=(
|
||||
'python3-chardet'
|
||||
'python3-regex'
|
||||
'python3-packaging'
|
||||
)
|
||||
build_deps=(
|
||||
'git'
|
||||
'python3-setuptools'
|
||||
'python3-build'
|
||||
'python3-devel'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
)
|
||||
build_deps_almalinux=(
|
||||
'git'
|
||||
'python3-setuptools'
|
||||
'python3-build'
|
||||
'python3-devel'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
)
|
||||
#opt_deps=(
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-cchardet'
|
||||
# 'python3-pytest'
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-faust-cchardet'
|
||||
# 'python3-termcolor'
|
||||
#)
|
||||
|
||||
sources=("git+https://github.com/alan-turing-institute/CleverCSV.git#tag=v$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "CleverCSV"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "CleverCSV"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "CleverCSV"
|
||||
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
|
||||
PYTHONPATH="build/lib.linux-x86_64-cpython-${python_version}" pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "CleverCSV"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
mkdir "$pkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
|
||||
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$name/
|
||||
}
|
38
python3-deepdiff/alr.sh
Normal file
38
python3-deepdiff/alr.sh
Normal file
@ -0,0 +1,38 @@
|
||||
name='python3-deepdiff'
|
||||
version='8.5.0'
|
||||
release='1'
|
||||
desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other.'
|
||||
desk_ru='Глубокое сравнение и поиск любого Python объекта/данных. Восстановление объектов путем добавления дельт к друг другу.'
|
||||
homepage='https://github.com/seperman/deepdiff'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('deepdiff')
|
||||
conflicts=('deepdiff' 'python3-deepdiff')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip" "python3-flit_core")
|
||||
build_deps_arch=("python" "python-pip" "python3-flit_core")
|
||||
build_deps_alpine=("python3" "py3-pip" "python3-flit_core")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/d/deepdiff/deepdiff-$version.tar.gz")
|
||||
checksums=('blake2b-256:0a0f9cd2624f7dcd755cbf1fa21fb7234541f19a1be96a56f387ec9053ebe220')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/deepdiff-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/deepdiff-${version}"
|
||||
pip install --root="${pkgdir}/" . --ignore-installed --no-deps --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/deep
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/deepdiff/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/deepdiff-${version}.dist-info/*
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
name='python3-dotty-dict'
|
||||
version='1.3.1'
|
||||
release='1'
|
||||
release='2'
|
||||
desc='Dictionary wrapper for quick access to deeply nested keys.'
|
||||
homepage='https://github.com/pawelzny/dotty_dict'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
@ -19,7 +19,13 @@ build_deps=(
|
||||
'python3-wheel'
|
||||
'python3-pytest'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-poetry-core'
|
||||
'python3.12-wheel'
|
||||
'python3-pytest'
|
||||
)
|
||||
sources=("https://github.com/pawelzny/dotty_dict/archive/refs/tags/v${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name='python3-hjson'
|
||||
version='3.1.0'
|
||||
release='1'
|
||||
release='2'
|
||||
desc='JSON for Humans, allows comments and is less error prone.'
|
||||
homepage='https://github.com/laktak/hjson-py'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
@ -18,7 +18,9 @@ build_deps=(
|
||||
'python3-setuptools'
|
||||
'python3-wheel'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'python3.12-wheel'
|
||||
)
|
||||
sources=("https://pypi.io/packages/source/h/hjson/hjson-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
|
36
python3-inputs/alr.sh
Normal file
36
python3-inputs/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='python3-inputs'
|
||||
version='0.5'
|
||||
release='1'
|
||||
desc='Cross-platform Python support for keyboards, mice and gamepads.'
|
||||
homepage='https://github.com/zeth/inputs'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('BSD')
|
||||
provides=('inputs')
|
||||
conflicts=('inputs')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/i/inputs/inputs-0.5.tar.gz")
|
||||
checksums=('blake2b-256:d1cd5f434220920f76eb73d19bb7aab8d857445f40aa642718e6e51e850cd663')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/inputs-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/inputs-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/lib/python3.*/site-packages/inputs.py
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/inputs-${version}.dist-info/*
|
||||
}
|
39
python3-markdown-it-py/alr.sh
Normal file
39
python3-markdown-it-py/alr.sh
Normal file
@ -0,0 +1,39 @@
|
||||
name='python3-markdown-it-py'
|
||||
version='3.0.0'
|
||||
release='1'
|
||||
desc='Python port of markdown-it. Markdown parsing, done right'
|
||||
homepage=''
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('custom:Unknown')
|
||||
provides=('markdown-it-py')
|
||||
conflicts=('markdown-it-py')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
opt_deps=('python3-mdit-py-plugins: коллекция плагинов для markdown-it-py')
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/m/markdown-it-py/markdown-it-py-3.0.0.tar.gz")
|
||||
checksums=('blake2b-256:38713b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/markdown-it-py-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/markdown-it-py-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/markdown-it
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/markdown_it/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/markdown_it_py-${version}.dist-info/*
|
||||
}
|
73
python3-maturin/alr.sh
Normal file
73
python3-maturin/alr.sh
Normal file
@ -0,0 +1,73 @@
|
||||
name='python3-maturin'
|
||||
version='1.7.4'
|
||||
release='1'
|
||||
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings - Python bindings.'
|
||||
homepage='https://github.com/PyO3/maturin'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('Apache-2.0 OR MIT')
|
||||
provides=('python3-maturin')
|
||||
conflicts=('python3-maturin')
|
||||
|
||||
deps=(
|
||||
'maturin'
|
||||
'python'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'git'
|
||||
'glibc'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools'
|
||||
'python3-setuptools-rust'
|
||||
'python3-wheel'
|
||||
'rust'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'bzip2'
|
||||
'libgcc'
|
||||
'git'
|
||||
'glibc'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools'
|
||||
'python3-setuptools-rust'
|
||||
'python3-setuptools-wheel'
|
||||
'rust'
|
||||
)
|
||||
|
||||
options=(!lto)
|
||||
sources=("https://github.com/PyO3/maturin/archive/v$version/maturin-v$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
|
||||
_pick() {
|
||||
local p="$1" f d; shift
|
||||
for f; do
|
||||
d="$srcdir/$p/${f#$pkgdir/}"
|
||||
mkdir -p "$(dirname "$d")"
|
||||
mv "$f" "$d"
|
||||
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
|
||||
done
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd maturin-$version
|
||||
cargo fetch --locked --target "x86_64-unknown-linux-gnu"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd maturin-$version
|
||||
MATURIN_SETUP_ARGS="--all-features" python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd maturin-$version
|
||||
mv -v maturin/* "$pkgdir"
|
||||
|
||||
install-license ./license-mit ./python3-maturin/LICENSE
|
||||
}
|
36
python3-mdit-py-plugins/alr.sh
Normal file
36
python3-mdit-py-plugins/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='python3-mdit-py-plugins'
|
||||
version='0.4.2'
|
||||
release='1'
|
||||
desc='Collection of plugins for markdown-it-py.'
|
||||
homepage=''
|
||||
maintainer='Example <user@example.com>'
|
||||
architectures=('all')
|
||||
license=('custom:Unknown')
|
||||
provides=('mdit-py-plugins')
|
||||
conflicts=('mdit-py-plugins')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/m/mdit-py-plugins/mdit_py_plugins-0.4.2.tar.gz")
|
||||
checksums=('blake2b-256:1903a2ecab526543b152300717cf232bb4bb8605b6edb946c845016fa9c9c9fd')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/mdit_py_plugins-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/mdit_py_plugins-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/mdit_py_plugins/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/mdit_py_plugins-${version}.dist-info/*
|
||||
}
|
51
python3-orjson/alr.sh
Normal file
51
python3-orjson/alr.sh
Normal file
@ -0,0 +1,51 @@
|
||||
_name='orjson'
|
||||
name='python3-orjson'
|
||||
version='3.10.7'
|
||||
release=1
|
||||
desc="Fast, correct Python JSON library supporting dataclasses and datetimes"
|
||||
homepage="https://github.com/ijl/orjson"
|
||||
architectures=('amd64')
|
||||
license=(
|
||||
'Apache-2.0'
|
||||
'MIT'
|
||||
)
|
||||
deps=(
|
||||
'gcc-libs'
|
||||
'glibc'
|
||||
'python'
|
||||
)
|
||||
build_deps=(
|
||||
'maturin'
|
||||
'python3-maturin'
|
||||
'python3-installer'
|
||||
'rust'
|
||||
'python3-arrow'
|
||||
'python3-pendulum'
|
||||
'python3-psutil'
|
||||
'python3-pytest'
|
||||
'python3-pytz'
|
||||
'python3-xxhash'
|
||||
)
|
||||
sources=(https://github.com/ijl/orjson/archive/version/$_name-version.tar.gz)
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $_name-version
|
||||
maturin build --release --strip
|
||||
}
|
||||
|
||||
check() {
|
||||
local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
|
||||
cd $_name-version
|
||||
python -m installer --destdir=test_dir target/wheels/*.whl
|
||||
export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
|
||||
pytest -vv
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-version
|
||||
python -m installer --destdir="$pkgdir" target/wheels/*.whl
|
||||
install -vDm 644 {CHANGELOG,README}.md -t "$pkgdir/usr/share/doc/$name/"
|
||||
install -vDm 644 LICENSE-* -t "$pkgdir/usr/share/licenses/$name/"
|
||||
}
|
67
python3-pendulum/alr.sh
Normal file
67
python3-pendulum/alr.sh
Normal file
@ -0,0 +1,67 @@
|
||||
_name=pendulum
|
||||
name='python3-pendulum'
|
||||
version='3.0.0'
|
||||
release='1'
|
||||
desc='Python datetimes made easy'
|
||||
homepage='https://pendulum.eustace.io/'
|
||||
license=('MIT')
|
||||
architectures=('amd64')
|
||||
provides=('pendulum')
|
||||
conflicts=('pendulum')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'python'
|
||||
'python3-dateutil'
|
||||
'python3-tzdata'
|
||||
'python3-time-machine'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-maturin'
|
||||
'python3-wheel'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-maturin'
|
||||
'python3-setuptools-wheel'
|
||||
'python3-babel'
|
||||
'python3-freezegun'
|
||||
'python3-pytest'
|
||||
'python3-pytz'
|
||||
'python3-pytzdata'
|
||||
|
||||
)
|
||||
|
||||
sources=("https://github.com/sdispater/pendulum/archive/$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $_name-$version
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
local pytest_options=(
|
||||
-vv
|
||||
)
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
|
||||
cd $_name-$version
|
||||
# install to temporary location, as importlib is used
|
||||
python -m installer --destdir=test_dir dist/*.whl
|
||||
export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH"
|
||||
pytest "${pytest_options[@]}"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$version
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -vDm 644 {CHANGELOG.md,README.rst} -t "$pkgdir/usr/share/doc/$pkgname/"
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
36
python3-poetry-core/alr.sh
Normal file
36
python3-poetry-core/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='python3-poetry-core'
|
||||
version='2.1.3'
|
||||
release='1'
|
||||
desc='Poetry PEP 517 Build Backend.'
|
||||
homepage=''
|
||||
maintainer='Example <user@example.com>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('poetry-core')
|
||||
conflicts=('poetry-core')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/poetry-core/poetry_core-2.1.3.tar.gz")
|
||||
checksums=('blake2b-256:44cac2d21635a4525d427ae969d4cde155fb055c3b5d0bc4199b6de35bb6a826')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/poetry_core-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/poetry_core-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/poetry/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/poetry_core-${version}.dist-info/*
|
||||
}
|
39
python3-pyaml/alr.sh
Normal file
39
python3-pyaml/alr.sh
Normal file
@ -0,0 +1,39 @@
|
||||
name='python3-pyaml'
|
||||
version='25.1.0'
|
||||
release='2'
|
||||
desc='PyYAML-based module to produce a bit more pretty and readable YAML-serialized data.'
|
||||
desc_ru='Модуль PyYAML для создания более красивого и читаемого YAML-представления данных.'
|
||||
homepage='https://github.com/mk-fg/pretty-yaml'
|
||||
maintainer='Evgeniy Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('WTFPL')
|
||||
provides=('pyaml')
|
||||
conflicts=('pyaml')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-25.1.0.tar.gz")
|
||||
checksums=('blake2b-256:f40604b9c1907c13dc81729a9c6b4f42eab47baab7a8738ed5d2683eac215ad0')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/pyaml-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pyaml-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/pyaml
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/pyaml/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/pyaml-${version}.dist-info/*
|
||||
}
|
33
python3-pytest-regressions/alr.sh
Normal file
33
python3-pytest-regressions/alr.sh
Normal file
@ -0,0 +1,33 @@
|
||||
name='python3-pytest-regressions'
|
||||
version='2.7.0'
|
||||
release='1'
|
||||
desc='Fixtures to write regression tests.'
|
||||
homepage='https://github.com/ESSS/pytest-regressions'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('pytest-regressions')
|
||||
conflicts=('pytest-regressions')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
deps_almalinux=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
build_deps_almalinux=("python3" "python3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest_regressions-${version}.tar.gz")
|
||||
checksums=('blake2b-256:07402e233d49a86e2ba88325bcfdcad77fa56b05ba7ca61b58bc0212330e560a')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/pytest_regressions-${version}/"
|
||||
python3 -m build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pytest_regressions-${version}"
|
||||
python3 setup.py install --root="${pkgdir}/" --optimize=1 || return 1
|
||||
}
|
36
python3-pyyaml/alr.sh
Normal file
36
python3-pyyaml/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='python3-pyyaml'
|
||||
version='6.0.2'
|
||||
release='1'
|
||||
desc='YAML parser and emitter for Python.'
|
||||
homepage='https://pyyaml.org/'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('pyyaml')
|
||||
conflicts=('pyyaml')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip" "python3-cython")
|
||||
build_deps_arch=("python" "python-pip" "python-cython")
|
||||
build_deps_alpine=("python3" "py3-pip" "py3-cython")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/p/PyYAML/pyyaml-6.0.2.tar.gz")
|
||||
checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/pyyaml-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/pyyaml-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/yaml/*
|
||||
printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/pyyaml-${version}.dist-info/*
|
||||
}
|
43
python3-rich/alr.sh
Normal file
43
python3-rich/alr.sh
Normal file
@ -0,0 +1,43 @@
|
||||
name='python3-rich'
|
||||
version='14.0.0'
|
||||
release='1'
|
||||
desc='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal.'
|
||||
homepage='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('python3-rich')
|
||||
conflicts=('python3-rich' 'python-rich')
|
||||
|
||||
deps=(
|
||||
'python3-colorama'
|
||||
'python3-markdown-it-py'
|
||||
'python3-pygments'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-poetry-core'
|
||||
'python3-wheel'
|
||||
)
|
||||
|
||||
sources=("https://github.com/willmcgugan/rich/archive/v${version}/rich-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd rich-${version}
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd rich-${version}
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install-license LICENSE ./python3-rich/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/share/licenses/python3-rich/LICENSE
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/rich/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/rich-${version}.dist-info/*
|
||||
}
|
65
python3-setuptools-rust/alr.sh
Normal file
65
python3-setuptools-rust/alr.sh
Normal file
@ -0,0 +1,65 @@
|
||||
name='python3-setuptools-rust'
|
||||
version='1.11.1'
|
||||
release='1'
|
||||
desc='Compile and distribute Python extensions written in rust as easily as if they were written in C.'
|
||||
homepage='https://github.com/PyO3/setuptools-rust'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('setuptools-rust')
|
||||
conflicts=('setuptools-rust')
|
||||
|
||||
deps=(
|
||||
'rust'
|
||||
'python3-setuptools'
|
||||
'python3-semantic-version'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
'python3-setuptools-scm'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'git'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools-wheel'
|
||||
'python3-setuptools-scm'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/PyO3/setuptools-rust.git#tag=v$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd setuptools-rust
|
||||
python -m build -nw
|
||||
}
|
||||
|
||||
check() {
|
||||
cd setuptools-rust
|
||||
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
|
||||
for _dir in examples/*; do
|
||||
pushd $_dir
|
||||
PYTHONPATH="$PWD/../.." python -m build -nw
|
||||
python -m installer -d tmp_install dist/*.whl
|
||||
[[ -d tests || -d test ]] && PYTHONPATH="$PWD/tmp_install/usr/lib/python$python_version/site-packages" pytest tests
|
||||
popd
|
||||
done
|
||||
pytest --doctest-modules setuptools_rust
|
||||
}
|
||||
|
||||
package() {
|
||||
cd setuptools-rust
|
||||
python -m installer -d "$pkgdir" dist/*.whl
|
||||
install-license LICENSE ./python-setuptools-rust/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/share/licenses/python-setuptools-rust/LICENSE
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_rust/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_rust-${version}.dist-info/*
|
||||
}
|
70
python3-setuptools-scm/alr.sh
Normal file
70
python3-setuptools-scm/alr.sh
Normal file
@ -0,0 +1,70 @@
|
||||
_name=setuptools_scm
|
||||
name='python3-setuptools-scm'
|
||||
version='8.3.1'
|
||||
release='1'
|
||||
desc='Handles managing your python package versions in scm metadata.'
|
||||
homepage='https://github.com/pypa/setuptools_scm'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('python-setuptools-scm')
|
||||
conflicts=('python-setuptools-scm')
|
||||
|
||||
deps=(
|
||||
'python3-packaging'
|
||||
'python3-setuptools'
|
||||
)
|
||||
|
||||
build_deps=(
|
||||
'git'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
'mercurial'
|
||||
'python3-pip'
|
||||
'python3-pytest'
|
||||
'python3-rich'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'git'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
'python3-setuptools-wheel'
|
||||
'python3-pip'
|
||||
'python3-pytest'
|
||||
'python3-rich'
|
||||
)
|
||||
|
||||
sources=("git+https://github.com/pypa/setuptools_scm.git#tag=v$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $_name
|
||||
python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $_name
|
||||
python -m venv --system-site-packages test-env
|
||||
test-env/bin/python -m installer dist/*.whl
|
||||
# test_pyproject_support https://gitlab.archlinux.org/archlinux/packaging/packages/python-setuptools-scm/-/issues/1
|
||||
test-env/bin/python -m pytest -vk 'not test_not_owner and not test_pyproject_support'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/python3-setuptools-scm
|
||||
ln -s "$site_packages"/$_name-$version.dist-info/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/python3-setuptools-scm/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo /usr/share/licenses/python3-setuptools-scm
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_scm/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/setuptools_scm-*.dist-info/*
|
||||
}
|
36
python3-steam/alr.sh
Normal file
36
python3-steam/alr.sh
Normal file
@ -0,0 +1,36 @@
|
||||
name='steam'
|
||||
version='1.4.4'
|
||||
release='1'
|
||||
desc='Module for interacting with various Steam features.'
|
||||
homepage='https://github.com/ValvePython/steam'
|
||||
maintainer='Евгений Храмов <xramov@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('steam')
|
||||
conflicts=('steam')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/s/steam/steam-1.4.4.tar.gz")
|
||||
checksums=('blake2b-256:9a3162ac25584988182dee5ee949395e08943ff8b11634dc33abab7078d28433')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/steam-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/steam-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/steam/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/steam-${version}.dist-info/*
|
||||
}
|
39
python3-wheel/alr.sh
Normal file
39
python3-wheel/alr.sh
Normal file
@ -0,0 +1,39 @@
|
||||
name='python3-wheel'
|
||||
version='0.45.1'
|
||||
release='5'
|
||||
desc='This is a command line tool for manipulating Python wheel files, as defined in PEP 427'
|
||||
homepage='https://github.com/pypa/wheel'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('python-wheel')
|
||||
conflicts=('python-wheel')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
deps_almalinux=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
build_deps_almalinux=("python3" "python3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz")
|
||||
checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/wheel-${version}"
|
||||
python3 -m build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/wheel-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/wheel
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/wheel/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/wheel-${version}.dist-info/*
|
||||
}
|
31
python3-zstandard/alr.sh
Normal file
31
python3-zstandard/alr.sh
Normal file
@ -0,0 +1,31 @@
|
||||
name='zstandard'
|
||||
version='0.23.0'
|
||||
release='1'
|
||||
desc='Zstandard bindings for Python.'
|
||||
homepage='https://github.com/indygreg/python-zstandard'
|
||||
maintainer='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('BSD')
|
||||
provides=('zstandard')
|
||||
conflicts=('zstandard')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
|
||||
build_deps=("python3" "python3-pip")
|
||||
build_deps_arch=("python" "python-pip")
|
||||
build_deps_alpine=("python3" "py3-pip")
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/z/zstandard/zstandard-0.23.0.tar.gz")
|
||||
checksums=('blake2b-256:edf62ac0287b442160a89d726b17a9184a4c615bb5237db763791a7fd16d9df1')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/zstandard-${version}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/zstandard-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
|
||||
}
|
59
qca-qt6/alr.sh
Normal file
59
qca-qt6/alr.sh
Normal file
@ -0,0 +1,59 @@
|
||||
name='qca-qt6'
|
||||
version='2.3.9'
|
||||
release='1'
|
||||
desc='Qt Cryptographic Architecture.'
|
||||
homepage='https://userbase.kde.org/QCA'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.1-or-later')
|
||||
provides=('qca-qt6')
|
||||
conflicts=('qca-qt6' 'qca-qt6-bin' 'qca-qt6-git')
|
||||
|
||||
deps=(
|
||||
'ca-certificates'
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'nss'
|
||||
)
|
||||
build_deps=(
|
||||
'botan-devel'
|
||||
'cmake'
|
||||
'doxygen'
|
||||
'libgcrypt-devel'
|
||||
'libgsasl-devel'
|
||||
'openssl-devel'
|
||||
'pkcs11-helper'
|
||||
'qt5-qtbase-devel'
|
||||
'qt6-qtbase-devel'
|
||||
'qt6-qt5compat-devel'
|
||||
|
||||
)
|
||||
opt_deps=(
|
||||
'botan: botan plugin'
|
||||
'libgcrypt: gcrypt plugin'
|
||||
'libgsasl: SASL plugin'
|
||||
'openssl: SSL plugin'
|
||||
'pkcs11-helper: PKCS-11 plugin'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/qca/$version/qca-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build-qt6 -S qca-$version \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DQT6=ON \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DQCA_INSTALL_IN_QT_PREFIX=ON \
|
||||
-DQCA_MAN_INSTALL_DIR=/usr/share/man
|
||||
cmake --build build-qt6 -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build-qt6
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name='revolt-desktop-git'
|
||||
version='1.0.7.r13.g2373e7d'
|
||||
version='1.0.8'
|
||||
release='1'
|
||||
epoch='1'
|
||||
desc='Open source user-first chat platform.'
|
||||
@ -10,10 +10,10 @@ licenses='AGPL3'
|
||||
provides=('revolt-desktop-git' 'revolt-desktop')
|
||||
conflicts=('revolt-desktop-git' 'revolt-desktop')
|
||||
|
||||
deps=('electron22')
|
||||
deps=('electron-bin')
|
||||
|
||||
sources=(
|
||||
""git+https://github.com/revoltchat/desktop.git""
|
||||
""git+https://github.com/revoltchat/desktop.git#tag=v${version}""
|
||||
)
|
||||
|
||||
checksums=(
|
||||
@ -28,26 +28,28 @@ version() {
|
||||
build() {
|
||||
cd "$srcdir/desktop"
|
||||
|
||||
electronDist=/usr/lib/electron22
|
||||
electronDist=/usr/lib/electron
|
||||
electronVer=$(${electronDist}/electron --version | tail -c +2)
|
||||
|
||||
sed -i '/ "electron": /d' ./package.json
|
||||
HOME="$srcdir/.electron-gyp" npm install --cache "${srcdir}/npm-cache"
|
||||
npm install electron-builder@latest --save-dev
|
||||
|
||||
npm run build:bundle
|
||||
|
||||
./node_modules/.bin/electron-builder -l dir -c.electronDist=$electronDist -c.electronVersion=$electronVer
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/desktop"
|
||||
cd "$srcdir/desktop/"
|
||||
|
||||
install-binary -dm755 "${pkgdir}/usr/lib/${name%-git}"
|
||||
install -dm755 "${pkgdir}/usr/lib/${name%-git}"
|
||||
cp -dr --no-preserve=ownership dist/linux-unpacked/resources/* "${pkgdir}/usr/lib/${name%-git}/"
|
||||
|
||||
install -Dm644 build/icons/icon.png "$pkgdir/usr/share/pixmaps/${name%-git}.png"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/bin" "revolt-desktop"
|
||||
|
||||
install -Dm755 "revolt-desktop.sh" "$pkgdir/usr/bin/${name%-git}"
|
||||
install -Dm755 ${scriptdir}/revolt-desktop.sh ${pkgdir}/usr/bin/revolt-desktop
|
||||
install -Dm644 "revolt-desktop.desktop" -t "$pkgdir/usr/share/applications"
|
||||
}
|
||||
|
3
revolt-desktop-git/revolt-desktop.sh
Normal file
3
revolt-desktop-git/revolt-desktop.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec electron /usr/lib/revolt-desktop/app.asar "$@"
|
53
solid/alr.sh
Normal file
53
solid/alr.sh
Normal file
@ -0,0 +1,53 @@
|
||||
name='solid'
|
||||
version='6.7.0'
|
||||
release='3'
|
||||
desc='Hardware integration and detection.'
|
||||
homepage='https://community.kde.org/Frameworks'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('amd64')
|
||||
license=('LGPL-2.0-only' 'LGPL-3.0-only')
|
||||
|
||||
deps=(
|
||||
'libgcc'
|
||||
'glibc'
|
||||
'libimobiledevice'
|
||||
'libplist'
|
||||
'media-player-info'
|
||||
'qt6-qtbase'
|
||||
'systemd-libs'
|
||||
'udisks2'
|
||||
'upower'
|
||||
'util-linux'
|
||||
)
|
||||
build_deps=(
|
||||
'doxygen'
|
||||
'extra-cmake-modules'
|
||||
'qt6-qtdeclarative'
|
||||
'qt6-doctools'
|
||||
'qt6-qttools-devel'
|
||||
)
|
||||
opt_deps=(
|
||||
'qt6-qtdeclarative: ktranscript plugin and QML bindings'
|
||||
)
|
||||
|
||||
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd $name-$version
|
||||
patch -p1 < $scriptdir/wrong_argument_qchar.diff
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -B build -S $name-$version \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_QCH=ON
|
||||
cmake --build build -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
|
||||
|
49
solid/wrong_argument_qchar.diff
Normal file
49
solid/wrong_argument_qchar.diff
Normal file
@ -0,0 +1,49 @@
|
||||
diff --git a/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp b/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
|
||||
index 83e4425e..a85e5f0a 100644
|
||||
--- a/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
|
||||
+++ b/src/solid/power/backends/freedesktop/logindinhibitionargument.cpp
|
||||
@@ -19,5 +19,5 @@ QString LogindInhibitionArgument::fromPowerState(Power::InhibitionTypes states)
|
||||
if (states | Power::Shutdown) {
|
||||
args << QStringLiteral("shutdown");
|
||||
}
|
||||
- return args.join(QChar(':'));
|
||||
+ return args.join(QLatin1Char(':'));
|
||||
}
|
||||
diff --git a/src/tools/solid-power/main.cpp b/src/tools/solid-power/main.cpp
|
||||
index 497a3d84..03dc58e7 100644
|
||||
--- a/src/tools/solid-power/main.cpp
|
||||
+++ b/src/tools/solid-power/main.cpp
|
||||
@@ -21,9 +21,9 @@ int main(int argc, char **argv)
|
||||
QCommandLineParser parser;
|
||||
parser.setApplicationDescription(QCoreApplication::translate("solid-power", "Tool to know and set the power management state of your device"));
|
||||
parser.addHelpOption();
|
||||
- parser.addPositionalArgument("command", QCoreApplication::translate("solid-power", "Command to execute"));
|
||||
+ parser.addPositionalArgument(QStringLiteral("command"), QCoreApplication::translate("solid-power", "Command to execute"));
|
||||
|
||||
- QCommandLineOption commands("commands", QCoreApplication::translate("solid-power", "Show available commands"));
|
||||
+ QCommandLineOption commands(QStringLiteral("commands"), QCoreApplication::translate("solid-power", "Show available commands"));
|
||||
parser.addOption(commands);
|
||||
|
||||
parser.process(app);
|
||||
diff --git a/src/tools/solid-power/solid-power.cpp b/src/tools/solid-power/solid-power.cpp
|
||||
index 8fe0d8c2..257a19ba 100644
|
||||
--- a/src/tools/solid-power/solid-power.cpp
|
||||
+++ b/src/tools/solid-power/solid-power.cpp
|
||||
@@ -26,7 +26,7 @@ void SolidPower::show()
|
||||
auto job = Solid::Power::isAcPlugged(this);
|
||||
job->exec();
|
||||
|
||||
- QString status = job->isPlugged() ? "yes" : "no";
|
||||
+ QString status = job->isPlugged() ? tr("yes") : tr("no");
|
||||
|
||||
sCout << "is AC plugged:\t" << status << Qt::endl;
|
||||
}
|
||||
@@ -37,7 +37,7 @@ void SolidPower::listen()
|
||||
|
||||
connect(power, &Power::acPluggedChanged, [](bool plugged) {
|
||||
QTextStream lOut(stdout);
|
||||
- QString status = plugged ? "yes" : "no";
|
||||
+ QString status = plugged ? tr("yes") : tr("no");
|
||||
lOut << "\tAC plugged changed:\t" << status << Qt::endl;
|
||||
});
|
||||
|
@ -1,33 +1,51 @@
|
||||
name='syncthing-relaysrv'
|
||||
version='1.22.1'
|
||||
version='1.29.6'
|
||||
release='1'
|
||||
desc='This is the relay server for the syncthing project.'
|
||||
desc_ru='Релейный сервер для проекта Syncthing.'
|
||||
homepage='https://syncthing.net/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('MPL-2.0')
|
||||
provides=('syncthing-relaysrv')
|
||||
conflicts=('syncthing-relaysrv')
|
||||
|
||||
deps=('glibc')
|
||||
deps_debian=('libc6')
|
||||
build_deps=('git' 'go')
|
||||
|
||||
sources=("https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers")
|
||||
checksums=('SKIP'
|
||||
sources=(
|
||||
"https://github.com/syncthing/relaysrv/releases/download/v${version}/strelaysrv-linux-amd64-v${version}.tar.gz"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.service"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.tmpfiles"
|
||||
"https://raw.githubusercontent.com/archlinux/svntogit-community/packages/syncthing/trunk/syncthing-relaysrv.sysusers"
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "./strelaysrv-linux-amd64-v${version}/strelaysrv" "${pkgdir}/usr/bin/syncthing-relaysrv"
|
||||
install -Dm644 "${srcdir}/syncthing-relaysrv.service" "${pkgdir}/usr/lib/systemd/system/syncthing-relaysrv.service"
|
||||
install -Dm644 "${srcdir}/syncthing-relaysrv.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf"
|
||||
install -Dm644 "${srcdir}/syncthing-relaysrv.sysusers" "${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf"
|
||||
install-binary ./strelaysrv-linux-amd64-v${version}/strelaysrv syncthing-relaysrv
|
||||
install-systemd ./syncthing-relaysrv.service
|
||||
install-license ./strelaysrv-linux-amd64-v${version}/LICENSE.txt ./syncthing-relaysrv/LICENSE
|
||||
install -Dm644 ./syncthing-relaysrv.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/syncthing-relaysrv.conf
|
||||
install -Dm644 ./syncthing-relaysrv.sysusers ${pkgdir}/usr/lib/sysusers.d/syncthing-relaysrv.conf
|
||||
install -Dm644 ./strelaysrv-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing-relaysrv/README.md
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/syncthing-relaysrv
|
||||
echo ./usr/lib/systemd/system/syncthing-relaysrv.service
|
||||
echo ./usr/share/licenses/syncthing-relaysrv/LICENSE
|
||||
echo ./usr/lib/tmpfiles.d/syncthing-relaysrv.conf
|
||||
echo ./usr/lib/sysusers.d/syncthing-relaysrv.conf
|
||||
files-find-doc syncthing-relaysrv
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
name='syncthing'
|
||||
version='1.27.12'
|
||||
version='1.29.6'
|
||||
release='1'
|
||||
desc='Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers.'
|
||||
desc_ru='Syncthing — это программа для непрерывной синхронизации файлов. Она синхронизирует файлы между двумя или более компьютерами.'
|
||||
homepage='https://syncthing.net/'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
@ -20,10 +21,21 @@ prepare() {
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 ./${provides}-linux-amd64-v${version}/syncthing "${pkgdir}/usr/bin/syncthing"
|
||||
#install -Dm644 man/strelaysrv.1 "${pkgdir}/usr/share/man/man1/${provides}.1"
|
||||
install -Dm644 ./${provides}-linux-amd64-v${version}/README.txt "${pkgdir}/usr/share/doc/syncthing/README.md"
|
||||
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing-resume.service" "${pkgdir}/usr/lib/systemd/system/syncthing-resume.service"
|
||||
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service" "${pkgdir}/usr/lib/systemd/system/syncthing@.service"
|
||||
install -Dm644 "./${provides}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service" "${pkgdir}/usr/lib/systemd/user/syncthing.service"
|
||||
install-binary ./${name}-linux-amd64-v${version}/syncthing
|
||||
install -Dm644 ./${name}-linux-amd64-v${version}/README.txt ${pkgdir}/usr/share/doc/syncthing/README.md
|
||||
install-systemd ./${name}-linux-amd64-v${version}/etc/linux-systemd/system/syncthing@.service
|
||||
install-systemd-user ./${name}-linux-amd64-v${version}/etc/linux-systemd/user/syncthing.service
|
||||
install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-start.desktop
|
||||
install-desktop ./${name}-linux-amd64-v${version}/etc/linux-desktop/syncthing-ui.desktop
|
||||
install-license ./${name}-linux-amd64-v${version}/LICENSE.txt syncthing/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/syncthing
|
||||
files-find-doc syncthing
|
||||
echo ./usr/lib/systemd/system/syncthing@.service
|
||||
echo ./usr/lib/systemd/user/syncthing.service
|
||||
echo ./usr/share/applications/syncthing-start.desktop
|
||||
echo ./usr/share/applications/syncthing-ui.desktop
|
||||
echo ./usr/share/licenses/syncthing/LICENSE
|
||||
}
|
@ -1,17 +1,39 @@
|
||||
name='telegram-desktop-bin'
|
||||
version='5.5.5'
|
||||
version='5.15.4'
|
||||
release='1'
|
||||
desc='Official desktop version of Telegram messaging app - Static binaries'
|
||||
desc_ru='Официальный клиент для Telegram мессенджера - статические бинарники'
|
||||
homepage='https://github.com/telegramdesktop/tdesktop'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
|
||||
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('GPLv3')
|
||||
provides=('telegram-desktop')
|
||||
conflicts=('telegram-desktop')
|
||||
deps=('desktop-file-utils' 'glib2' 'hicolor-icon-theme' 'dbus-libs' 'libX11' 'libappindicator-gtk3' 'xdg-utils')
|
||||
deps_rosa=('desktop-file-utils' 'glib2' 'hicolor-icon-theme' 'lib64dbus-1_3' 'libX11' 'lib64appindicator3_1' 'xdg-utils')
|
||||
|
||||
deps=('desktop-file-utils' 'fontconfig' 'glib2' 'hicolor-icon-theme' 'dbus-libs' 'libX11' 'xdg-utils')
|
||||
deps_altlinux=('desktop-file-utils' 'glib2' 'hicolor-icon-theme' 'libdbus' 'libX11' 'xdg-utils')
|
||||
deps_rosa=('desktop-file-utils' 'glib2' 'hicolor-icon-theme' 'lib64dbus-1_3' 'libX11' 'xdg-utils')
|
||||
|
||||
build_deps=('chrpath')
|
||||
|
||||
opt_deps=(
|
||||
'libappindicator-gtk2: скрыть Telegram в панели задач в среде рабочего стола на основе GTK2'
|
||||
'libappindicator-gtk3: скрыть Telegram в панели задач в среде рабочего стола на основе GTK3'
|
||||
)
|
||||
opt_deps_altlinux=(
|
||||
'libappindicator-gtk3: скрыть Telegram в панели задач в среде рабочего стола на основе GTK3'
|
||||
)
|
||||
opt_deps_debian=(
|
||||
'lib64appindicator3-1: скрыть Telegram в панели задач в среде рабочего стола на основе GTK3'
|
||||
)
|
||||
opt_deps_redos=(
|
||||
'libappindicator-gtk3: скрыть Telegram в панели задач в среде рабочего стола на основе GTK3'
|
||||
)
|
||||
opt_deps_rosa=(
|
||||
'lib64appindicator3_1: скрыть Telegram в панели задач в среде рабочего стола на основе GTK3'
|
||||
)
|
||||
|
||||
sources=(
|
||||
"${homepage}/raw/master/Telegram/Resources/art/icon16.png"
|
||||
"${homepage}/raw/master/Telegram/Resources/art/icon32.png"
|
||||
@ -20,7 +42,9 @@ sources=(
|
||||
"${homepage}/raw/master/Telegram/Resources/art/icon128.png"
|
||||
"${homepage}/raw/master/Telegram/Resources/art/icon256.png"
|
||||
"${homepage}/raw/master/Telegram/Resources/art/icon512.png"
|
||||
"https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tsetup.${version}.tar.xz")
|
||||
"https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tsetup.${version}.tar.xz"
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
@ -36,26 +60,25 @@ package() {
|
||||
|
||||
cd "${srcdir}/"
|
||||
|
||||
# Creating needed directories
|
||||
# Создание необходимых каталогов
|
||||
mkdir -p "${pkgdir}/usr/bin"
|
||||
mkdir -p "${pkgdir}/usr/share/pixmaps/"
|
||||
mkdir -p "${pkgdir}/usr/share/applications"
|
||||
# Program
|
||||
install -Dm755 "${srcdir}/Telegram/Telegram" "${pkgdir}/usr/bin/telegram-desktop"
|
||||
# Исполняемый файл
|
||||
install-binary "${srcdir}/Telegram/Telegram" telegram-desktop
|
||||
|
||||
# Remove RPATH informations
|
||||
# Удаление информации RPATH
|
||||
chrpath --delete "${pkgdir}/usr/bin/telegram-desktop"
|
||||
|
||||
# Desktop launcher
|
||||
install -Dm644 "${srcdir}/icon256.png" "${pkgdir}/usr/share/pixmaps/telegram.png"
|
||||
install -Dm644 "${scriptdir}/${name}.desktop" "${pkgdir}/usr/share/applications/telegramdesktop.desktop"
|
||||
install-desktop "${scriptdir}/${name}.desktop"
|
||||
|
||||
# KDE5 protocol file
|
||||
install -d "${pkgdir}/usr/share/kservices5"
|
||||
install -m644 "${scriptdir}/tg.protocol" "${pkgdir}/usr/share/kservices5/tg.protocol"
|
||||
|
||||
# Icons
|
||||
local icon_size icon_dir
|
||||
for icon_size in 16 32 48 64 128 256 512; do
|
||||
icon_dir="${pkgdir}/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
|
||||
install -d "${icon_dir}"
|
||||
@ -63,6 +86,15 @@ package() {
|
||||
done
|
||||
|
||||
# Disable the official Telegram Desktop updater
|
||||
mkdir -p "${pkgdir}/etc/tdesktop"
|
||||
echo "/usr/bin/telegram-desktop" > "${pkgdir}/etc/tdesktop/externalupdater"
|
||||
mkdir -p "$pkgdir/usr/share/TelegramDesktop/externalupdater.d"
|
||||
echo "/usr/bin/telegram-desktop" >"$pkgdir/usr/share/TelegramDesktop/externalupdater.d/telegram-desktop.conf"
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/bin/telegram-desktop
|
||||
echo ./usr/share/TelegramDesktop/externalupdater.d/telegram-desktop.conf
|
||||
echo ./usr/share/pixmaps/telegram.png
|
||||
echo ./usr/share/kservices5/tg.protocol
|
||||
echo ./usr/share/applications/telegram-desktop-bin.desktop
|
||||
printf '"%s" ' ./usr/share/icons/hicolor/**/apps/
|
||||
}
|
||||
|
45
trompeloeil/alr.sh
Normal file
45
trompeloeil/alr.sh
Normal file
@ -0,0 +1,45 @@
|
||||
name='trompeloeil'
|
||||
version='49'
|
||||
release='1'
|
||||
desc='Thread-safe header-only mocking framework for C++11/14.'
|
||||
homepage='https://github.com/rollbear/trompeloeil'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('BSL-1.0')
|
||||
provides=('catch2')
|
||||
conflicts=('catch2', 'catch2-devel')
|
||||
|
||||
build_deps=(
|
||||
'cmake'
|
||||
'catch2'
|
||||
'ninja-build'
|
||||
)
|
||||
|
||||
sources=("https://github.com/rollbear/trompeloeil/archive/v${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$name-$version
|
||||
cmake \
|
||||
-Bbuild \
|
||||
-GNinja \
|
||||
-DCMAKE_BUILD_TYPE='Debug' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-DTROMPELOEIL_INSTALL_TARGETS=ON \
|
||||
-DTROMPELOEIL_INSTALL_DOCS=OFF \
|
||||
-DTROMPELOEIL_BUILD_TESTS=yes \
|
||||
-Wno-dev
|
||||
cmake --build build --verbose --target self_test thread_terror custom_recursive_mutex -j$(($(nproc) - 1))
|
||||
}
|
||||
|
||||
check() {
|
||||
./build/test/self_test || exit -1
|
||||
./build/test/thread_terror || exit -1
|
||||
./build/test/custom_recursive_mutex || exit -1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$name-$version
|
||||
DESTDIR="${pkgdir}" cmake --install build
|
||||
install -Dm644 "${srcdir}/${name}-${version}/LICENSE_1_0.txt" "${pkgdir}/usr/share/licenses/${name}/LICENSE"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
name='upscayl-bin'
|
||||
version='2.11.5'
|
||||
version='2.15.0'
|
||||
release='1'
|
||||
desc='Free and Open Source AI Image Upscaler'
|
||||
homepage='https://github.com/upscayl/upscayl'
|
||||
|
@ -1,42 +0,0 @@
|
||||
name='vesktop-bin'
|
||||
version='1.5.3'
|
||||
release='7'
|
||||
desc='A cross platform electron-based desktop app aiming to give you a snappier Discord experience with Vencord pre-installed'
|
||||
homepage='https://github.com/Vencord/Vesktop'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('GPL-3.0-only')
|
||||
provides=('vencord-bin')
|
||||
conflicts=('vencord' 'vencord-bin')
|
||||
|
||||
deps=('electron')
|
||||
build_deps=('git' 'electron' 'bsdtar')
|
||||
|
||||
opt_deps=(
|
||||
'libnotify: Notifications'
|
||||
'xdg-utils: Open links, files, etc'
|
||||
'xdg-desktop-portal: Screensharing with Wayland'
|
||||
'arrpc: Rich presence support'
|
||||
)
|
||||
|
||||
sources=("https://github.com/Vencord/Vesktop/releases/download/v${version}/vesktop_${version}_amd64.deb" )
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
bsdtar -xf vesktop_${version}_amd64.deb
|
||||
sed -e "s|@appname@|vesktop|g" \
|
||||
-e "s|@runname@|app.asar|g" \
|
||||
-e "s|@options@|env ELECTRON_OZONE_PLA4TFORM_HINT=auto|g" \
|
||||
-i "${scriptdir}/vesktop.sh"
|
||||
bsdtar -xf "${srcdir}/data."*
|
||||
sed "s|/opt/Vesktop/vesktop|vesktop|g" -i "${srcdir}/usr/share/applications/vesktop.desktop"
|
||||
}
|
||||
package() {
|
||||
install -Dm755 "${scriptdir}/vesktop.sh" "${pkgdir}/usr/bin/vesktop"
|
||||
install -Dm644 "${srcdir}/opt/Vesktop/resources/app.asar" -t "${pkgdir}/usr/lib/vesktop"
|
||||
install -Dm644 "${srcdir}/usr/share/applications/vesktop.desktop" -t "${pkgdir}/usr/share/applications"
|
||||
for _icons in 16x16 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024;do
|
||||
install -Dm644 "${scriptdir}/hicolor/${_icons}/apps/vesktop.png" \
|
||||
-t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
|
||||
done
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user