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 766CC138330 for ; Sat, 13 Jan 2018 23:28:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A54A7E0880; Sat, 13 Jan 2018 23:28:58 +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 7750EE0880 for ; Sat, 13 Jan 2018 23:28:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2D2AE335C50 for ; Sat, 13 Jan 2018 23:28:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B58351B7 for ; Sat, 13 Jan 2018 23:28:55 +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: <1515886115.172d618e17f20f7cddc633caeb8986acea7e8ad8.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffdiaporama/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/ffdiaporama/ffdiaporama-2.2_pre20140701-r1.ebuild X-VCS-Directories: media-video/ffdiaporama/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 172d618e17f20f7cddc633caeb8986acea7e8ad8 X-VCS-Branch: master Date: Sat, 13 Jan 2018 23:28:55 +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-Archives-Salt: b86d824e-663c-4753-a25e-ee5940deccf4 X-Archives-Hash: abeeaec173ea941b1030b7a20c83f4c8 commit: 172d618e17f20f7cddc633caeb8986acea7e8ad8 Author: Olivier Laurantin laposte net> AuthorDate: Sat Jan 13 21:22:15 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jan 13 23:28:35 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=172d618e media-video/ffdiaporama: Drop qt4 support Drop qt4 support and build unconditionally with qt5 Bug: https://bugs.gentoo.org/644418 Closes: https://github.com/gentoo/gentoo/pull/6854 .../ffdiaporama-2.2_pre20140701-r1.ebuild | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/media-video/ffdiaporama/ffdiaporama-2.2_pre20140701-r1.ebuild b/media-video/ffdiaporama/ffdiaporama-2.2_pre20140701-r1.ebuild new file mode 100644 index 00000000000..9cf6638df7a --- /dev/null +++ b/media-video/ffdiaporama/ffdiaporama-2.2_pre20140701-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit xdg-utils gnome2-utils qmake-utils + +MY_PV=${PV%_pre20140701} +BIN_PV=${MY_PV}.devel.2014.0701 +RSC_PV=${MY_PV}.devel.2014.0503 +TMT_PV=1.0.2014.0125 +DESCRIPTION="Movie creator from photos and video clips" +HOMEPAGE="http://ffdiaporama.tuxfamily.org" +SRC_URI="http://download.tuxfamily.org/${PN}/Packages/Devel/${PN}_bin_${BIN_PV}.tar.gz + http://download.tuxfamily.org/${PN}/Packages/Devel/${PN}_rsc_${RSC_PV}.tar.gz + https://dev.gentoo.org/~jstein/dist/ffdiaporama-2.2-libav11.patch + https://dev.gentoo.org/~jstein/dist/ffdiaporama-2.2-ffmpeg-3.0.patch + texturemate? ( http://download.tuxfamily.org/${PN}/Packages/Stable/${PN}_texturemate_${TMT_PV}.tar.gz )" + +LICENSE="GPL-2 + texturemate? ( CC-BY-3.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libav openclipart texturemate" + +RDEPEND=" + media-gfx/exiv2 + media-libs/taglib + openclipart? ( media-gfx/openclipart[svg,-gzip] ) + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qthelp:5 + dev-qt/qtmultimedia:5 + dev-qt/qtsql:5[sqlite] + dev-qt/qtsvg:5 + dev-qt/qtxml:5 + libav? ( >=media-video/libav-11:0=[encode] ) + !libav? ( >=media-video/ffmpeg-2.8:0=[encode] )" +DEPEND="${RDEPEND}" + +DOCS=( authors.txt ) +PATCHES=( "${DISTDIR}"/${PN}-${MY_PV}-{ffmpeg-3.0,libav11}.patch ) + +S="${WORKDIR}/ffDiaporama" + +src_prepare() { + echo "SUBDIRS += ../ffDiaporama_rsc" >> ffDiaporama.pro || die + if use texturemate; then + echo "SUBDIRS += ../ffDiaporama_texturemate" >> ffDiaporama.pro || die + fi + default_src_prepare +} + +src_configure() { + eqmake5 QMAKE_CFLAGS_ISYSTEM= +} + +src_install() { + emake INSTALL_ROOT="${D}" install + if use openclipart; then + dosym ../../clipart/openclipart /usr/share/ffDiaporama/clipart/openclipart + fi +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +}