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