# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/rawstudio/rawstudio-2.0.ebuild,v 1.6 2013/02/07 22:29:08 ulm Exp $ EAPI=4 inherit autotools eutils DESCRIPTION="A program for reading and manipulating raw images from digital cameras" HOMEPAGE="http://rawstudio.org/" SRC_URI="http://${PN}.org/files/release/${P}.tar.gz" LICENSE="GPL-2 CC-BY-SA-3.0" SLOT="0" KEYWORDS="amd64 x86" IUSE="" RDEPEND="dev-db/sqlite:3 dev-libs/libxml2 >=dev-libs/openssl-1 >=gnome-base/gconf-2 media-libs/flickcurl =media-libs/lcms-1* media-libs/lensfun media-libs/libgphoto2 media-libs/tiff media-gfx/exiv2 net-misc/curl sci-libs/fftw:3.0 sys-apps/dbus sys-libs/zlib virtual/jpeg x11-libs/gtk+:2 x11-libs/libX11" DEPEND="${RDEPEND} virtual/pkgconfig sys-devel/gettext" DOCS=( AUTHORS NEWS README TODO ) src_prepare() { find . -name Makefile.am -exec sed -i -e 's:-O4:-Wall:' {} + sed -i -e '/^icondir/s:icons:pixmaps:' pixmaps/Makefile.am || die epatch \ "${FILESDIR}"/${P}-libpng15.patch \ "${FILESDIR}"/${P}-g_thread_init.patch eautoreconf } src_configure() { econf --disable-static } src_install() { default prune_libtool_files --all }