/[gentoo-x86]/media-libs/libopenraw/libopenraw-0.0.9.ebuild
Gentoo

Contents of /media-libs/libopenraw/libopenraw-0.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Fri Sep 5 05:34:02 2014 UTC (3 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +2 -2 lines
Apply media-libs/jpeg >= 9a compability patch only for jpeg-9a because it's failing for libjpeg-turbo wrt #520888, Comment #3

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.9.ebuild,v 1.17 2014/08/28 16:23:28 ssuominen Exp $
4
5 EAPI=5
6 inherit eutils gnome2-utils
7
8 DESCRIPTION="A decoding library for RAW image formats"
9 HOMEPAGE="http://libopenraw.freedesktop.org/wiki/"
10 SRC_URI="http://${PN}.freedesktop.org/download/${P}.tar.bz2"
11
12 LICENSE="GPL-3 LGPL-3"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
15 IUSE="gtk static-libs test"
16
17 RDEPEND="virtual/jpeg:0
18 dev-libs/libxml2
19 gtk? (
20 >=dev-libs/glib-2
21 >=x11-libs/gdk-pixbuf-2.24.0:2
22 )"
23 DEPEND="${RDEPEND}
24 >=dev-libs/boost-1.35
25 virtual/pkgconfig
26 test? ( net-misc/curl )"
27
28 DOCS=( AUTHORS ChangeLog NEWS README TODO )
29
30 src_prepare() {
31 has_version '>=media-libs/jpeg-9a:0' && epatch "${FILESDIR}"/${P}-jpeg-9a.patch
32 }
33
34 src_configure() {
35 econf \
36 --with-boost="${EPREFIX}"/usr \
37 $(use_enable static-libs static) \
38 $(use_enable gtk gnome)
39 }
40
41 src_install() {
42 default
43 prune_libtool_files --all
44 }
45
46 pkg_preinst() {
47 gnome2_gdk_pixbuf_savelist
48 }
49
50 pkg_postinst() {
51 gnome2_gdk_pixbuf_update
52 }
53
54 pkg_postinst() {
55 gnome2_gdk_pixbuf_update
56 }

  ViewVC Help
Powered by ViewVC 1.1.20