Gentoo Archives: gentoo-commits

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