aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-02-14 08:02:05 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-02-14 08:02:26 +0000
commit9ab6240126746715f08ffbeb7472cf9f00673fdf (patch)
treef28766cf56169a2a8091e877c2cd962e4ac1bb81 /main
parenteca36eee5f5f1f487e53fdb58fcf73c939192f9e (diff)
downloadaports-9ab6240126746715f08ffbeb7472cf9f00673fdf.tar.bz2
aports-9ab6240126746715f08ffbeb7472cf9f00673fdf.tar.xz
main/vlc: enable ffmpeg libavcodec and plugins
Diffstat (limited to 'main')
-rw-r--r--main/vlc/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/vlc/APKBUILD b/main/vlc/APKBUILD
index 30f2b73fa2..53a627b7a4 100644
--- a/main/vlc/APKBUILD
+++ b/main/vlc/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlc
pkgver=1.1.7
-pkgrel=1
+pkgrel=3
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
url="http://www.videolan.org/vlc/"
arch="all"
@@ -87,6 +87,7 @@ build ()
--disable-qt4 --disable-skins2 \
--disable-rpath \
--enable-a52 \
+ --enable-avcodec \
--enable-dbus \
--enable-dbus-control \
--enable-dvbpsi \
@@ -94,12 +95,14 @@ build ()
--enable-flac \
--enable-httpd \
--enable-live555 \
+ --enable-merge-ffmpeg \
--enable-ncurses \
--enable-realrtsp \
--enable-sdl \
--enable-sout \
--enable-theora \
--enable-v4l \
+ --enable-v4l2 \
--enable-vlm \
--enable-vorbis \
--enable-xvideo \
@@ -127,6 +130,9 @@ package() {
# "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
# done
rm -rf "$pkgdir"/usr/lib/mozilla
+# FIXME: for some reason libavcodec_plugin does not get installed
+ install -m644 $_builddir/modules/codec/avcodec/.libs/libavcodec_plugin.so \
+ $pkgdir/usr/lib/vlc/plugins/codec/libavcodec_plugin.so
}
_mv() {