diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2014-08-15 13:02:53 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2014-08-15 13:02:53 +0000 |
commit | e57d2f9e27b916867b5fc8ef0ebc4e33f6c3677a (patch) | |
tree | a3b1168399d8063593156ea4c2546f4c893e11f4 /dev-libs/librevenge | |
parent | Version bumps. Cleanup. Migrate to python-r1. Fixes #516472, #501290, #499892... (diff) | |
download | gentoo-2-e57d2f9e27b916867b5fc8ef0ebc4e33f6c3677a.tar.gz gentoo-2-e57d2f9e27b916867b5fc8ef0ebc4e33f6c3677a.tar.bz2 gentoo-2-e57d2f9e27b916867b5fc8ef0ebc4e33f6c3677a.zip |
Initial commit. Framework for new libwp* and other libreoffice support libraries.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-libs/librevenge')
-rw-r--r-- | dev-libs/librevenge/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/librevenge/librevenge-0.0.1.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/librevenge/librevenge-9999.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/librevenge/metadata.xml | 5 |
4 files changed, 114 insertions, 0 deletions
diff --git a/dev-libs/librevenge/ChangeLog b/dev-libs/librevenge/ChangeLog new file mode 100644 index 000000000000..07c922f708fe --- /dev/null +++ b/dev-libs/librevenge/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/librevenge +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librevenge/ChangeLog,v 1.1 2014/08/15 13:02:53 scarabeus Exp $ + +*librevenge-9999 (15 Aug 2014) +*librevenge-0.0.1 (15 Aug 2014) + + 15 Aug 2014; Tomáš Chvátal <scarabeus@gentoo.org> +librevenge-0.0.1.ebuild, + +librevenge-9999.ebuild, +metadata.xml: + Initial commit. Framework for new libwp* and other libreoffice support + libraries. diff --git a/dev-libs/librevenge/librevenge-0.0.1.ebuild b/dev-libs/librevenge/librevenge-0.0.1.ebuild new file mode 100644 index 000000000000..a95e5a04dfb8 --- /dev/null +++ b/dev-libs/librevenge/librevenge-0.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librevenge/librevenge-0.0.1.ebuild,v 1.1 2014/08/15 13:02:53 scarabeus Exp $ + +EAPI="5" + +inherit eutils multilib multilib-minimal autotools-utils + +DESCRIPTION="A helper library for REVerses ENGineered formats filters" +HOMEPAGE="http://sf.net/p/libwpd/librevenge" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="|| ( MPL-2.0 LGPL-2.1 )" +SLOT="0" +IUSE="doc" + +RDEPEND=" + dev-libs/boost + dev-util/cppunit + sys-libs/zlib +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) +" + +[[ ${PV} == "9999" ]] && AUTOTOOLS_AUTORECONF=yes + +src_configure() { + myeconfargs=( + "--disable-static" + "--disable-werror" + "$(use_with doc docs)" + "--docdir=${EPREFIX}/usr/share/doc/${PF}" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + prune_libtool_files --all +} diff --git a/dev-libs/librevenge/librevenge-9999.ebuild b/dev-libs/librevenge/librevenge-9999.ebuild new file mode 100644 index 000000000000..7d0cd00f3448 --- /dev/null +++ b/dev-libs/librevenge/librevenge-9999.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librevenge/librevenge-9999.ebuild,v 1.1 2014/08/15 13:02:53 scarabeus Exp $ + +EAPI="5" + +inherit eutils multilib-minimal + +DESCRIPTION="A helper library for REVerses ENGineered formats filters" +HOMEPAGE="http://sf.net/p/libwpd/librevenge" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/librevenge" + inherit git-r3 autotools + KEYWORDS="" +else + SRC_URI="http://sf.net/projects/libwpd/files/${PN}/${P}/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="|| ( MPL-2.0 LGPL-2.1 )" +SLOT="0" +IUSE="doc test" + +RDEPEND=" + dev-libs/boost + dev-util/cppunit + sys-libs/zlib +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" + +src_prepare() { + [[ ${PV} = 9999 ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable test tests) \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +multilib_src_install_all() { + prune_libtool_files --all +} diff --git a/dev-libs/librevenge/metadata.xml b/dev-libs/librevenge/metadata.xml new file mode 100644 index 000000000000..5d46203011d6 --- /dev/null +++ b/dev-libs/librevenge/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> |