From f0d202d7a1bd56324d80388f2dbb128555160cf6 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Mon, 15 Apr 2019 20:19:10 +0200 Subject: media-video/devedeng: 4.14.0 bump Fix documentation, desktop file and man file warnings Closes: https://bugs.gentoo.org/683270 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Bernard Cafarelli --- media-video/devedeng/Manifest | 1 + media-video/devedeng/devedeng-4.14.0.ebuild | 52 ++++++++++++++++++++++ .../files/devedeng-4.14.0-no_compress_man.patch | 25 +++++++++++ 3 files changed, 78 insertions(+) create mode 100644 media-video/devedeng/devedeng-4.14.0.ebuild create mode 100644 media-video/devedeng/files/devedeng-4.14.0-no_compress_man.patch (limited to 'media-video') diff --git a/media-video/devedeng/Manifest b/media-video/devedeng/Manifest index ece4922e0595..ce8a2f0f889d 100644 --- a/media-video/devedeng/Manifest +++ b/media-video/devedeng/Manifest @@ -1,2 +1,3 @@ DIST devedeng-4.10.0.tar.gz 1884153 BLAKE2B 71b86ae206dfd8798d54304eb68b488fd7d5e6ca76d76691682bd106e28de7a75833fdf57499841d1aa970e35e336cf50d568fb5e3fc34a40eb685c8b503a561 SHA512 4230e0395b4add0b53921137c9d32ebcf7efb1d2e8e8298c57bc11e82e06783b9a4f4fdcec41b1bcfdb358a35d1ce03c14fa3448551ad7289684ad35ce76cbd2 DIST devedeng-4.11.0.tar.gz 1884388 BLAKE2B 2871d3d8d094be0cd32007859ea65a6567884970b32d93ef3838ab7ad1c31e25fed8f8c1a6719e5ca0f685596b74551301ef9397ad2315d7563da6015546686c SHA512 3a6f5bc780e9f4b248ce731324462ec4df2982256b77c837b53e2de1fa4668c8df73af5471f3878af80c0feeff7ea2238d9d68b21915bd6cd4c70be9f61efa52 +DIST devedeng-4.14.0.tar.bz2 1759759 BLAKE2B 1ebdf68e41d1554b7a4d477616ab7700f5a48ed533f8662d4baf3e1b7ca98bdaf92ddbee438ab22ed6b431623bc4c54e1f1bd610806e0fb1676d58df6b73e436 SHA512 2afbc69b9bbfaaab2b2123319bacb87f023e789e118bc3025132cd6a71f91373c80e6a5a35d83291f085ee3af03cf776bbd8f513c557174413b269ecf3c220cf diff --git a/media-video/devedeng/devedeng-4.14.0.ebuild b/media-video/devedeng/devedeng-4.14.0.ebuild new file mode 100644 index 000000000000..1e5bf242c0eb --- /dev/null +++ b/media-video/devedeng/devedeng-4.14.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{4,5,6,7} ) + +inherit distutils-r1 xdg-utils + +DESCRIPTION="DevedeNG is a program to create video DVDs and CDs (VCD, sVCD or CVD)" +HOMEPAGE="http://www.rastersoft.com/programas/devede.html" +SRC_URI="https://gitlab.com/rastersoft/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libav" + +RDEPEND="dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + x11-libs/gtk+:3 + || ( media-video/vlc media-video/mpv media-video/mplayer ) + !libav? ( media-video/ffmpeg ) + libav? ( media-video/libav ) + media-video/dvdauthor + media-video/vcdimager + virtual/cdrtools + || ( app-cdr/brasero kde-apps/k3b app-cdr/xfburn )" + +DEPEND="${PYTHON_DEPS}" + +PATCHES=( "${FILESDIR}"/${P}-no_compress_man.patch ) + +src_prepare() { + default + + # Documentation path + sed -e "s#/usr/share/doc/devedeng#/usr/share/doc/${P}#" \ + -i src/devedeng/configuration_data.py || die + sed -e "/'doc'/s/devedeng/${P}/" -i setup.py || die + + # Desktop icon + sed -e "/^Icon/s/.svg$//#" -i data/devede_ng.py.desktop || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-video/devedeng/files/devedeng-4.14.0-no_compress_man.patch b/media-video/devedeng/files/devedeng-4.14.0-no_compress_man.patch new file mode 100644 index 000000000000..f9d1bfbcbbd4 --- /dev/null +++ b/media-video/devedeng/files/devedeng-4.14.0-no_compress_man.patch @@ -0,0 +1,25 @@ +diff -Naur devedeng-4.14.0.orig/setup.py devedeng-4.14.0/setup.py +--- devedeng-4.14.0.orig/setup.py 2019-02-04 23:15:33.000000000 +0100 ++++ devedeng-4.14.0/setup.py 2019-04-15 19:44:50.048675427 +0200 +@@ -26,7 +26,7 @@ + (os.path.join('share', 'devedeng', 'backgrounds'), + glob('data/pixmaps/backgrounds/*')), + (os.path.join('share', 'doc', 'devedeng', 'html'), glob('doc/*')), +- (os.path.join('share', 'man', 'man1'), ['data/devede.1.gz']) ++ (os.path.join('share', 'man', 'man1'), ['data/devede.1']) + ] + + for lang_name in [f for f in os.listdir('locale')]: +@@ -73,12 +73,6 @@ + except: + print("Failed to generate the translations") + +-try: +- if os.path.isfile('data/devede.1'): +- os.system("gzip -c data/devede.1 > data/devede.1.gz") +-except: +- pass +- + #here = os.path.abspath(os.path.dirname(__file__)) + + setup( -- cgit v1.2.3-65-gdbad