2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Mediainfo için paylaşılan kütüphane.
|
2017-03-31 08:27:56 +02:00
|
|
|
|
# URL: http://mediainfo.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libmms libzen
|
2017-03-31 08:27:56 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=libmediainfo
|
|
|
|
|
surum=0.7.69
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=( http://downloads.sourceforge.net/mediainfo/${isim}_${surum}.tar.bz2)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
2017-10-28 14:10:23 +02:00
|
|
|
|
sed -i -e 's|Version: |Version: '$surum'|g' \
|
2016-02-24 01:27:23 +01:00
|
|
|
|
$PKG/usr/lib/pkgconfig/libmediainfo.pc
|
|
|
|
|
}
|
|
|
|
|
|