diff options
Diffstat (limited to 'media-libs/libcdr')
-rw-r--r-- | media-libs/libcdr/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/libcdr/libcdr-9999.ebuild | 46 | ||||
-rw-r--r-- | media-libs/libcdr/metadata.xml | 5 |
3 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/libcdr/ChangeLog b/media-libs/libcdr/ChangeLog new file mode 100644 index 000000000000..fe85c7e58155 --- /dev/null +++ b/media-libs/libcdr/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-libs/libcdr +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/ChangeLog,v 1.1 2011/12/11 12:32:20 scarabeus Exp $ + +*libcdr-9999 (08 Dec 2011) + + 08 Dec 2011; Tomáš Chvátal <scarabeus@gentoo.org> +libcdr-9999.ebuild, + +metadata.xml: + Intial commit of cdr parser. For libreoffice-3.6 + diff --git a/media-libs/libcdr/libcdr-9999.ebuild b/media-libs/libcdr/libcdr-9999.ebuild new file mode 100644 index 000000000000..23711df14a2d --- /dev/null +++ b/media-libs/libcdr/libcdr-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/libcdr-9999.ebuild,v 1.1 2011/12/11 12:32:20 scarabeus Exp $ + +EAPI=4 + +EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libcdr/" +[[ ${PV} == 9999 ]] && vcs="autotools git-2" +inherit base ${vcs} +unset vcs + +DESCRIPTION="Library parsing the Corel cdr documents" +HOMEPAGE="http://cgit.freedesktop.org/libreoffice/libcdr/tree/" +[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86" +IUSE="doc static-libs" + +RDEPEND=" + sys-libs/zlib +" +DEPEND="${DEPEND} + dev-util/pkgconfig + sys-devel/libtool + doc? ( app-doc/doxygen ) +" + +src_prepare() { + base_src_prepare + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-werror \ + $(use_with doc docs) +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -f {} + +} diff --git a/media-libs/libcdr/metadata.xml b/media-libs/libcdr/metadata.xml new file mode 100644 index 000000000000..5d46203011d6 --- /dev/null +++ b/media-libs/libcdr/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>openoffice</herd> +</pkgmetadata> |