From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/libffado/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 extra/libffado/PKGBUILD (limited to 'extra/libffado/PKGBUILD') diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD new file mode 100644 index 00000000..c8d846c0 --- /dev/null +++ b/extra/libffado/PKGBUILD @@ -0,0 +1,32 @@ +# not available on i486 (yet) - configure seems to automatically handle absence +makedepends_i686=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -xF 'python-pyqt5' + ) +) +makedepends_pentium4=("${makedepends_i686[@]}") +makedepends=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -vxF 'python-pyqt5' + ) +) +_IFS="${IFS}" +IFS='' +optdepends_i686=( + $( + printf '%s\n' "${optdepends[@]}" \ + | grep '^python-pyqt5: ' + ) +) +optdepends_pentium4=( + "${optdepends_i686[@]}" +) +optdepends=( + $( + printf '%s\n' "${optdepends[@]}" \ + | grep -v '^python-pyqt5: ' + ) +) +IFS="${_IFS}" -- cgit v1.2.3-70-g09d2