You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
12 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/media-gfx/rawtherapee/rawtherapee-4.0.9.ebuild,v 1.1 2012/06/04 10:33:20 radhermit Exp $
|
||
13 years ago
|
|
||
|
EAPI="4"
|
||
|
|
||
|
inherit cmake-utils toolchain-funcs
|
||
|
|
||
12 years ago
|
DESCRIPTION="A powerful cross-platform raw image processing program"
|
||
13 years ago
|
HOMEPAGE="http://www.rawtherapee.com/"
|
||
12 years ago
|
SRC_URI="http://rawtherapee.googlecode.com/files/${P}.tar.xz"
|
||
13 years ago
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="bzip2 doc openmp"
|
||
|
|
||
|
RDEPEND="bzip2? ( app-arch/bzip2 )
|
||
|
>=dev-cpp/gtkmm-2.12:2.4
|
||
|
>=dev-cpp/glibmm-2.16:2
|
||
12 years ago
|
dev-libs/expat
|
||
13 years ago
|
dev-libs/libsigc++:2
|
||
|
media-libs/tiff
|
||
|
media-libs/libpng
|
||
|
media-libs/libiptcdata
|
||
|
media-libs/lcms:2
|
||
|
sys-libs/zlib
|
||
|
virtual/jpeg"
|
||
|
DEPEND="${RDEPEND}
|
||
|
app-arch/xz-utils
|
||
12 years ago
|
virtual/pkgconfig"
|
||
13 years ago
|
|
||
12 years ago
|
PATCHES=( "${FILESDIR}"/${P}-no-hg.patch )
|
||
13 years ago
|
|
||
|
pkg_setup() {
|
||
|
if use openmp ; then
|
||
|
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||
|
fi
|
||
12 years ago
|
}
|
||
13 years ago
|
|
||
12 years ago
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
13 years ago
|
$(cmake-utils_use openmp OPTION_OMP)
|
||
|
$(cmake-utils_use_with bzip2 BZIP)
|
||
12 years ago
|
-DDOCDIR=/usr/share/doc/${PF}
|
||
|
-DCREDITSDIR=/usr/share/${PN}
|
||
|
-DLICENCEDIR=/usr/share/${PN}
|
||
13 years ago
|
)
|
||
12 years ago
|
|
||
|
cmake-utils_src_configure
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cmake-utils_src_install
|
||
12 years ago
|
use doc && dodoc doc/built/pdf/en/RawTherapeeManual_${PV}.pdf
|
||
13 years ago
|
}
|