Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/booh: ChangeLog booh-0.9.2.2.ebuild
Date: Sat, 27 Feb 2010 08:12:34
Message-Id: E1NlHmo-0000nR-BX@stork.gentoo.org
1 graaff 10/02/27 08:12:30
2
3 Modified: ChangeLog
4 Added: booh-0.9.2.2.ebuild
5 Log:
6 Version bump. Thanks to hitachi for the notification in bug 306721.
7 (Portage version: 2.1.7.16/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.22 app-misc/booh/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/booh/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/booh/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/booh/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 24 Feb 2009 06:16:18 -0000 1.21
23 +++ ChangeLog 27 Feb 2010 08:12:29 -0000 1.22
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-misc/booh
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.21 2009/02/24 06:16:18 josejx Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.22 2010/02/27 08:12:29 graaff Exp $
30 +
31 +*booh-0.9.2.2 (27 Feb 2010)
32 +
33 + 27 Feb 2010; Hans de Graaff <graaff@g.o> +booh-0.9.2.2.ebuild:
34 + Version bump. Thanks to hitachi for the notification in bug 306721.
35
36 24 Feb 2009; Joseph Jezak <josejx@g.o> booh-0.9.1.ebuild:
37 Marked ~ppc for bug #231068.
38
39
40
41 1.1 app-misc/booh/booh-0.9.2.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/booh/booh-0.9.2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/booh/booh-0.9.2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: booh-0.9.2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/booh/booh-0.9.2.2.ebuild,v 1.1 2010/02/27 08:12:29 graaff Exp $
51
52 EAPI="2"
53
54 inherit eutils bash-completion
55
56 DESCRIPTION="Static HTML photo album generator"
57 HOMEPAGE="http://booh.org/index.html"
58 SRC_URI="http://booh.org/packages/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="gtk encode exif"
64
65 DEPEND="dev-lang/ruby
66 >=dev-ruby/ruby-gettext-0.8.0
67 media-gfx/exiv2
68 gtk? ( >=dev-ruby/ruby-gtk2-0.12
69 >=x11-libs/gtk+-2.8 )"
70
71 RDEPEND="${DEPEND}
72 dev-ruby/rubygems
73 media-gfx/imagemagick
74 exif? ( media-gfx/exif )
75 encode? ( media-video/mplayer )"
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${PN}-0.9.1-require_gems.patch
79
80 # Remove scripts requiring gtk if gtk is not used
81 if ! use gtk; then
82 rm bin/booh bin/booh-classifier bin/booh-fix-whitebalance \
83 bin/booh-gamma-correction
84 fi
85 }
86
87 src_configure() {
88 ruby setup.rb config || die "ruby setup.rb config failed"
89 ruby setup.rb setup || die "ruby setup.rb setup failed"
90 cd ext
91 ruby extconf.rb || die "ruby extconf.rb failed"
92 }
93
94 src_install() {
95 ruby setup.rb install \
96 --prefix="${D}" || die "ruby setup.rb install failed"
97 cd ext
98 emake install \
99 DESTDIR=${D} \
100 libdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']"` \
101 archdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']"` \
102 || die "emake install failed"
103 cd ..
104 domenu desktop/booh-classifier.desktop desktop/booh.desktop || die "domenu failed"
105 doicon desktop/booh-48x48.png || die "doicon failed"
106 dobashcompletion booh.bash-completion || die "dobashcompletion failed"
107 dodoc AUTHORS ChangeLog INTERNALS README VERSION THEMES \
108 || die "dodoc failed"
109 }