summaryrefslogtreecommitdiffstats
path: root/opal/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-07-25 00:29:01 +0200
committerpiernov <piernov@piernov.org>2011-07-25 00:29:01 +0200
commit87f9f41a064e00a750aae39fbdbea44a868bfe43 (patch)
tree4095dda6b8446c2248cbbe20cff082f0f8eb96b7 /opal/Pkgfile
parent6d20aa324302ce06999f9bdc2246a3d03c1e31bb (diff)
downloadgnome3-87f9f41a064e00a750aae39fbdbea44a868bfe43.tar.gz
gnome3-87f9f41a064e00a750aae39fbdbea44a868bfe43.tar.bz2
gnome3-87f9f41a064e00a750aae39fbdbea44a868bfe43.tar.xz
gnome3-87f9f41a064e00a750aae39fbdbea44a868bfe43.zip
opal 3.10.1-1 correction port
Diffstat (limited to 'opal/Pkgfile')
-rw-r--r--opal/Pkgfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/opal/Pkgfile b/opal/Pkgfile
index 3e7761c..697adb5 100644
--- a/opal/Pkgfile
+++ b/opal/Pkgfile
@@ -8,20 +8,19 @@
name=opal
version=3.10.1
release=1
-source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
+source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
+ opal-3.10.1-ffmpeg0.8.patch
+ opal-3.10.1-fix-link.patch)
build() {
cd $name-$version
+ patch -p0 < ../opal-3.10.1-ffmpeg0.8.patch
+ patch -p0 < ../opal-3.10.1-fix-link.patch
CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
./configure --prefix=/usr\
--sysconfdir=/etc \
--localstatedir=/var/lib \
- --mandir=/usr/share/man \
- --disable-silk \
- --disable-libavcodec
-
- # there's a linking error in this release, SILK should be reactivated in the next release
- # opal 3.10.1 isn't compatible with ffmpeg 0.8, libavcodec maybe reactivated in the next release
+ --mandir=/usr/share/man
make
make DESTDIR=$PKG install