From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- media-video/photofilmstrip/Manifest | 2 +- .../photofilmstrip/photofilmstrip-3.7.1-r1.ebuild | 73 ++++++++++++++++++++++ .../photofilmstrip/photofilmstrip-3.7.1.ebuild | 67 -------------------- 3 files changed, 74 insertions(+), 68 deletions(-) create mode 100644 media-video/photofilmstrip/photofilmstrip-3.7.1-r1.ebuild delete mode 100644 media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild (limited to 'media-video/photofilmstrip') diff --git a/media-video/photofilmstrip/Manifest b/media-video/photofilmstrip/Manifest index 18c13196ebda..1b2a5430b1ef 100644 --- a/media-video/photofilmstrip/Manifest +++ b/media-video/photofilmstrip/Manifest @@ -1,4 +1,4 @@ AUX photofilmstrip-3.7.1-disable-docs-by-default.patch 379 BLAKE2B 8af4a4e5ab1f407ba72dad0975a5f17e2eb245a42484dcfcb996a785dc2a49c4e5c22a5136e4dc0c375dc0dc16baeb4cc4ef60b7ec21b48b6f11fadc91383e3f SHA512 92f24eac04653e2be160872a553d96d1d0c763c50879fc124ae3dd9a3f84d7988274965f122eb4ba7709ee9f65409e7d24fda36693129cf55a8d2cd26a4bc539 DIST photofilmstrip-3.7.1.tar.gz 354585 BLAKE2B df1e8756677814f35a59d7f4d3585647393e37262eb80c3299805cb0811cdfb4a16c96f90aaa192469266805145db68a582671a34f2b2780b75f1e0318460bd7 SHA512 fc2284c6c52eea5d9a6415149681e26505d6e084ad31897c44cde8e2b4845584b8521b375da06fd0a59179bfa73f6aabe769caad7a8186d5f87ecacebaff24fb -EBUILD photofilmstrip-3.7.1.ebuild 2051 BLAKE2B 39fef7729c1c511e73a5277bb43b50f24c3d266c889288c43f5731e584fb3b2abd155fec2b220ac9226fcb800590fb09d97221661a156d67449360a7b659ba43 SHA512 95e925c4e701916effd7b078de5145c6e8ae10f5f71a653f9aeb7bfc043c41ed936d5437ea75781aec98c2d35d07b6d0f8fea73f0c38a4ca6e338147b5860826 +EBUILD photofilmstrip-3.7.1-r1.ebuild 2141 BLAKE2B 5018c0076339c9571ac84a955b232c3ccbc1b816e3c62cb7cbb57ad1d8c7dee671939ec721ca19dfebcfcf0158e8b15905a8513c077ad4500be9fe63f6a45b48 SHA512 15b71ba2c85dfbf838475a972b274ba51d10a8c6bef9436a2088f3fc16447624c0b4b4034455f8efda556f709244aa4c931bf6fe0f1d30ca3ebe4830daabf011 MISC metadata.xml 683 BLAKE2B 517c2479c9ce8b3d78afd530cd6f97fcd6fefc73aaffc889584729035151d40fdd5cfe8efcf285aa5e6f3522af8825dab0e214cd5f252bb69da3f5c2b6f17c44 SHA512 58801972ef5326f757ce11964e47267df3b199f36290d0d81d3fecc97f59f678a110c107082d8d8bdebd54fc7268dd75a463a089aa22361157f4770f0d6b7251 diff --git a/media-video/photofilmstrip/photofilmstrip-3.7.1-r1.ebuild b/media-video/photofilmstrip/photofilmstrip-3.7.1-r1.ebuild new file mode 100644 index 000000000000..642f93edc0e6 --- /dev/null +++ b/media-video/photofilmstrip/photofilmstrip-3.7.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 eutils xdg-utils + +DESCRIPTION="Movie slideshow creator using Ken Burns effect" +HOMEPAGE="https://www.photofilmstrip.org/en/ https://github.com/PhotoFilmStrip" +SRC_URI="https://github.com/PhotoFilmStrip/PFS/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/gst-python[${PYTHON_MULTI_USEDEP}] + dev-python/pillow[${PYTHON_MULTI_USEDEP}] + dev-python/wxpython:4.0[${PYTHON_MULTI_USEDEP}] + ') + media-plugins/gst-plugins-jpeg:1.0 + x11-libs/wxGTK:*[X]" +DEPEND=" + $(python_gen_cond_dep ' + doc? ( dev-python/sphinx[${PYTHON_MULTI_USEDEP}] ) + ')" + +PATCHES=( "${FILESDIR}/${P}-disable-docs-by-default.patch" ) + +src_prepare() { + default + + # fix 'unexpected path' QA warning on einstalldocs + sed -i 's|"share", "doc", "photofilmstrip"|"share", "doc", "'${PF}'"|g' setup.py || + die "Fixing unexpected path failed." + + # build html docs + if use doc; then + sed -i 's/Sphinx = None/from sphinx.application import Sphinx/g' -i setup.py || + die "Failed to enable building docs with sphinx." + fi + + # fix a QA issue with .desktop file + sed -i '/Version=/d' data/photofilmstrip.desktop || die "Failed to update .desktop file." +} + +python_install_all() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + doman docs/manpage/*.1 + distutils-r1_python_install_all +} + +pkg_postinst() { + xdg_icon_cache_update + + optfeature "additional rendering formats" media-plugins/gst-plugins-bad + optfeature "additional rendering formats" media-plugins/gst-plugins-good + optfeature "additional rendering formats" media-plugins/gst-plugins-ugly + optfeature "ogg/theora support" media-libs/gst-plugins-base[theora] + optfeature "h264 (MKV/MP4) support" media-plugins/gst-plugins-x264 + optfeature "h265 (MKV) support" media-plugins/gst-plugins-x265 + optfeature "MPEG 1/2 (DVD) support" media-plugins/gst-plugins-mpeg2enc +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild b/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild deleted file mode 100644 index bd308e4f0daa..000000000000 --- a/media-video/photofilmstrip/photofilmstrip-3.7.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_SINGLE_IMPL=1 - -inherit distutils-r1 eutils xdg-utils - -DESCRIPTION="Movie slideshow creator using Ken Burns effect" -HOMEPAGE="https://www.photofilmstrip.org/en/ https://github.com/PhotoFilmStrip" -SRC_URI="https://github.com/PhotoFilmStrip/PFS/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND="dev-python/gst-python[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/wxpython:4.0[${PYTHON_USEDEP}] - media-plugins/gst-plugins-jpeg:1.0 - x11-libs/wxGTK:*[X]" -DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -PATCHES=( "${FILESDIR}/${P}-disable-docs-by-default.patch" ) - -src_prepare() { - default - - # fix 'unexpected path' QA warning on einstalldocs - sed -i 's|"share", "doc", "photofilmstrip"|"share", "doc", "'${PF}'"|g' setup.py || - die "Fixing unexpected path failed." - - # build html docs - if use doc; then - sed -i 's/Sphinx = None/from sphinx.application import Sphinx/g' -i setup.py || - die "Failed to enable building docs with sphinx." - fi - - # fix a QA issue with .desktop file - sed -i '/Version=/d' data/photofilmstrip.desktop || die "Failed to update .desktop file." -} - -python_install_all() { - use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) - doman docs/manpage/*.1 - distutils-r1_python_install_all -} - -pkg_postinst() { - xdg_icon_cache_update - - optfeature "additional rendering formats" media-plugins/gst-plugins-bad - optfeature "additional rendering formats" media-plugins/gst-plugins-good - optfeature "additional rendering formats" media-plugins/gst-plugins-ugly - optfeature "ogg/theora support" media-libs/gst-plugins-base[theora] - optfeature "h264 (MKV/MP4) support" media-plugins/gst-plugins-x264 - optfeature "h265 (MKV) support" media-plugins/gst-plugins-x265 - optfeature "MPEG 1/2 (DVD) support" media-plugins/gst-plugins-mpeg2enc -} - -pkg_postrm() { - xdg_icon_cache_update -} -- cgit v1.2.3