35 lines
1001 B
Plaintext
35 lines
1001 B
Plaintext
# Description: Mediainfo için paylaşılan kütüphane.
|
||
# URL: http://mediainfo.sourceforge.net/
|
||
# Packager: milisarge
|
||
# Depends on: libmms libzen
|
||
|
||
name=libmediainfo
|
||
version=0.7.69
|
||
release=1
|
||
|
||
source=( http://downloads.sourceforge.net/mediainfo/${name}_${version}.tar.bz2)
|
||
|
||
build(){
|
||
cd $SRC/MediaInfoLib/Project/GNU/Library
|
||
sh ./autogen
|
||
./configure --prefix=/usr \
|
||
--enable-shared \
|
||
--disable-static \
|
||
--enable-visibility \
|
||
--with-libcurl \
|
||
--with-libmms
|
||
make
|
||
make DESTDIR=$PKG install
|
||
|
||
for i in MediaInfo MediaInfoDLL; do
|
||
install -dm755 $PKG/usr/include/$i
|
||
install -m644 $SRC/MediaInfoLib/Source/$i/*.h $PKG/usr/include/$i
|
||
done
|
||
install -dm755 $PKG/usr/lib/pkgconfig
|
||
install -m644 $SRC/MediaInfoLib/Project/GNU/Library/libmediainfo.pc \
|
||
$PKG/usr/lib/pkgconfig
|
||
sed -i -e 's|Version: |Version: '$version'|g' \
|
||
$PKG/usr/lib/pkgconfig/libmediainfo.pc
|
||
}
|
||
|