summaryrefslogtreecommitdiff
path: root/media-gfx/gtkam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gtkam
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gtkam')
-rw-r--r--media-gfx/gtkam/Manifest6
-rw-r--r--media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch15
-rw-r--r--media-gfx/gtkam/gtkam-1.0.ebuild46
-rw-r--r--media-gfx/gtkam/metadata.xml15
4 files changed, 82 insertions, 0 deletions
diff --git a/media-gfx/gtkam/Manifest b/media-gfx/gtkam/Manifest
new file mode 100644
index 000000000000..b1cd4ae1162c
--- /dev/null
+++ b/media-gfx/gtkam/Manifest
@@ -0,0 +1,6 @@
+AUX gtkam-0.1.18-desktop-validation.patch 536 SHA256 7ddb8b5369bfaba237b269fd17d82b6ae2ef4519f74381b7ac9c3c718b6b6ea3 SHA512 2b6cf0e5c680debb3b724e6fa1afffafce05d2f2bbf022d51157b958ad6d7f71b4027c8ec29ae1115c30bc8091c53173fea40211b494afbccd9cf97cc209f0a8 WHIRLPOOL 88c050bf531e9b6c073697e84afa8d3bbebcaaf3dc1408ad96b169887b79638d3479c356657ea7a1fa470d65f4a43eacfaac2fe01dd84233ddb8b6a2b027f299
+DIST gtkam-1.0.tar.bz2 908986 SHA256 ab7f50d4654d129cd8b386658249b05ea739a446f08026c7352b829c63382c3d SHA512 3b2b8aa5114237dc6fd5d6727e9ae76e88afa3257d0f18d790cc706b737c0a1002b86559621b3357629f9a7fb4d8f321c46f9eec83c7aa27998acb0f48904f7c WHIRLPOOL 9310abc8308337225945a8cdfc947a610f669470e96b865264d3950cfa774e8c242fb7361abd2c4c5e87b83bb1d3a2bdc27065146472da8accb5799efd22a73d
+EBUILD gtkam-1.0.ebuild 944 SHA256 f95678a859d6beb1cfe452da32b43f4b967f5733db450c959412feeb3ed31544 SHA512 94b699f89877e1eb8ae5513e47ac01060adc3a30b2123b0f96b1ec7c69df6d997397b7fe9e1c294943ffbb5991d93f1a56f335006b362f100276060ae8473c0d WHIRLPOOL bd99e45bc96de5401116a313400306e690fe8e821b89506028e986170aa167e451f5e2088365686b56833987ff58468aaafd44c625691e381e1349b44d767468
+MISC ChangeLog 3428 SHA256 f05fa63540fa2a56afba8222c2257b8653374e183e8f478c26fea30e4f41703c SHA512 bc7dd7c61c00009f0958a99ab8cae190b9eb0b7739054c9802f9ce6ea7a48810ffacb049a2eb7295dbff976abee79b50c936cb91fb17fce43b455fdab2fe2fb7 WHIRLPOOL be58690b5e5192d15d67cdbb55b71fdc26db72b9d8210f0cbbafbcf83364f6e4ffd97e9f256d35d3b53144144f3759eca0d5da5d6ba26c27b0e6a71883e6538a
+MISC ChangeLog-2015 12230 SHA256 043939f7d2c8af20605a98fa6275fa5148f0fb174336da73770e9e6509d2745b SHA512 1790ed886ce2658a5f39455a8e2a75ddd0a52638be2a190669f8a8e6b9bd5aa9dca7ab07f960993cd539b26a3efae8b52ed492b3d09b97fcb8572d2433932258 WHIRLPOOL c8ccb8a17dd1ec47e4bdd517f8065279619723493f9387f10a3fe0c19acfb3eb0ef321e32b3de818e71c4f3469350a6ce07326eee11ff4f8484bb700d11316f6
+MISC metadata.xml 449 SHA256 9e3d5c2509e7e36290a192a72f04825f111c9cceaf386756aa544c5094226e1a SHA512 f938819a203e0119b1d81aa1dc812717d6ef02c3012f8ed667db452c7712bb7b142cee36d519ec33f4cf65ebcba7a660e2f67f6b66087ec6be832a4987e10c53 WHIRLPOOL d61f1a2cafc04238d88764b8a3202744de7536cd6b29232a96547920bf852220961ff0436757ab4087fbae05d5efea22703a0282d5585043df1d1d1f232a0b84
diff --git a/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch b/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch
new file mode 100644
index 000000000000..c9d6ae6989cf
--- /dev/null
+++ b/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch
@@ -0,0 +1,15 @@
+--- a/gtkam.desktop.in~ 2011-05-26 09:57:43.000000000 +0200
++++ b/gtkam.desktop.in 2012-01-31 10:00:56.687216188 +0100
+@@ -1,11 +1,10 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=Gtkam Digital Camera Browser
+ _Comment=Browse and download images from an attached digital camera
+ Exec=gtkam
+ Icon=gtkam-camera
+ Terminal=false
+ Type=Application
+-Categories=GNOME;GTK;Photography;Graphics;RasterGraphics;Viewer;
++Categories=GNOME;GTK;Photography;Graphics;2DGraphics;RasterGraphics;Viewer;
+ StartupNotify=true
+ X-GNOME-DocPath=gtkam/gtkam.xml
diff --git a/media-gfx/gtkam/gtkam-1.0.ebuild b/media-gfx/gtkam/gtkam-1.0.ebuild
new file mode 100644
index 000000000000..c5029ddcfd60
--- /dev/null
+++ b/media-gfx/gtkam/gtkam-1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit 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"
+}
diff --git a/media-gfx/gtkam/metadata.xml b/media-gfx/gtkam/metadata.xml
new file mode 100644
index 000000000000..842fcbe7e761
--- /dev/null
+++ b/media-gfx/gtkam/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gphoto</remote-id>
+ </upstream>
+</pkgmetadata>