[arch-commits] Commit in vlc/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Sun Jul 25 14:32:53 UTC 2010
Date: Sunday, July 25, 2010 @ 10:32:53
Author: ibiru
Revision: 86077
remove chrpath from makedepends which was used to fix RPATH for mozilla plugin. Adding a proper way to fix this issue installing libvcl temporaly just for linking
Modified:
vlc/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-07-25 14:19:37 UTC (rev 86076)
+++ PKGBUILD 2010-07-25 14:32:53 UTC (rev 86077)
@@ -19,8 +19,8 @@
'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm'
'xulrunner' 'pkgconfig' 'live-media' 'libnotify' 'libcdio'
'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
- 'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'chrpath')
-
+ 'libraw1394' 'libdc1394' 'libavc1394' 'libva')
+options=('!libtool')
source=("http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('7e177faa61450ce752b0fd89ecc81fed')
@@ -79,6 +79,12 @@
pkgdesc="VLC mozilla browser plugin"
depends=("${pkgbase}=${pkgver}" 'nspr' 'xulrunner' 'libxpm')
cd "${srcdir}/${pkgbase}-${pkgver}"
- install -Dm755 projects/mozilla/.libs/libvlcplugin.so ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so
- chrpath -d ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so
+
+ #for linking against libvlc
+ make -C src DESTDIR="${pkgdir}" install-libLTLIBRARIES
+
+ make -C projects/mozilla DESTDIR=${pkgdir}/ install
+
+ #clean up libvlc
+ make -C src DESTDIR="${pkgdir}" uninstall-libLTLIBRARIES
}
More information about the arch-commits
mailing list