summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-12-09 12:16:37 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-12-09 12:16:37 +0000
commit98d2c5e7908eb56969432520daaa8780bec87205 (patch)
tree328c30ef7b3c20ea680e2107bbca095af42ec18e /media-gfx
parentRemove media-sound/xfi-drivers package mask. (diff)
downloadgentoo-2-98d2c5e7908eb56969432520daaa8780bec87205.tar.gz
gentoo-2-98d2c5e7908eb56969432520daaa8780bec87205.tar.bz2
gentoo-2-98d2c5e7908eb56969432520daaa8780bec87205.zip
Initial commit for photivo. Move live ebuild from qt overlay. Bug #347707. Thanks to Marios Andreopoulos <opensource@andmarios.com>
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/photivo/ChangeLog11
-rw-r--r--media-gfx/photivo/Manifest4
-rw-r--r--media-gfx/photivo/metadata.xml13
-rw-r--r--media-gfx/photivo/photivo-0_pre20121006.ebuild69
-rw-r--r--media-gfx/photivo/photivo-9999.ebuild66
5 files changed, 163 insertions, 0 deletions
diff --git a/media-gfx/photivo/ChangeLog b/media-gfx/photivo/ChangeLog
new file mode 100644
index 000000000000..bf699f0572ba
--- /dev/null
+++ b/media-gfx/photivo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-gfx/photivo
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photivo/ChangeLog,v 1.1 2012/12/09 12:16:37 hwoarang Exp $
+
+*photivo-0_pre20121006 (09 Dec 2012)
+*photivo-9999 (09 Dec 2012)
+
+ 09 Dec 2012; Markos Chandras <hwoarang@gentoo.org> +metadata.xml,
+ +photivo-0_pre20121006.ebuild, +photivo-9999.ebuild:
+ Initial commit for photivo. Move live ebuild from qt overlay. Bug #347707.
+ Thanks to Marios Andreopoulos <opensource@andmarios.com>
diff --git a/media-gfx/photivo/Manifest b/media-gfx/photivo/Manifest
new file mode 100644
index 000000000000..7fa1be42f8b3
--- /dev/null
+++ b/media-gfx/photivo/Manifest
@@ -0,0 +1,4 @@
+DIST photivo-0_pre20121006.tar.gz 2515621 SHA256 41627ab3516d365fab218b605f1d5917b7eda7b94b5604a81d5c3dbdc879ef7b SHA512 fa9763929acd1ea5afcc9ae6a68034f7cc571ea41569eae987ce0d99101b2d17cfa3a71fece4484478c207712e49112824dd496ccb6be80aebe20b5bbf8f2be5 WHIRLPOOL bb0130883c72aa992ebc682af1f152ba3a4819310b32107f21883660edf15b4ae03a704c2fae81c8e68a96b7f66a8639c4a5731aa5b0de7c53af872df36a82d0
+EBUILD photivo-0_pre20121006.ebuild 1360 SHA256 80f1aca2297fdc84b55c88cd1155f16ade436b1957a654370a6940077a2fb676 SHA512 39bfedcff6154b8a65981484498325bb04854eee464a14bbae1fd687b18d6f41b089fef003284bebcc6cb055954c755b59abb117b5aababd28ecd86d786dab84 WHIRLPOOL 39571f089fae70892336e80f0bb803a45daf429f527487b2c90b0a41c3886e71bc5a1ac890edae15e089b4d124dea8ebeeb880e1f440665a9ecc68eeb6850677
+EBUILD photivo-9999.ebuild 1304 SHA256 bd831ad47dad83b0684d67d81e6de3194c20fc32879427461d843a5d0b0f64e7 SHA512 2cc2d25932b44d3cedaf4e35d0aef9256ff9da5ab4fbc9c05f29f217d1356ef51299b112844c0eaf528ab7e0e3210ee87e2b47c256281fc100b8823706b0010f WHIRLPOOL 8ae588febc7420a55f302ee9e9d66ceba2a8c7914de26e0ab1c857af01b9d25d3408261c70f675fb8f738128afab70875b3ffea8f26708c8e2265057f6b5eda4
+MISC metadata.xml 420 SHA256 76dc4050a756471d85c8331ad4ecd4ea5aa329bc94dc049212c441f066639dbf SHA512 af8452ae43bcee6fc9d1b0d650058d68e84150cd6fb34f9e9d78d03d8b5367d143d13a26006f74e6d1be16bb62257bd66340c3c82c6cd15ea2350cf8f0091803 WHIRLPOOL d9d78e74766cc9207a980e1a12ed34c43ebabf50f91ed8913faede9517f85c94c9aa1acf53dc799c21d7e8a978e68696127378a7df1c811f4179d378d7b8ec87
diff --git a/media-gfx/photivo/metadata.xml b/media-gfx/photivo/metadata.xml
new file mode 100644
index 000000000000..7533536edaac
--- /dev/null
+++ b/media-gfx/photivo/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>opensource@andmarios.com</email>
+ <name>Marios Andreopoulos</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">photivo</remote-id>
+ <bugs-to>http://code.google.com/p/photivo/issues/list</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/photivo/photivo-0_pre20121006.ebuild b/media-gfx/photivo/photivo-0_pre20121006.ebuild
new file mode 100644
index 000000000000..efcf1e1d0aba
--- /dev/null
+++ b/media-gfx/photivo/photivo-0_pre20121006.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photivo/photivo-0_pre20121006.ebuild,v 1.1 2012/12/09 12:16:37 hwoarang Exp $
+
+EAPI=4
+
+inherit qt4-r2
+
+DESCRIPTION="Photo processor for RAW and Bitmap images"
+HOMEPAGE="http://www.photivo.org"
+SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gimp"
+
+RDEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ virtual/jpeg
+ media-libs/tiff
+ media-libs/libpng
+ media-gfx/exiv2
+ media-libs/lcms:2
+ media-libs/lensfun
+ sci-libs/fftw:3.0
+ media-libs/liblqr
+ media-gfx/graphicsmagick[q16,-lcms]
+ media-gfx/greycstoration[lapack]
+ virtual/lapack
+ media-libs/cimg
+ gimp? ( media-gfx/gimp )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${PN}-${PV/0_pre/}
+
+src_prepare() {
+ # remove ccache dependency
+ local File
+ for File in $(find "${S}" -type f); do
+ if grep -sq ccache ${File}; then
+ sed -e 's/ccache//' -i "${File}"
+ fi
+ done
+
+ # useless check (no pkgconfig file is provided)
+ sed -e "/PKGCONFIG += CImg/d" \
+ -i photivoProject/photivoProject.pro || die
+ qt4-r2_src_prepare
+}
+
+src_configure() {
+ local config="WithSystemCImg"
+ if ! use gimp ; then
+ config+=" WithoutGimp"
+ fi
+
+ eqmake4 "CONFIG+=${config}"
+}
+
+src_install() {
+ qt4-r2_src_install
+
+ if use gimp; then
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ptGimp
+ doexe "mm extern photivo.py"
+ fi
+}
diff --git a/media-gfx/photivo/photivo-9999.ebuild b/media-gfx/photivo/photivo-9999.ebuild
new file mode 100644
index 000000000000..d8837db2518d
--- /dev/null
+++ b/media-gfx/photivo/photivo-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/photivo/photivo-9999.ebuild,v 1.1 2012/12/09 12:16:37 hwoarang Exp $
+
+EAPI=4
+
+inherit qt4-r2 mercurial
+
+DESCRIPTION="Photo processor for RAW and Bitmap images"
+HOMEPAGE="http://www.photivo.org"
+EHG_REPO_URI="https://photivo.googlecode.com/hg/"
+EHG_REVISION="default"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="gimp"
+
+RDEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ || ( media-libs/jpeg:62 media-libs/libjpeg-turbo )
+ media-gfx/exiv2
+ media-libs/cimg
+ media-libs/lcms:2
+ media-libs/lensfun
+ sci-libs/fftw:3.0
+ media-libs/liblqr
+ media-gfx/graphicsmagick[q16,-lcms]
+ gimp? ( media-gfx/gimp )"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/hg
+
+src_prepare() {
+ # remove ccache dependency
+ local File
+ for File in $(find "${S}" -type f); do
+ if grep -sq ccache ${File}; then
+ sed -e 's/ccache//' -i "${File}"
+ fi
+ done
+
+ # useless check (no pkgconfig file is provided)
+ sed -e "/PKGCONFIG += CImg/d" \
+ -i photivoProject/photivoProject.pro || die
+ qt4-r2_src_prepare
+}
+
+src_configure() {
+ local config="WithSystemCImg"
+ if ! use gimp ; then
+ config+=" WithoutGimp"
+ fi
+
+ eqmake4 "CONFIG+=${config}"
+}
+
+src_install() {
+ qt4-r2_src_install
+
+ if use gimp; then
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ptGimp
+ doexe "mm extern photivo.py"
+ fi
+}