summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/gtkam/Manifest1
-rw-r--r--media-gfx/gtkam/gtkam-1.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/gtkam/Manifest b/media-gfx/gtkam/Manifest
index 8e69b3feb3bc..39579a1afb4e 100644
--- a/media-gfx/gtkam/Manifest
+++ b/media-gfx/gtkam/Manifest
@@ -1 +1,2 @@
DIST gtkam-0.2.0.tar.bz2 1137547 SHA256 527b1318ed8f49fbf8c13b80a4d2859e41bb34ab6bb5cc728c8816aa6ecf97c2 SHA512 648a8f4d85ec802ee3bc391d4c20517eefe2da253db964e3fb578bd2b98abe79bc6ae6e7de2b91e03ae73b5ebfd5f963fb453c44f5347d3c700c1881f79c2c4d WHIRLPOOL b7d7c0af01c70e34f62a2b0cd7a6beb0115cba20771f9e6d5dbc1cdf866689bf29a95a97e8de70c95d80a7e3801ab0648d0951b06fe9bded2a40cad4bca333fe
+DIST gtkam-1.0.tar.bz2 908986 SHA256 ab7f50d4654d129cd8b386658249b05ea739a446f08026c7352b829c63382c3d SHA512 3b2b8aa5114237dc6fd5d6727e9ae76e88afa3257d0f18d790cc706b737c0a1002b86559621b3357629f9a7fb4d8f321c46f9eec83c7aa27998acb0f48904f7c WHIRLPOOL 9310abc8308337225945a8cdfc947a610f669470e96b865264d3950cfa774e8c242fb7361abd2c4c5e87b83bb1d3a2bdc27065146472da8accb5799efd22a73d
diff --git a/media-gfx/gtkam/gtkam-1.0.ebuild b/media-gfx/gtkam/gtkam-1.0.ebuild
new file mode 100644
index 000000000000..01a8d42ec394
--- /dev/null
+++ b/media-gfx/gtkam/gtkam-1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils gnome2
+
+DESCRIPTION="A frontend for gPhoto 2"
+HOMEPAGE="http://gphoto.org/proj/gtkam"
+SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="gimp nls"
+
+RDEPEND="
+ x11-libs/gtk+:2
+ >=media-libs/libgphoto2-2.5.0
+ >=media-libs/libexif-0.3.2
+ media-libs/libexif-gtk
+ gimp? ( >=media-gfx/gimp-2 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ nls? ( >=sys-devel/gettext-0.14.1 )
+"
+
+PATCHES=(
+ # Fix .desktop validity, bug #271569
+ "${FILESDIR}/${PN}-0.1.18-desktop-validation.patch"
+)
+
+src_configure() {
+ gnome2_src_configure \
+ --without-bonobo \
+ --without-gnome \
+ $(use_with gimp) \
+ $(use_enable nls) \
+ --with-rpmbuild=/bin/false
+}
+
+src_install() {
+ gnome2_src_install
+ rm -rf "${ED}"/usr/share/doc/gtkam || die "rm failed"
+}