index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-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 |