Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/dvdisaster/
Date: Sun, 30 Sep 2018 10:31:05
Message-Id: 1538303433.7825bb59cdfcc6f2c7209fb39b078a64bf37ba7e.pacho@gentoo
1 commit: 7825bb59cdfcc6f2c7209fb39b078a64bf37ba7e
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 30 10:30:33 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 10:30:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7825bb59
7
8 app-cdr/dvdisaster: Cleanup ebuild (#653788 by Daniel Kenzelmann)
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild | 23 ++++++++++++-----------
14 1 file changed, 12 insertions(+), 11 deletions(-)
15
16 diff --git a/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild b/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
17 index dbc782d73d2..072635d91b4 100644
18 --- a/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
19 +++ b/app-cdr/dvdisaster/dvdisaster-0.79.5.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -inherit eutils gnome2-utils toolchain-funcs
27 +EAPI=6
28 +inherit desktop gnome2-utils toolchain-funcs
29
30 DESCRIPTION="Tool for creating error correction data (ecc) for optical media (DVD, CD, BD)"
31 HOMEPAGE="http://dvdisaster.net/"
32 @@ -19,14 +19,17 @@ for dvdi_lang in ${dvdi_langs}; do
33 done
34 unset dvdi_lang
35
36 -RDEPEND=">=dev-libs/glib-2.32
37 +RDEPEND="
38 + >=dev-libs/glib-2.32:2
39 nls? ( virtual/libintl )
40 >=x11-libs/gtk+-2.6:2
41 - x11-libs/gdk-pixbuf"
42 + x11-libs/gdk-pixbuf
43 +"
44 DEPEND="${RDEPEND}
45 nls? ( sys-devel/gettext )
46 virtual/os-headers
47 - virtual/pkgconfig"
48 + virtual/pkgconfig
49 +"
50
51 src_configure() {
52 ./configure \
53 @@ -46,8 +49,7 @@ src_compile() {
54 }
55
56 src_install() {
57 - emake install
58 - dodoc CHANGELOG CREDITS.en README* TODO *HOWTO
59 + DOCS="CHANGELOG CREDITS.en README* TODO *HOWTO" default
60
61 newicon contrib/${PN}48.png ${PN}.png
62 make_desktop_entry ${PN} ${PN} ${PN} 'System;Utility'
63 @@ -64,12 +66,11 @@ src_install() {
64 use l10n_${dvdi_lang} || rm -rf \
65 ${dest}/doc/${PF}/${dvdi_lang/-/_} \
66 ${dest}/doc/${PF}/CREDITS.${dvdi_lang/-/_} \
67 - ${dest}/man/${dvdi_lang/-/_}
68 + ${dest}/man/${dvdi_lang/-/_} || die
69 done
70
71 - rm -f "${D}"usr/bin/*-uninstall.sh
72 + rm -f "${D}"usr/bin/*-uninstall.sh || die
73 }
74
75 -pkg_preinst() { gnome2_icon_savelist; }
76 pkg_postinst() { gnome2_icon_cache_update; }
77 pkg_postrm() { gnome2_icon_cache_update; }