diff options
author | root <root@rshg047.dnsready.net> | 2011-07-06 23:10:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-06 23:10:44 +0000 |
commit | b215b5e985b9310dff8d992510f12a87141fe7cb (patch) | |
tree | bc81c9c0c02ab9a4d6ee15e553850141b8d46f94 /community/libmediainfo/PKGBUILD | |
parent | 9d2caacbc33de06407311a5da87e5d22e0266435 (diff) |
Wed Jul 6 23:10:44 UTC 2011
Diffstat (limited to 'community/libmediainfo/PKGBUILD')
-rw-r--r-- | community/libmediainfo/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD index 8381d697f..c6c493d3c 100644 --- a/community/libmediainfo/PKGBUILD +++ b/community/libmediainfo/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 45009 2011-04-14 09:10:11Z spupykin $ +# $Id: PKGBUILD 50998 2011-07-04 11:41:36Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: hydro <hydro@freenet.de> pkgname=libmediainfo -pkgver=0.7.43 +pkgver=0.7.45 pkgrel=1 pkgdesc="shared library for mediainfo" arch=('i686' 'x86_64') @@ -12,23 +12,27 @@ license=('GPL') depends=( 'curl' 'libmms>=0.5-2' 'libzen>=0.4.15') makedepends=('libtool' 'automake' 'autoconf') options=(!libtool) -source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2) -md5sums=('4200c44c4f7016145d580757de18f2d4') +source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2 + "libmediainfo-0.7.44-libmms.patch::http://www.calculate-linux.org/packages/media-libs/libmediainfo/files/libmediainfo-0.7.44-libmms.patch?format=raw") +md5sums=('b2148a4da794bb1d0721cfa328d59aeb' + '1bdae4d3006b72e3f07cb1a9fa124950') build() { cd $srcdir/MediaInfoLib/Project/GNU/Library - sh ./autogen ./configure --prefix=/usr --enable-shared --disable-static --with-libcurl --with-libmms make clean + (cd ../../.. && patch -p1 <$srcdir/libmediainfo-0.7.44-libmms.patch) make - make DESTDIR=$pkgdir install +} +package() { + cd $srcdir/MediaInfoLib/Project/GNU/Library + make DESTDIR=$pkgdir install for i in MediaInfo MediaInfoDLL; do install -dm 755 $pkgdir/usr/include/$i install -m 644 $srcdir/MediaInfoLib/Source/$i/*.h $pkgdir/usr/include/$i done - install -dm 755 $pkgdir/usr/lib/pkgconfig install -m 644 $srcdir/MediaInfoLib/Project/GNU/Library/libmediainfo.pc $pkgdir/usr/lib/pkgconfig sed -i -e 's|Version: |Version: '$pkgver'|g' $pkgdir/usr/lib/pkgconfig/libmediainfo.pc |