35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'libextractor'
|
|
pkgname=libextractor
|
|
version=1.9
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
#FIXME: Build without gsf support for now, ole2_extractor.c causes GCC sigfault
|
|
makedepends="zlib-devel bzip2-devel exiv2-devel tiff-devel libpng-devel
|
|
libjpeg-turbo-devel libvorbis-devel libflac-devel giflib-devel libmpeg2-devel
|
|
ffmpeg-devel gtk+3-devel libltdl-devel libarchive-devel file-devel"
|
|
short_desc="Library used to extract meta data from files"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/libextractor/"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=f08f257d26c5e9b503f068d6753c8e55cb76f47f73a81da6ed2bba3de3fee2ff
|
|
patch_args="-Np1"
|
|
|
|
post_install() {
|
|
sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/lib/pkgconfig/libextractor.pc
|
|
}
|
|
|
|
libextractor-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
vmove usr/share/info
|
|
}
|
|
}
|