diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-video/imagination/imagination-3.0-r1.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'media-video/imagination/imagination-3.0-r1.ebuild')
-rw-r--r-- | media-video/imagination/imagination-3.0-r1.ebuild | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/media-video/imagination/imagination-3.0-r1.ebuild b/media-video/imagination/imagination-3.0-r1.ebuild index 030aa01ae125..dbf5d971be68 100644 --- a/media-video/imagination/imagination-3.0-r1.ebuild +++ b/media-video/imagination/imagination-3.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit autotools eutils +inherit autotools desktop DESCRIPTION="Simple DVD slideshow maker" HOMEPAGE="http://imagination.sourceforge.net/" @@ -13,29 +13,29 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="x11-libs/gtk+:2 - media-sound/sox" +DEPEND=" + media-sound/sox:= + x11-libs/cairo:= + x11-libs/gtk+:2" RDEPEND="${DEPEND} virtual/ffmpeg" -LANGS="cs de en_GB fr it pt_BR sv zh_CN zh_TW" +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-enable-translations.patch + "${FILESDIR}"/${P}-fix-htmldir.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-cflags.patch - # enable translations. Bug #380011 - sed -i -e "/#define PLUGINS_INSTALLED/s:0:1:" "${S}"/src/support.h || die - rm "${S}"/po/LINGUAS - for x in ${LANGS}; do - if ! has ${x} ${LINGUAS}; then - rm "${S}"/po/${x}.po || die - else - echo -n "${x} " >> "${S}"/po/LINGUAS - fi - done + default + mv configure.{in,ac} || die eautoreconf } src_install() { default doicon icons/48x48/${PN}.png + + # only plugins + find "${D}" -name '*.la' -delete || die } |