~ubuntu-branches/ubuntu/saucy/darktable/saucy

« back to all changes in this revision

Viewing changes to packaging/gentoo/darktable-0.8.ebuild

  • Committer: Bazaar Package Importer
  • Author(s): David Bremner
  • Date: 2011-07-12 09:36:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110712093646-yp9dbxan44dmw15h
Tags: 0.9-1
* New upstream release.
* Remove all patches now upstream; only patch for
  -Wno-error=unused-but-set-variable remains.
* Bump Standards-Version to 3.9.2 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 1999-2010 Gentoo Foundation
 
2
# Distributed under the terms of the GNU General Public License v2
 
3
 
 
4
EAPI="2"
 
5
GCONF_DEBUG="no"
 
6
inherit gnome2 cmake-utils
 
7
 
 
8
SRC_URI="http://downloads.sourceforge.net/project/darktable/darktable/0.8/darktable-0.8.tar.gz"
 
9
DESCRIPTION="Darktable is a virtual lighttable and darkroom for photographers"
 
10
HOMEPAGE="http://darktable.sf.net/"
 
11
 
 
12
LICENSE="GPL-3"
 
13
SLOT="0"
 
14
KEYWORDS="amd64 x86"
 
15
 
 
16
IUSE="gconf gphoto openmp gnome-keyring"
 
17
RDEPEND="dev-db/sqlite:3
 
18
        dev-libs/libxml2:2
 
19
        gconf? ( gnome-base/gconf )
 
20
        gnome-base/libglade:2.0
 
21
        gnome-keyring? ( gnome-base/gnome-keyring )
 
22
        media-gfx/exiv2
 
23
        media-libs/jpeg
 
24
        media-libs/lcms
 
25
        >=media-libs/lensfun-0.2.3
 
26
        gphoto? ( media-libs/libgphoto2 )
 
27
        media-libs/libpng
 
28
        gnome-base/librsvg:2
 
29
        media-libs/openexr
 
30
        media-libs/tiff
 
31
        net-misc/curl
 
32
        x11-libs/cairo
 
33
        x11-libs/gtk+:2"
 
34
DEPEND="${RDEPEND}
 
35
        dev-util/pkgconfig
 
36
        openmp? ( >=sys-devel/gcc-4.4[openmp] )"
 
37
 
 
38
src_configure() {
 
39
        mycmakeargs=(
 
40
                "$(cmake-utils_use_use openmp OPENMP)"
 
41
                "$(cmake-utils_use_use gconf GCONF_BACKEND)"
 
42
                "$(cmake-utils_use_use gphoto CAMERA_SUPPORT)"
 
43
                "-DDONT_INSTALL_GCONF_SCHEMAS=ON"
 
44
                "-DINSTALL_IOP_EXPERIMENTAL=ON"
 
45
                "-DINSTALL_IOP_LEGACY=ON" )
 
46
        cmake-utils_src_configure
 
47
}