summaryrefslogtreecommitdiffstats
path: root/opal/Pkgfile
diff options
context:
space:
mode:
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