Commit 32c54a1a authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/pavucontrol-qt: move from testing

parent 3fe27c9f
...@@ -7,17 +7,18 @@ url="https://github.com/lxqt/pavucontrol-qt" ...@@ -7,17 +7,18 @@ url="https://github.com/lxqt/pavucontrol-qt"
arch="all !armhf" # blocked by liblxqt-dev arch="all !armhf" # blocked by liblxqt-dev
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
makedepends=" makedepends="
cmake lxqt-build-tools liblxqt-dev cmake samurai lxqt-build-tools liblxqt-dev
qt5-qttools-dev pulseaudio-dev qt5-qttools-dev pulseaudio-dev
" "
options="!check" # No testsuite options="!check" # No testsuite
subpackages="$pkgname-lang"
source="https://github.com/lxqt/pavucontrol-qt/releases/download/$pkgver/pavucontrol-qt-$pkgver.tar.xz" source="https://github.com/lxqt/pavucontrol-qt/releases/download/$pkgver/pavucontrol-qt-$pkgver.tar.xz"
build() { build() {
if [ "$CBUILD" != "$CHOST" ]; then if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi fi
cmake -B build \ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
...@@ -29,6 +30,12 @@ build() { ...@@ -29,6 +30,12 @@ build() {
package() { package() {
DESTDIR="$pkgdir" cmake --build build --target install DESTDIR="$pkgdir" cmake --build build --target install
} }
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$pkgname/translations
}
sha512sums=" sha512sums="
edd6d495429818aeb339df02a4cbf2d28d7dd8d04a520371d89b55e47d85a4087a5c05afa1aff0950b1c43d759a1b56920a6a4ddfe8fe266735f2147588381cd pavucontrol-qt-1.1.0.tar.xz edd6d495429818aeb339df02a4cbf2d28d7dd8d04a520371d89b55e47d85a4087a5c05afa1aff0950b1c43d759a1b56920a6a4ddfe8fe266735f2147588381cd pavucontrol-qt-1.1.0.tar.xz
" "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment