summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-10-21 11:52:25 +0200
committerLars Wendler <polynomial-c@gentoo.org>2015-10-21 12:05:32 +0200
commit2efce3677902cbfca37d42dfced246de37706aa3 (patch)
tree5977840522ad30a5a4855149245648773cf89c00 /media-video/ffmpegthumbnailer
parentdev-libs/pugixml: Bump to version 1.7 (diff)
downloadgentoo-2efce3677902cbfca37d42dfced246de37706aa3.tar.gz
gentoo-2efce3677902cbfca37d42dfced246de37706aa3.tar.bz2
gentoo-2efce3677902cbfca37d42dfced246de37706aa3.zip
media-video/ffmpegthumbnailer: Bump to version 2.1.0
Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-video/ffmpegthumbnailer')
-rw-r--r--media-video/ffmpegthumbnailer/Manifest1
-rw-r--r--media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.1.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-video/ffmpegthumbnailer/Manifest b/media-video/ffmpegthumbnailer/Manifest
index a036401d12af..ca39d89f6b8d 100644
--- a/media-video/ffmpegthumbnailer/Manifest
+++ b/media-video/ffmpegthumbnailer/Manifest
@@ -1,2 +1,3 @@
DIST ffmpegthumbnailer-2.0.10.tar.bz2 2154028 SHA256 a3022c86aa3e704849e424147bd4a319867e18930d66a4a4c93c0baefdd1fc60 SHA512 1fcfcfe9457a3e3e70a749f3234f79d080fbbb40d4d1f65b84e1c46a7051c75368afaffb25a39b43f8e205ffdbc2e156e6fb5848514fce4a1a3f5222458c1b9d WHIRLPOOL fe60513d2a26db622d02f6f38f04009590337415aeb02b441757949e4402cdfeb33d37cb295720f8dd66ebae9dcfdba9304c88256ccda4800e015fa40650151b
DIST ffmpegthumbnailer-2.0.8.tar.gz 367186 SHA256 2c8bbefa838d38ea42fc8ac78258cda36865d974c991624b14cffdb92a3bc68b SHA512 6062d4b8f5326bde96c8c6dceaac52e1fabcec93f0a0ee4be19e203050e6c80426a006076a27e4a12582e05daceebd37beef008154fdd92a87f365fdff68ca83 WHIRLPOOL 6b0bd942777515f690f212df5616dffc4fc1c6e0e0e5be67128b376347b18d75eb144d25e9f8ac841b41099703092af5784edc31f34d7dbf81b742d678233e79
+DIST ffmpegthumbnailer-2.1.0.tar.bz2 2108351 SHA256 99ad417113c2dd7669978da2bd22b84cdfe87c2690ff3864a117b0bf72cd8c0f SHA512 c1cedcadc46e7abaa1d91ea83b96beda03b82d2ceecfbf1f4538f1865f1b336cdcc588cefd84e69c6374316b10805380cfe685999bd32a9206d82927b75e2cfa WHIRLPOOL fb8f6db18a5ea0e4423719fdac3de7927a599b4c0aec83c8a823ec73e51d1154cf8ff4b0d49345f13d350ff6be980c30c4d408d07a00d902a2892d2071ccc821
diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.1.0.ebuild b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.1.0.ebuild
new file mode 100644
index 000000000000..82d41766b8d1
--- /dev/null
+++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.1.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils eutils
+
+DESCRIPTION="Lightweight video thumbnailer that can be used by file managers"
+HOMEPAGE="https://github.com/dirkvdb/ffmpegthumbnailer"
+SRC_URI="https://github.com/dirkvdb/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gnome gtk jpeg libav png test"
+
+RDEPEND="
+ gtk? ( dev-libs/glib:2= )
+ jpeg? ( virtual/jpeg:0= )
+ !libav? ( >=media-video/ffmpeg-2.7:0= )
+ libav? ( >=media-video/libav-11:0= )
+ png? ( media-libs/libpng:0= )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+REQUIRED_USE="gnome? ( gtk )"
+
+DOCS=( AUTHORS ChangeLog README.md )
+
+src_prepare() {
+ rm -rf out* || die
+
+ cmake-utils_src_prepare
+ has_version '>=media-video/ffmpeg-2.9' && epatch "${FILESDIR}/${PN}-2.0.10-ffmpeg29.patch"
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_GIO=$(usex gtk)
+ -DENABLE_TESTS=$(usex test)
+ -DENABLE_THUMBNAILER=$(usex gnome)
+ -DHAVE_JPEG=$(usex jpeg)
+ -DHAVE_PNG=$(usex png)
+ )
+ cmake-utils_src_configure
+}