summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-02-27 08:12:29 +0000
committerHans de Graaff <graaff@gentoo.org>2010-02-27 08:12:29 +0000
commit3d88ef85e6beb56990e17c8f9ef92de1363316b9 (patch)
tree6b0529677edf9e5d014b74c0d108b7df316148c7 /app-misc
parentnouveau-drm: new snapshot (diff)
downloadgentoo-2-3d88ef85e6beb56990e17c8f9ef92de1363316b9.tar.gz
gentoo-2-3d88ef85e6beb56990e17c8f9ef92de1363316b9.tar.bz2
gentoo-2-3d88ef85e6beb56990e17c8f9ef92de1363316b9.zip
Version bump. Thanks to hitachi for the notification in bug 306721.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/booh/ChangeLog9
-rw-r--r--app-misc/booh/booh-0.9.2.2.ebuild62
2 files changed, 69 insertions, 2 deletions
diff --git a/app-misc/booh/ChangeLog b/app-misc/booh/ChangeLog
index 87447422fe16..2b5a01a24b01 100644
--- a/app-misc/booh/ChangeLog
+++ b/app-misc/booh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/booh
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.21 2009/02/24 06:16:18 josejx Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.22 2010/02/27 08:12:29 graaff Exp $
+
+*booh-0.9.2.2 (27 Feb 2010)
+
+ 27 Feb 2010; Hans de Graaff <graaff@gentoo.org> +booh-0.9.2.2.ebuild:
+ Version bump. Thanks to hitachi for the notification in bug 306721.
24 Feb 2009; Joseph Jezak <josejx@gentoo.org> booh-0.9.1.ebuild:
Marked ~ppc for bug #231068.
diff --git a/app-misc/booh/booh-0.9.2.2.ebuild b/app-misc/booh/booh-0.9.2.2.ebuild
new file mode 100644
index 000000000000..753742d3aa8c
--- /dev/null
+++ b/app-misc/booh/booh-0.9.2.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI="2"
+
+inherit eutils bash-completion
+
+DESCRIPTION="Static HTML photo album generator"
+HOMEPAGE="http://booh.org/index.html"
+SRC_URI="http://booh.org/packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk encode exif"
+
+DEPEND="dev-lang/ruby
+ >=dev-ruby/ruby-gettext-0.8.0
+ media-gfx/exiv2
+ gtk? ( >=dev-ruby/ruby-gtk2-0.12
+ >=x11-libs/gtk+-2.8 )"
+
+RDEPEND="${DEPEND}
+ dev-ruby/rubygems
+ media-gfx/imagemagick
+ exif? ( media-gfx/exif )
+ encode? ( media-video/mplayer )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.9.1-require_gems.patch
+
+ # Remove scripts requiring gtk if gtk is not used
+ if ! use gtk; then
+ rm bin/booh bin/booh-classifier bin/booh-fix-whitebalance \
+ bin/booh-gamma-correction
+ fi
+}
+
+src_configure() {
+ ruby setup.rb config || die "ruby setup.rb config failed"
+ ruby setup.rb setup || die "ruby setup.rb setup failed"
+ cd ext
+ ruby extconf.rb || die "ruby extconf.rb failed"
+}
+
+src_install() {
+ ruby setup.rb install \
+ --prefix="${D}" || die "ruby setup.rb install failed"
+ cd ext
+ emake install \
+ DESTDIR=${D} \
+ libdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']"` \
+ archdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']"` \
+ || die "emake install failed"
+ cd ..
+ domenu desktop/booh-classifier.desktop desktop/booh.desktop || die "domenu failed"
+ doicon desktop/booh-48x48.png || die "doicon failed"
+ dobashcompletion booh.bash-completion || die "dobashcompletion failed"
+ dodoc AUTHORS ChangeLog INTERNALS README VERSION THEMES \
+ || die "dodoc failed"
+}