summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-05-11 09:29:46 +0000
committerBen de Groot <yngwin@gentoo.org>2012-05-11 09:29:46 +0000
commit8ce87a1c37bcc7cca657a37843bc4ae00e6ed93e (patch)
tree280399d13163817439b2e6456970476bd34a7687 /media-gfx/photo
parentInitial commit. (diff)
downloadgentoo-2-8ce87a1c37bcc7cca657a37843bc4ae00e6ed93e.tar.gz
gentoo-2-8ce87a1c37bcc7cca657a37843bc4ae00e6ed93e.tar.bz2
gentoo-2-8ce87a1c37bcc7cca657a37843bc4ae00e6ed93e.zip
Initial import from qt overlay
(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/photo')
-rw-r--r--media-gfx/photo/ChangeLog11
-rw-r--r--media-gfx/photo/Manifest4
-rw-r--r--media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch22
-rw-r--r--media-gfx/photo/metadata.xml5
-rw-r--r--media-gfx/photo/photo-0.7.1.1.ebuild26
5 files changed, 68 insertions, 0 deletions
diff --git a/media-gfx/photo/ChangeLog b/media-gfx/photo/ChangeLog
new file mode 100644
index 000000000000..0a2c35174d73
--- /dev/null
+++ b/media-gfx/photo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-gfx/photo
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photo/ChangeLog,v 1.1 2012/05/11 09:29:46 yngwin Exp $
+
+*photo-0.7.1.1 (11 May 2012)
+
+ 11 May 2012; Ben de Groot <yngwin@gentoo.org>
+ +files/photo-0.7.1.1-install-desktop.patch, +metadata.xml,
+ +photo-0.7.1.1.ebuild:
+ Initial import from qt overlay
+
diff --git a/media-gfx/photo/Manifest b/media-gfx/photo/Manifest
new file mode 100644
index 000000000000..0fcb65a53a9a
--- /dev/null
+++ b/media-gfx/photo/Manifest
@@ -0,0 +1,4 @@
+AUX photo-0.7.1.1-install-desktop.patch 759 RMD160 3478af94595150a7a7843b1d160fe1770ca8bca6 SHA1 ee076dd0cb1de2f7983facc1653174353713ddb6 SHA256 49932340d5ed1be4979cb5a2c38649f9d8263858a0a0a66d1bb2023b3cdeee42
+DIST 147453-photo-0.7.1.1.tar.gz 343026 RMD160 628f08dbad692e53c06cfe5e35914b189eaa3027 SHA1 52680e753dcf372cee97d45dce2b14e47ba71546 SHA256 e93d03208b5be97ac8dd1234fcfa18801521f2a1c24f411db42d5863be487a24
+EBUILD photo-0.7.1.1.ebuild 551 RMD160 e6ae6a2d7532dbe40a6e7eb0b4747b658ebe48d9 SHA1 98f454635610281b7007f6fcf53a62498355e8fb SHA256 32aae1c6241f8c051488cf53ccf0ecc744109ddc8419269555df1a25a9b4fd54
+MISC metadata.xml 155 RMD160 654eebe07944b4d18c58e4a54c50758eceead53e SHA1 967490b59f5185a6849cb5583390dd0d0b0dd512 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7
diff --git a/media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch b/media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch
new file mode 100644
index 000000000000..4814a4199b07
--- /dev/null
+++ b/media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch
@@ -0,0 +1,22 @@
+diff -burN photo-0.7.1.1-orig/CMakeLists.txt photo-0.7.1.1/CMakeLists.txt
+--- photo-0.7.1.1-orig/CMakeLists.txt 2012-04-29 20:38:49.374650243 +0800
++++ photo-0.7.1.1/CMakeLists.txt 2012-04-29 21:00:03.237838770 +0800
+@@ -28,7 +28,7 @@
+ if(UNIX)
+
+ # find xdg-desktop-menu and xdg-mime
+- find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
++ #find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
+
+ # Set the install prefix to /usr/
+ SET(PRODUCT_INSTALL_PREFIX /usr)
+@@ -41,7 +41,8 @@
+
+ # Install desktop file
+ INSTALL(
+- CODE "execute_process(COMMAND ${XDG-DESKTOP-MENU_EXECUTABLE} install --novendor ${CMAKE_CURRENT_SOURCE_DIR}/photo.desktop)"
++ FILES photo.desktop
++ DESTINATION share/applications/
+ )
+
+ # And install all the icons
diff --git a/media-gfx/photo/metadata.xml b/media-gfx/photo/metadata.xml
new file mode 100644
index 000000000000..dc439f7e84f5
--- /dev/null
+++ b/media-gfx/photo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/media-gfx/photo/photo-0.7.1.1.ebuild b/media-gfx/photo/photo-0.7.1.1.ebuild
new file mode 100644
index 000000000000..bf3e459a8a67
--- /dev/null
+++ b/media-gfx/photo/photo-0.7.1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photo/photo-0.7.1.1.ebuild,v 1.1 2012/05/11 09:29:46 yngwin Exp $
+
+EAPI=4
+
+inherit cmake-utils
+
+DESCRIPTION="Simple but powerful Qt4-based image viewer"
+HOMEPAGE="http://qt-apps.org/content/show.php/Photo?content=147453"
+SRC_URI="http://qt-apps.org/CONTENT/content-files/147453-${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-gfx/exiv2
+ x11-libs/qt-gui:4"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-install-desktop.patch
+}
+
+#TODO: translations