diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-07-26 21:30:52 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-07-26 21:30:52 +0000 |
commit | 963033e25bf4cdaccc39ea480dc64c2ac2c70d94 (patch) | |
tree | af03603429e7ff4e903e559c59e53989c9d33d24 /media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild | |
parent | Revert pypy support because of broken deps (diff) | |
download | gentoo-2-963033e25bf4cdaccc39ea480dc64c2ac2c70d94.tar.gz gentoo-2-963033e25bf4cdaccc39ea480dc64c2ac2c70d94.tar.bz2 gentoo-2-963033e25bf4cdaccc39ea480dc64c2ac2c70d94.zip |
Version bump. Update homepage and switch to cmake. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/175 by a17r.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild')
-rw-r--r-- | media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild new file mode 100644 index 000000000000..cc1d00558cd9 --- /dev/null +++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.0.10.ebuild,v 1.1 2015/07/26 21:30:52 mgorny Exp $ + +EAPI=5 + +inherit cmake-utils + +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 )" + +PATCHES=( + "${FILESDIR}/${P}-config-summary.patch" + "${FILESDIR}/${P}-installdirs.patch" + "${FILESDIR}/${P}-set-locale.patch" +) + +DOCS=( AUTHORS ChangeLog README.md ) + +src_prepare() { + rm -rf out* || die + + cmake-utils_src_prepare +} + +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 +} |