/[gentoo-x86]/media-libs/libcdr/libcdr-0.0.7.ebuild
Gentoo

Contents of /media-libs/libcdr/libcdr-0.0.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Apr 24 15:34:08 2012 UTC (2 years, 4 months ago) by scarabeus
Branch: MAIN
Changes since 1.1: +5 -1 lines
Add clang patch. Thanks to Fridrich for pointing out.

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 scarabeus 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 scarabeus 1.2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/libcdr-0.0.7.ebuild,v 1.1 2012/04/24 15:29:58 scarabeus Exp $
4 scarabeus 1.1
5     EAPI=4
6    
7     EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libcdr/"
8     [[ ${PV} == 9999 ]] && vcs="autotools git-2"
9     inherit base ${vcs}
10     unset vcs
11    
12     DESCRIPTION="Library parsing the Corel cdr documents"
13     HOMEPAGE="http://cgit.freedesktop.org/libreoffice/libcdr/tree/"
14     [[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
15    
16     LICENSE="LGPL-2.1"
17     SLOT="0"
18     [[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
19     IUSE="doc static-libs"
20    
21     RDEPEND="
22     app-text/libwpd:0.9
23     app-text/libwpg:0.2
24     media-libs/lcms:2
25     sys-libs/zlib
26     "
27     DEPEND="${RDEPEND}
28     dev-util/pkgconfig
29     sys-devel/libtool
30     doc? ( app-doc/doxygen )
31     "
32    
33 scarabeus 1.2 PATCHES=(
34     "${FILESDIR}/${P}-clang.patch"
35     )
36    
37 scarabeus 1.1 src_prepare() {
38     base_src_prepare
39     [[ -d m4 ]] || mkdir "m4"
40     [[ ${PV} == 9999 ]] && eautoreconf
41     }
42    
43     src_configure() {
44     econf \
45     $(use_enable static-libs static) \
46     --disable-werror \
47     $(use_with doc docs)
48     }
49    
50     src_install() {
51     default
52     find "${ED}" -name '*.la' -exec rm -f {} +
53     }

  ViewVC Help
Powered by ViewVC 1.1.20