blob: a892005918d49621d32e0a3d42dc85490adf2550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# 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-r1.ebuild,v 1.1 2013/06/21 03:40:40 ssuominen Exp $
EAPI=5
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:0=
>=gnome-base/gconf-2
media-libs/flickcurl
media-libs/lcms:0
media-libs/lensfun
media-libs/libgphoto2
media-libs/libpng:0=
media-libs/tiff:0=
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}
sys-devel/gettext
virtual/pkgconfig"
DOCS=( AUTHORS NEWS README TODO )
src_prepare() {
sed -i \
-e '/^AM_PROG_CC_STDC/d' \
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
configure.in || die
find . -name Makefile.am -exec sed -i -e 's:-O4:-Wall:' {} +
sed -i -e 's:-O3:-Wall:' plugins/load-rawspeed/Makefile.am
epatch \
"${FILESDIR}"/${P}-libpng15.patch \
"${FILESDIR}"/${P}-g_thread_init.patch \
"${FILESDIR}"/${P}-icon.patch
eautoreconf
}
src_configure() {
econf --disable-static
}
src_install() {
default
prune_libtool_files --all
}
|