From d404b6ed290b03d0f1380312492de99592b76d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sun, 16 Jun 2024 23:15:06 +0300 Subject: [PATCH] qpwgraph-qt5 --- qpwgraph-qt5/alr.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 qpwgraph-qt5/alr.sh diff --git a/qpwgraph-qt5/alr.sh b/qpwgraph-qt5/alr.sh new file mode 100644 index 0000000..cc1ad6e --- /dev/null +++ b/qpwgraph-qt5/alr.sh @@ -0,0 +1,29 @@ +name='qpwgraph-qt5' +version='0.7.1' +release='1' +desc='a pipewire graph using qt(qt5 version)' +homepage='https://gitlab.freedesktop.org/rncbc/qpwgraph' +maintainer="Евгений Храмов " +architectures=('amd64') +licenses='GPL' +provides=('qpwgraph') +conflicts=('qpwgraph') + +deps=('alsa-lib' 'pipewire' 'qt5-base' 'qt5-svg' 'hicolor-icon-theme' 'gcc-libs' 'libpipewire' 'glibc') +build_deps=('cmake') +deps_redos=('alsa-lib' 'pipewire' 'qt5-qtbase' 'qt5-qtsvg' 'hicolor-icon-theme' 'gcc' 'pipewire-libs' 'glibc') +build_deps_redos=('cmake' 'qt5-qtbase-devel' 'qt5-qtsvg-devel') + +sources=("https://gitlab.freedesktop.org/rncbc/qpwgraph/-/archive/v$version/${name%-qt5}-v$version.tar.gz") + +checksums=('SKIP') + +build() { +cd $srcdir +cmake -B build -S "${name%-qt5}-v$version" -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_WAYLAND=ON -DCONFIG_QT6=OFF +cmake --build build -j$(($(nproc) - 1)) +} + +package() { +DESTDIR="$pkgdir" cmake --install build +} \ No newline at end of file