diff --git a/common/shlibs b/common/shlibs index 31a8fae6ce8..a2bf256bb85 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1606,3 +1606,5 @@ libGraphicsMagick++.so.3 libgraphicsmagick-1.3.19_1 libGraphicsMagickWand.so.2 libgraphicsmagick-1.3.19_1 liblensfun.so.0 lensfun-0.2.8_2 libmitlm.so.0 mitlm-0.4.1_1 +libextractor.so.3 libextractor-1.1_1 +libextractor_common.so.1 libextractor-1.1_1 diff --git a/srcpkgs/libextractor-devel b/srcpkgs/libextractor-devel new file mode 120000 index 00000000000..f0c3a32a9d2 --- /dev/null +++ b/srcpkgs/libextractor-devel @@ -0,0 +1 @@ +libextractor \ No newline at end of file diff --git a/srcpkgs/libextractor/patches/AVCodec_compiler_error.patch b/srcpkgs/libextractor/patches/AVCodec_compiler_error.patch new file mode 100644 index 00000000000..58570e6a684 --- /dev/null +++ b/srcpkgs/libextractor/patches/AVCodec_compiler_error.patch @@ -0,0 +1,20 @@ +--- src/plugins/thumbnailffmpeg_extractor.c.orig 2014-05-08 21:07:41.546845538 +0200 ++++ src/plugins/thumbnailffmpeg_extractor.c 2014-05-08 21:08:30.389842241 +0200 +@@ -335,7 +335,7 @@ + * @param ec extraction context to use + */ + static void +-extract_image (enum CodecID image_codec_id, ++extract_image (enum AVCodecID image_codec_id, + struct EXTRACTOR_ExtractContext *ec) + { + AVDictionary *opts; +@@ -631,7 +631,7 @@ + /** + * Corresponding ffmpeg decoder ID. + */ +- enum CodecID codec_id; ++ enum AVCodecID codec_id; + }; + + diff --git a/srcpkgs/libextractor/template b/srcpkgs/libextractor/template new file mode 100644 index 00000000000..398ef5d2c97 --- /dev/null +++ b/srcpkgs/libextractor/template @@ -0,0 +1,23 @@ +# Template file for 'libextractor' +pkgname=libextractor +version=1.1 +revision=1 +short_desc="Library used to extract meta data from files" +maintainer="Martin Riese " +license="MIT" +homepage="http://www.gnu.org/software/libextractor/" +distfiles="http://ftpmirror.gnu.org/libextractor/libextractor-${version}.tar.gz" +checksum="cbb7c2f7f92654dc09b8e5c5e353a49609a22b222ba23c944fcc14f2223172ff" +build_style=gnu-configure +configure_args="--disable-static" +hostmakedepends="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 gtk+3-devel gstreamer-devel libltdl-devel libavformat libavcodec" + +libextractor-devel_package() { + short_desc+=" - development files" + depends="libmitlm>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so.* + } +}