summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-12-11 12:32:20 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-12-11 12:32:20 +0000
commit6081eb556b22efd6a0b23462e9a6759f7871f6ff (patch)
treeeef4515523d90d52437d441bbd162978c6bbd5e1 /media-libs
parentWorkaround aclocal bug. (diff)
downloadgentoo-2-6081eb556b22efd6a0b23462e9a6759f7871f6ff.tar.gz
gentoo-2-6081eb556b22efd6a0b23462e9a6759f7871f6ff.tar.bz2
gentoo-2-6081eb556b22efd6a0b23462e9a6759f7871f6ff.zip
Intial commit of cdr parser. For libreoffice-3.6
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libcdr/ChangeLog10
-rw-r--r--media-libs/libcdr/libcdr-9999.ebuild46
-rw-r--r--media-libs/libcdr/metadata.xml5
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>