summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-07-20 03:57:01 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-07-20 03:57:01 +0000
commit178281ecb89f80133df2cc114f1f60c398ddc1f7 (patch)
tree73f6cd37bc70f4a6f4217446fe9c455ff5c64dee /media-gfx
parentversion bump (diff)
downloadgentoo-2-178281ecb89f80133df2cc114f1f60c398ddc1f7.tar.gz
gentoo-2-178281ecb89f80133df2cc114f1f60c398ddc1f7.tar.bz2
gentoo-2-178281ecb89f80133df2cc114f1f60c398ddc1f7.zip
Ebuild cleanup, ~amd64 added, thanks to Joshua Saddler <nightmorph@gentoo.org>
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/fotoxx/ChangeLog7
-rw-r--r--media-gfx/fotoxx/files/fotoxx-makefile.patch6
-rw-r--r--media-gfx/fotoxx/fotoxx-10.7.ebuild24
3 files changed, 17 insertions, 20 deletions
diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog
index 55369706aba3..b5a2ff52537b 100644
--- a/media-gfx/fotoxx/ChangeLog
+++ b/media-gfx/fotoxx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/fotoxx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.2 2010/07/19 15:31:31 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.3 2010/07/20 03:57:01 grozin Exp $
+
+ 20 Jul 2010; Andrey Grozin <grozin@gentoo.org> fotoxx-10.7.ebuild,
+ files/fotoxx-makefile.patch:
+ Ebuild cleanup, ~amd64 added, thanks to Joshua Saddler
+ <nightmorph@gentoo.org>
19 Jul 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
metadata.xml:
diff --git a/media-gfx/fotoxx/files/fotoxx-makefile.patch b/media-gfx/fotoxx/files/fotoxx-makefile.patch
index 61619e933648..2b7985802a0e 100644
--- a/media-gfx/fotoxx/files/fotoxx-makefile.patch
+++ b/media-gfx/fotoxx/files/fotoxx-makefile.patch
@@ -8,9 +8,3 @@ diff -U2 -r fotoxx-10.7.orig//Makefile fotoxx-10.7//Makefile
+DOCDIR = $(PREFIX)/share/doc/$(PF)
MANDIR = $(PREFIX)/share/man/man1
-@@ -39,5 +39,4 @@
- mkdir -p $(DESTDIR)$(DATADIR)/locales
- mkdir -p $(DESTDIR)$(MANDIR)
-- cp -R doc/* $(DESTDIR)$(DOCDIR)
- cp icons/* $(DESTDIR)$(ICONDIR)
- cp -R locales/* $(DESTDIR)$(DATADIR)/locales
diff --git a/media-gfx/fotoxx/fotoxx-10.7.ebuild b/media-gfx/fotoxx/fotoxx-10.7.ebuild
index 88cb953be5d4..c85eedbb44d7 100644
--- a/media-gfx/fotoxx/fotoxx-10.7.ebuild
+++ b/media-gfx/fotoxx/fotoxx-10.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-10.7.ebuild,v 1.1 2010/07/16 04:47:16 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-10.7.ebuild,v 1.2 2010/07/20 03:57:01 grozin Exp $
EAPI=3
inherit eutils
@@ -10,10 +10,11 @@ SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="x11-libs/gtk+"
+DEPEND="x11-libs/gtk+:2
+ media-libs/tiff"
RDEPEND="${DEPEND}
media-libs/exiftool
media-gfx/ufraw
@@ -28,16 +29,13 @@ src_compile() {
}
src_install() {
- emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
- make_desktop_entry ${PN} "Fotoxx" /usr/share/${PN}/icons/${PN}.png "Application;Graphics;2DGraphics;"
-
- # Documentation
- cd doc
+ pushd doc > /dev/null
mv ${PN}.man ${PN}.1
doman ${PN}.1
- dodoc userguide-changes
- insinto /usr/share/doc/${PF}
- doins README CHANGES TRANSLATIONS userguide-*.html
- insinto /usr/share/doc/${PF}/images
- doins images/*.jpeg
+ rm COPYING ${PN}.1
+ bzip2 -9 userguide-changes
+ popd > /dev/null
+
+ emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+ make_desktop_entry ${PN} "Fotoxx" /usr/share/${PN}/icons/${PN}.png "Application;Graphics;2DGraphics;"
}