diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libextractor | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/libextractor')
-rw-r--r-- | media-libs/libextractor/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libextractor/libextractor-1.0.1.ebuild | 129 | ||||
-rw-r--r-- | media-libs/libextractor/libextractor-1.3.ebuild | 114 | ||||
-rw-r--r-- | media-libs/libextractor/metadata.xml | 15 |
4 files changed, 260 insertions, 0 deletions
diff --git a/media-libs/libextractor/Manifest b/media-libs/libextractor/Manifest new file mode 100644 index 000000000000..af9a5afd2ebc --- /dev/null +++ b/media-libs/libextractor/Manifest @@ -0,0 +1,2 @@ +DIST libextractor-1.0.1.tar.gz 7894265 SHA256 3251cbb4324defee1e641de44afb11156b13d676e27e01e031c6e06d904e1ece SHA512 616db2880cfc3b8974107b24346472e5650c5ce4b7580c4b78bcbff41bb1eea313a732891d1eced74a7d90518be7da481859dff98365212cd728d0d19447619c WHIRLPOOL c83561506e3f98f5b212bea23bce44ed42287fde03dbcf2ab2f5cec4ff37a1dba2fc9a2cf1beb984e96518b12ae5ac4561a2acc3b949acb9307bd26eda9006d5 +DIST libextractor-1.3.tar.gz 7942021 SHA256 868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f SHA512 38ed47e5e5f50ddf216408f698a104900baa3b03cc8a81a14e63afd30b3e3922acda17363d88d9ba1356ebf70287c8a5152ff6933a36ec1042ca0d832218d45d WHIRLPOOL aeb8305d9efbe6e52632bb7281ea6df26c417c8bbe1398fdc0106653e3b4109095ea734c84f92ede03bd6406c69b362ee4590a0c964c550d8878f890b32b52d9 diff --git a/media-libs/libextractor/libextractor-1.0.1.ebuild b/media-libs/libextractor/libextractor-1.0.1.ebuild new file mode 100644 index 000000000000..3d678304ce00 --- /dev/null +++ b/media-libs/libextractor/libextractor-1.0.1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="A library used to extract metadata from files of arbitrary type" +HOMEPAGE="http://www.gnu.org/software/libextractor/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="+archive +bzip2 ffmpeg flac gif gsf gtk jpeg mp4 +magic midi mpeg qt4 tidy tiff vorbis +zlib" # test + +RESTRICT="test" + +RDEPEND="app-text/iso-codes + >=dev-libs/glib-2 + media-gfx/exiv2 + sys-devel/libtool + virtual/libiconv + virtual/libintl + archive? ( app-arch/libarchive ) + bzip2? ( app-arch/bzip2 ) + ffmpeg? ( virtual/ffmpeg ) + flac? ( + media-libs/flac + media-libs/libogg + ) + gif? ( media-libs/giflib ) + gsf? ( gnome-extra/libgsf ) + gtk? ( x11-libs/gtk+:3 ) + jpeg? ( virtual/jpeg ) + mp4? ( media-libs/libmp4v2:0 ) + magic? ( sys-apps/file ) + midi? ( media-libs/libsmf ) + mpeg? ( media-libs/libmpeg2 ) + qt4? ( + dev-qt/qtgui:4 + dev-qt/qtsvg:4 + ) + tidy? ( app-text/htmltidy ) + tiff? ( media-libs/tiff:0 ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + zlib? ( sys-libs/zlib ) + !<app-crypt/pkcrack-1.2.2-r1 + !sci-biology/glimmer + !sci-chemistry/pdb-extract" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" +# test? ( app-forensics/zzuf ) + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_prepare() { + # m4/ax_create_pkgconfig_info.m4 is passing environment LDFLAGS to Libs: + sed -i \ + -e '/^ax_create_pkgconfig_ldflags=/s:$LDFLAGS ::' \ + -e 's:ac_cv_header_tidy_tidy_h:ac_cv_header_tidy_h:g' \ + -e 's:tidy/tidy.h:tidy.h:g' \ + -e 's:tidy/buffio.h:buffio.h:g' \ + configure src/plugins/html_extractor.c || die +} + +src_configure() { + e_ac_cv() { + export ac_cv_"$@" + } + + e_ac_cv {lib_rpm_rpmReadPackageFile,prog_HAVE_ZZUF}=no + + if use flac; then + e_ac_cv header_FLAC_all_h=yes + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=yes + else + e_ac_cv header_FLAC_all_h=no + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=no + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_ogg_stream=no + fi + + e_ac_cv header_archive_h=$(usex archive) + e_ac_cv header_bzlib_h=$(usex bzip2) + e_ac_cv header_gif_lib_h=$(usex gif) + e_ac_cv header_jpeglib_h=$(usex jpeg) + e_ac_cv header_magic_h=$(usex magic) + e_ac_cv header_mpeg2dec_mpeg2_h=$(usex mpeg) + e_ac_cv header_tiffio_h=$(usex tiff) + e_ac_cv header_vorbis_vorbisfile_h=$(usex vorbis) + e_ac_cv header_zlib_h=$(usex zlib) + e_ac_cv lib_tidy_tidyInitSource=$(usex tidy) + e_ac_cv lib_mp4v2_MP4ReadProvider=$(usex mp4) + e_ac_cv lib_smf_smf_load_from_memory=$(usex midi) + + local myconf + + if use qt4; then + append-cppflags "$($(tc-getPKG_CONFIG) --cflags-only-I QtGui QtSvg)" + append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-L QtGui QtSvg)" + else + myconf='--without-qt' + fi + + # gstreamer support is for 1.0, no 0.10 support + econf \ + --disable-static \ + --enable-experimental \ + --enable-glib \ + $(use_enable gsf) \ + --disable-gnome \ + $(use_enable ffmpeg) \ + --with-gtk_version=$(usex gtk 3.0.0 false) \ + --without-gstreamer \ + ${myconf} +} + +src_compile() { + emake -j1 +} + +src_install() { + default + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} diff --git a/media-libs/libextractor/libextractor-1.3.ebuild b/media-libs/libextractor/libextractor-1.3.ebuild new file mode 100644 index 000000000000..2c9edefb14ae --- /dev/null +++ b/media-libs/libextractor/libextractor-1.3.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="A library used to extract metadata from files of arbitrary type" +HOMEPAGE="http://www.gnu.org/software/libextractor/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86" +IUSE="+archive +bzip2 ffmpeg flac gif gsf gtk jpeg mp4 +magic midi mpeg tidy tiff vorbis +zlib" # test + +RESTRICT="test" + +RDEPEND="app-text/iso-codes + >=dev-libs/glib-2 + media-gfx/exiv2 + sys-devel/libtool + virtual/libiconv + virtual/libintl + archive? ( app-arch/libarchive ) + bzip2? ( app-arch/bzip2 ) + ffmpeg? ( virtual/ffmpeg ) + flac? ( + media-libs/flac + media-libs/libogg + ) + gif? ( media-libs/giflib ) + gsf? ( gnome-extra/libgsf ) + gtk? ( x11-libs/gtk+:3 ) + jpeg? ( virtual/jpeg ) + mp4? ( media-libs/libmp4v2:0 ) + magic? ( sys-apps/file ) + midi? ( media-libs/libsmf ) + mpeg? ( media-libs/libmpeg2 ) + tidy? ( app-text/htmltidy ) + tiff? ( media-libs/tiff:0 ) + vorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + zlib? ( sys-libs/zlib ) + !<app-crypt/pkcrack-1.2.2-r1 + !sci-biology/glimmer + !sci-chemistry/pdb-extract" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig" +# test? ( app-forensics/zzuf ) + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +src_prepare() { + # m4/ax_create_pkgconfig_info.m4 is passing environment LDFLAGS to Libs: + sed -i \ + -e '/^ax_create_pkgconfig_ldflags=/s:$LDFLAGS ::' \ + -e 's:tidy/tidy.h:tidy.h:' \ + configure src/plugins/html_extractor.c || die + + use tidy || { sed -i -e 's:tidy.h:dIsAbLe&:' configure || die; } +} + +src_configure() { + e_ac_cv() { + export ac_cv_"$@" + } + + e_ac_cv {lib_rpm_rpmReadPackageFile,prog_HAVE_ZZUF}=no + + if use flac; then + e_ac_cv header_FLAC_all_h=yes + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=yes + else + e_ac_cv header_FLAC_all_h=no + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=no + e_ac_cv lib_FLAC_FLAC__stream_decoder_init_ogg_stream=no + fi + + e_ac_cv header_archive_h=$(usex archive) + e_ac_cv header_bzlib_h=$(usex bzip2) + e_ac_cv header_gif_lib_h=$(usex gif) + e_ac_cv header_jpeglib_h=$(usex jpeg) + e_ac_cv header_magic_h=$(usex magic) + e_ac_cv header_mpeg2dec_mpeg2_h=$(usex mpeg) + e_ac_cv header_tiffio_h=$(usex tiff) + e_ac_cv header_vorbis_vorbisfile_h=$(usex vorbis) + e_ac_cv header_zlib_h=$(usex zlib) + e_ac_cv lib_mp4v2_MP4ReadProvider=$(usex mp4) + e_ac_cv lib_smf_smf_load_from_memory=$(usex midi) + + # gstreamer support is for 1.0, no 0.10 support + econf \ + --disable-static \ + --enable-experimental \ + --enable-glib \ + $(use_enable gsf) \ + --disable-gsf-gnome \ + $(use_enable ffmpeg) \ + --with-gtk_version=$(usex gtk 3.0.0 false) \ + --without-gstreamer +} + +src_compile() { + emake -j1 +} + +src_install() { + default + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} diff --git a/media-libs/libextractor/metadata.xml b/media-libs/libextractor/metadata.xml new file mode 100644 index 000000000000..a4ea11c6c377 --- /dev/null +++ b/media-libs/libextractor/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-p2p</herd> + <maintainer> + <email>ssuominen@gentoo.org</email> + <name>Samuli Suominen</name> + </maintainer> + <use> + <flag name='archive'>Enable archive support using <pkg>app-arch/libarchive</pkg></flag> + <flag name='gsf'>Enable OLE2 (MS Office) plug-in support using <pkg>gnome-base/libgsf</pkg></flag> + <flag name='magic'>Enable magic support using <pkg>sys-apps/file</pkg></flag> + <flag name='midi'>Enable MIDI support through <pkg>media-libs/libsmf</pkg></flag> + </use> +</pkgmetadata> |