index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-20 12:20:10 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-12-20 12:20:10 +0100 |
commit | f4c0bde13f2cfbff93fd10a1381d03a5c1ba94f3 (patch) | |
tree | 0ee3dde793cdc4f5550b095132a6b85ebd5bc14c /extra/pulseaudio | |
parent | d354317e492bf0dcd202ff0ea3141b26adf19965 (diff) |
-rw-r--r-- | extra/pulseaudio/PKGBUILD | 31 |
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD new file mode 100644 index 00000000..eccb80b0 --- /dev/null +++ b/extra/pulseaudio/PKGBUILD @@ -0,0 +1,31 @@ +# pulseaudio, disable avahi and gtk3 on i486 +makedepends=(${makedepends[@]//avahi/}) +makedepends=(${makedepends[@]//gtk3/}) + +makedepends_i686=('avahi') +makedepends_i686+=('gtk3') +makedepends_pentium4=("${makedepends_i686[@]}") + +if [ "${CARCH}" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/\(arch-meson pulseaudio build\)/\1 -D gtk=disabled -D avahi=disabled/ + ' + )" + eval "$( + declare -f package_pulseaudio-zeroconf | \ + sed ' + /depends=/ { + s/avahi// + } + ' + )" + eval "$( + declare -f package_pulseaudio | \ + sed ' + /_pick.*libavahi-wrap.so/d + ' + )" + +fi |