Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-cdr/dvdisaster: dvdisaster-0.72.1.ebuild ChangeLog
Date: Thu, 03 Sep 2009 09:06:36
Message-Id: E1MjD5j-0001pO-Gs@stork.gentoo.org
1 patrick 09/09/03 14:15:11
2
3 Modified: ChangeLog
4 Added: dvdisaster-0.72.1.ebuild
5 Log:
6 Bump to 0.72.1, fixes #281119
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.13 app-cdr/dvdisaster/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvdisaster/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvdisaster/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvdisaster/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 30 Apr 2009 19:16:05 -0000 1.12
23 +++ ChangeLog 3 Sep 2009 14:15:11 -0000 1.13
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-cdr/dvdisaster
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/ChangeLog,v 1.12 2009/04/30 19:16:05 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/ChangeLog,v 1.13 2009/09/03 14:15:11 patrick Exp $
29 +
30 +*dvdisaster-0.72.1 (03 Sep 2009)
31 +
32 + 03 Sep 2009; Patrick Lauer <patrick@g.o> +dvdisaster-0.72.1.ebuild:
33 + Bump to 0.72.1, fixes #281119
34
35 *dvdisaster-0.72_rc1 (30 Apr 2009)
36
37
38
39
40 1.1 app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: dvdisaster-0.72.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-cdr/dvdisaster/dvdisaster-0.72.1.ebuild,v 1.1 2009/09/03 14:15:11 patrick Exp $
50
51 EAPI=2
52 inherit eutils gnome2-utils versionator
53
54 MY_P=${PN}-$(replace_version_separator 2 '.')
55
56 DESCRIPTION="Data-protection and recovery tool for DVDs"
57 HOMEPAGE="http://dvdisaster.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 SLOT="0"
63 IUSE="debug linguas_cs linguas_de linguas_it linguas_ru sse2"
64
65 RDEPEND=">=x11-libs/gtk+-2.6:2"
66 DEPEND="${RDEPEND}
67 dev-util/pkgconfig"
68
69 S=${WORKDIR}/${MY_P}
70
71 # - There is no autotools, use_ functions won't work
72 # - NLS disabled because sys-devel/gettext fails, if you enable it
73 # you need also virtual/libintl because it links to it for FreeBSD
74 src_configure() {
75 local myconf
76
77 if use sse2; then
78 myconf+=" --with-sse2=yes"
79 else
80 myconf+=" --with-sse2=no"
81 fi
82
83 use debug && myconf+=" --debug --with-memdebug=yes"
84
85 ./configure \
86 --prefix=/usr \
87 --bindir=/usr/bin \
88 --mandir=/usr/share/man \
89 --docdir=/usr/share/doc \
90 --docsubdir=${PF} \
91 --localedir=/usr/share/locale \
92 --buildroot="${D}" \
93 --with-nls=no \
94 ${myconf} \
95 || die "./configure failed"
96 }
97
98 src_install() {
99 emake install || die "emake install failed"
100
101 newicon contrib/${PN}48.png ${PN}.png
102 make_desktop_entry ${PN} ${PN} ${PN} "System;Utility"
103
104 for res in 16 32 48 64; do
105 insinto /usr/share/icons/hicolor/${res}x${res}/apps
106 newins contrib/${PN}${res}.png ${PN}.png
107 done
108
109 local dest="${D}/usr/share"
110
111 for lang in cs de it ru; do
112 use linguas_${lang} || rm -rf ${dest}/doc/${PF}/${lang} \
113 ${dest}/doc/${PF}/CREDITS.${lang} ${dest}/man/${lang}
114 done
115
116 rm -f "${D}"/usr/bin/*.sh
117 }
118
119 pkg_preinst() {
120 gnome2_icon_savelist
121 }
122
123 pkg_postinst() {
124 gnome2_icon_cache_update
125 }
126
127 pkg_postrm() {
128 gnome2_icon_cache_update
129 }