Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libcanberra/PKGBUILD
blob: 2c8417d765cf63089950859d0ba09caf53b9e189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# breaking cycle with gtk2, gtk3 and gstreamer on i486
if [ "$CARCH" = 'i486' ]; then
  makedepends=(${makedepends[@]//gtk2/})
  makedepends=(${makedepends[@]//gtk3/})
  makedepends=(${makedepends[@]//gstreamer/})
  eval "$(
    declare -f build | \
      sed '
        s/--enable-gstreamer/--disable-gstreamer/
      '
  )"  
  eval "$(
    declare -f package_libcanberra | \
      sed '
        /rm.*la/d
        /for/ s/gstreamer//
      '
  )"  
  eval "$(
    declare -f package_libcanberra-gstreamer | \
      sed '
        /rm.*la/d
        /mv.*gstreamer/d
      '
  )"  
fi