# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" MY_V=24b4 MY_P=${PN}${MY_V} DESCRIPTION="THe Experimental RAw Photo Editor" HOMEPAGE="http://www.rawtherapee.com/" SRC_URI="x86? ( http://www.rawtherapee.com/${MY_P}.tgz ) amd64? ( http://www.rawtherapee.com/${MY_P}_64.tgz ) " LICENSE="RawThrerapee" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RESTRICT="nomirror" DEPEND="${RDEPEND}" RDEPEND=" >=x11-libs/gtk+-2.14 >=dev-cpp/gtkmm-2.12[accessibility] >=sys-libs/glibc-2.4 >=sys-devel/gcc-4.3.0 >=media-libs/jpeg-6b-r7 >=media-libs/tiff-3.8.2-r2 >=media-libs/libpng-1.2.15 " # Leaved for the future usage. Naming is a little bit inconsitent # between the versions :-( if [ "${ARCH}" = "x86" ] then S=${WORKDIR}/RawTherapee${MY_V} ## elif [ "${ARCH}" = "amd64" ] then S=${WORKDIR}/RawTherapee${MY_V}_64 # beta3 is not using _64!!! S=${WORKDIR}/RawTherapee${MY_V} ## fi MY_PN=RawTherapee src_unpack() { unpack ${A} || die } src_install() { insinto /usr/share/pixmaps doins ${FILESDIR}/rawtherapee.png || die insinto /usr/share/applications doins ${FILESDIR}/rawtherapee.desktop || die insinto /opt/${MY_PN} doins ${S}/options || die exeinto /opt/${MY_PN} doexe rt || die doexe librtengine.so || die doexe rtstart || die if [ "${ARCH}" = "x86" ] then doexe rwz_sdk.so || die fi insinto /opt/${MY_PN}/images doins ${S}/images/* || die insinto /opt/${MY_PN}/languages doins ${S}/languages/* || die insinto /opt/${MY_PN}/profiles doins ${S}/profiles/* || die insinto /opt/${MY_PN}/themes doins ${S}/themes/* || die }