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