2014-05-08 21:47:46 +02:00
|
|
|
# Template file for 'libextractor'
|
|
|
|
pkgname=libextractor
|
2014-09-29 09:23:39 +02:00
|
|
|
version=1.3
|
2014-10-03 20:24:56 +02:00
|
|
|
revision=2
|
2014-05-08 21:47:46 +02:00
|
|
|
short_desc="Library used to extract meta data from files"
|
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
2014-09-29 09:23:39 +02:00
|
|
|
license="GPL-3"
|
2014-05-08 21:47:46 +02:00
|
|
|
homepage="http://www.gnu.org/software/libextractor/"
|
2014-09-29 09:23:39 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f
|
2014-05-08 21:47:46 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2014-09-29 09:23:39 +02:00
|
|
|
hostmakedepends="automake gettext-devel libtool pkg-config"
|
|
|
|
makedepends="
|
|
|
|
zlib-devel bzip2-devel exiv2-devel tiff-devel libpng-devel libjpeg-turbo-devel
|
|
|
|
libvorbis-devel libflac-devel giflib-devel libmpeg2-devel ffmpeg-devel
|
|
|
|
libgsf-devel gtk+3-devel libltdl-devel libarchive-devel file-devel"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
2014-10-03 22:47:52 +02:00
|
|
|
# make it build with giflib-5.1.0
|
|
|
|
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
|
|
|
|
sed -i "/[DE]GifCloseFile/s:gif_file:&, NULL:g" src/plugins/gif_extractor.c
|
2014-09-29 09:23:39 +02:00
|
|
|
}
|
2014-05-08 21:47:46 +02:00
|
|
|
|
|
|
|
libextractor-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2014-05-08 23:30:12 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-05-08 21:47:46 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2014-05-08 23:30:12 +02:00
|
|
|
vmove usr/lib/*.so
|
2014-05-09 08:26:51 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/info
|
2014-05-08 21:47:46 +02:00
|
|
|
}
|
|
|
|
}
|