From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 12FD3138334 for ; Wed, 12 Jun 2019 10:37:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2AEFE0967; Wed, 12 Jun 2019 10:37:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B67D6E0967 for ; Wed, 12 Jun 2019 10:37:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44F46345F28 for ; Wed, 12 Jun 2019 10:37:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B473615 for ; Wed, 12 Jun 2019 10:37:28 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1560335824.048995235df9f30a30107934331ff94b2d720859.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpegthumbnailer/, media-video/ffmpegthumbnailer/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.2.0-pkgconfig-libdir.patch X-VCS-Directories: media-video/ffmpegthumbnailer/files/ media-video/ffmpegthumbnailer/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 048995235df9f30a30107934331ff94b2d720859 X-VCS-Branch: master Date: Wed, 12 Jun 2019 10:37:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 257c2d07-28a8-4fa1-b404-652838da4688 X-Archives-Hash: f7094c1dc2f3bb16f14c3dd6c2d96967 commit: 048995235df9f30a30107934331ff94b2d720859 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jun 12 10:30:10 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 12 10:37:04 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04899523 media-video/ffmpegthumbnailer: Fix libffmpegthumbnailer.pc libdir Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Andreas Sturmlechner gentoo.org> .../ffmpegthumbnailer-2.2.0-r1.ebuild | 51 ++++++++++++++++++++++ .../ffmpegthumbnailer-2.2.0-pkgconfig-libdir.patch | 21 +++++++++ 2 files changed, 72 insertions(+) diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild new file mode 100644 index 00000000000..c10e330b578 --- /dev/null +++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +REQUIRED_USE="gnome? ( gtk ) + test? ( png jpeg )" + +BDEPEND=" + virtual/pkgconfig +" +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}" + +DOCS=( AUTHORS ChangeLog README.md ) + +PATCHES=( "${FILESDIR}/${P}-pkgconfig-libdir.patch" ) + +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 +} diff --git a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.2.0-pkgconfig-libdir.patch b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.2.0-pkgconfig-libdir.patch new file mode 100644 index 00000000000..8a70b6fbde4 --- /dev/null +++ b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-2.2.0-pkgconfig-libdir.patch @@ -0,0 +1,21 @@ +From 88c09cb6218fda5457c228f33084244db8725ed2 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Sat, 15 Apr 2017 19:36:01 -0700 +Subject: [PATCH] Fix libffmpegthumbnailer.pc to work with multilib systems + +--- + libffmpegthumbnailer.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libffmpegthumbnailer.pc.in b/libffmpegthumbnailer.pc.in +index 77c00b2..0a2f997 100644 +--- a/libffmpegthumbnailer.pc.in ++++ b/libffmpegthumbnailer.pc.in +@@ -1,6 +1,6 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/lib ++libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ + includedir=${prefix}/include + + Name: libffmpegthumbnailer