diff options
author | Dane Smith <c1pher@gentoo.org> | 2011-07-19 19:11:57 +0000 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2011-07-19 19:11:57 +0000 |
commit | 7a1dbd515f4f724e357ca9d65cd824920db07ab5 (patch) | |
tree | 6b7bf1fe98030f39f12697466cb75069ee963e51 /media-gfx | |
parent | Version bump with some fixes for phonebook stuff. (diff) | |
download | gentoo-2-7a1dbd515f4f724e357ca9d65cd824920db07ab5.tar.gz gentoo-2-7a1dbd515f4f724e357ca9d65cd824920db07ab5.tar.bz2 gentoo-2-7a1dbd515f4f724e357ca9d65cd824920db07ab5.zip |
media-gfx/darktable: New package. Closes bug 300681 and bug 359325.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/darktable/ChangeLog | 12 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-0.9.ebuild | 63 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-9999.ebuild | 63 | ||||
-rw-r--r-- | media-gfx/darktable/metadata.xml | 13 |
4 files changed, 151 insertions, 0 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog new file mode 100644 index 000000000000..34ff77681803 --- /dev/null +++ b/media-gfx/darktable/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for media-gfx/darktable +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.1 2011/07/19 19:11:57 c1pher Exp $ + +*darktable-9999 (19 Jul 2011) +*darktable-0.9 (19 Jul 2011) + + 19 Jul 2011; Dane Smith <c1pher@gentoo.org> +darktable-0.9.ebuild, + +darktable-9999.ebuild, +metadata.xml: + Initial version of darktable. Closes bug 300681 and bug 359325. Thanks + to the folks upstream for the ebuild. + diff --git a/media-gfx/darktable/darktable-0.9.ebuild b/media-gfx/darktable/darktable-0.9.ebuild new file mode 100644 index 000000000000..94c359a67baa --- /dev/null +++ b/media-gfx/darktable/darktable-0.9.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-0.9.ebuild,v 1.1 2011/07/19 19:11:57 c1pher Exp $ + +EAPI="4" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://darktable.git.sf.net/gitroot/darktable/darktable" + EGIT_BRANCH="master" + EGIT_COMMIT="master" + SCM="git-2" + KEYWORDS="" +else + SRC_URI="mirror://sourceforge/project/darktable/darktable/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +GCONF_DEBUG="no" +inherit cmake-utils ${SCM} + +DESCRIPTION="A virtual lighttable and darkroom for photographers" +HOMEPAGE="http://darktable.sf.net/" + +LICENSE="GPL-3" +SLOT="0" + +IUSE="gconf gphoto2 openmp gnome-keyring" +RDEPEND=" + gconf? ( gnome-base/gconf ) + gphoto2? ( media-libs/libgphoto2 ) + dev-db/sqlite:3 + dev-libs/libxml2:2 + gnome-base/libglade:2.0 + gnome-keyring? ( gnome-base/gnome-keyring ) + media-gfx/exiv2 + media-libs/lcms:2 + >=media-libs/lensfun-0.2.3 + media-libs/libpng + gnome-base/librsvg:2 + media-libs/openexr + media-libs/tiff + net-misc/curl + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + virtual/jpeg" +DEPEND="${RDEPEND} + dev-util/pkgconfig + openmp? ( >=sys-devel/gcc-4.4[openmp] )" + +src_configure() { + mycmakeargs=( + "$(cmake-utils_use_use openmp OPENMP)" + "$(cmake-utils_use_use gconf GCONF_BACKEND)" + "$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)" + "-DDONT_INSTALL_GCONF_SCHEMAS=ON" + "-DINSTALL_IOP_EXPERIMENTAL=ON" + "-DINSTALL_IOP_LEGACY=ON" ) + cmake-utils_src_configure +} + +src_install(){ + cmake-utils_src_install + newicon data/pixmaps/48x48/darktable.png darktable.png +} diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild new file mode 100644 index 000000000000..e210a3d24473 --- /dev/null +++ b/media-gfx/darktable/darktable-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.1 2011/07/19 19:11:57 c1pher Exp $ + +EAPI="4" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="git://darktable.git.sf.net/gitroot/darktable/darktable" + EGIT_BRANCH="master" + EGIT_COMMIT="master" + SCM="git-2" + KEYWORDS="" +else + SRC_URI="mirror://sourceforge/project/darktable/darktable/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +GCONF_DEBUG="no" +inherit cmake-utils ${SCM} + +DESCRIPTION="A virtual lighttable and darkroom for photographers" +HOMEPAGE="http://darktable.sf.net/" + +LICENSE="GPL-3" +SLOT="0" + +IUSE="gconf gphoto2 openmp gnome-keyring" +RDEPEND=" + gconf? ( gnome-base/gconf ) + gphoto2? ( media-libs/libgphoto2 ) + dev-db/sqlite:3 + dev-libs/libxml2:2 + gnome-base/libglade:2.0 + gnome-keyring? ( gnome-base/gnome-keyring ) + media-gfx/exiv2 + media-libs/lcms:2 + >=media-libs/lensfun-0.2.3 + media-libs/libpng + gnome-base/librsvg:2 + media-libs/openexr + media-libs/tiff + net-misc/curl + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + virtual/jpeg" +DEPEND="${RDEPEND} + dev-util/pkgconfig + openmp? ( >=sys-devel/gcc-4.4[openmp] )" + +src_configure() { + mycmakeargs=( + "$(cmake-utils_use_use openmp OPENMP)" + "$(cmake-utils_use_use gconf GCONF_BACKEND)" + "$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)" + "-DDONT_INSTALL_GCONF_SCHEMAS=ON" + "-DINSTALL_IOP_EXPERIMENTAL=ON" + "-DINSTALL_IOP_LEGACY=ON" ) + cmake-utils_src_configure +} + +src_install(){ + cmake-utils_src_install + newicon data/pixmaps/48x48/darktable.png darktable.png +} diff --git a/media-gfx/darktable/metadata.xml b/media-gfx/darktable/metadata.xml new file mode 100644 index 000000000000..706264388d5d --- /dev/null +++ b/media-gfx/darktable/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>no-herd</herd> + <maintainer> + <email>c1pher@gentoo.org</email> + <name>Dane Smith</name> + </maintainer> + <use> + <flag name="gconf">Add support for the gconf backend</flag> + </use> +</pkgmetadata> + |