summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-26 19:39:59 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-11-05 22:00:50 +0100
commit236756d23b42c0cd86e0c29b96dd3315cbd04d4e (patch)
tree79c7d0bb755f0671f7ffed41d432d952b9e3d017 /media-libs/libzmf
parentapp-text/libstaroffice: Add 0.0.2 release (diff)
downloadgentoo-236756d23b42c0cd86e0c29b96dd3315cbd04d4e.tar.gz
gentoo-236756d23b42c0cd86e0c29b96dd3315cbd04d4e.tar.bz2
gentoo-236756d23b42c0cd86e0c29b96dd3315cbd04d4e.zip
media-libs/libzmf: Add 0.0.1 release
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs/libzmf')
-rw-r--r--media-libs/libzmf/Manifest1
-rw-r--r--media-libs/libzmf/libzmf-0.0.1.ebuild49
-rw-r--r--media-libs/libzmf/libzmf-9999.ebuild7
3 files changed, 52 insertions, 5 deletions
diff --git a/media-libs/libzmf/Manifest b/media-libs/libzmf/Manifest
new file mode 100644
index 000000000000..c5ceda509a88
--- /dev/null
+++ b/media-libs/libzmf/Manifest
@@ -0,0 +1 @@
+DIST libzmf-0.0.1.tar.xz 315060 SHA256 eaf533ea29f9b66e75c0dcb631f1616b4f3cec9474e4fa0d2835769056a0e57a SHA512 cf601974a762ddee45430c136f40231e7659884544881ab37563a97e169201bfd335bad1ddc220e882612e2480070c4a36ba3826242a48e12105e20bb6f717e2 WHIRLPOOL a6e2dae1ef2b09f77332c4eee5da17113ab034f486f93ce31484f14a31ef6db27cf69d6187541cd751d3e85fa08e88b7b2cc41703634c61a92301bd4d0ae8b6f
diff --git a/media-libs/libzmf/libzmf-0.0.1.ebuild b/media-libs/libzmf/libzmf-0.0.1.ebuild
new file mode 100644
index 000000000000..543a6fbae2c9
--- /dev/null
+++ b/media-libs/libzmf/libzmf-0.0.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_REPO_URI="git://gerrit.libreoffice.org/libzmf"
+[[ ${PV} == 9999 ]] && inherit git-r3 autotools
+
+DESCRIPTION="Library for parsing Zoner Callisto/Draw documents"
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+
+IUSE="debug doc test tools"
+
+RDEPEND="
+ dev-libs/icu:=
+ dev-libs/librevenge
+ media-libs/libpng:0=
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.56
+ doc? ( app-doc/doxygen )
+ test? ( dev-util/cppunit )
+"
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_with doc docs) \
+ $(use_enable test tests) \
+ $(use_enable tools)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/media-libs/libzmf/libzmf-9999.ebuild b/media-libs/libzmf/libzmf-9999.ebuild
index 12a383650275..fbc7c3257425 100644
--- a/media-libs/libzmf/libzmf-9999.ebuild
+++ b/media-libs/libzmf/libzmf-9999.ebuild
@@ -5,10 +5,7 @@
EAPI=6
EGIT_REPO_URI="git://gerrit.libreoffice.org/libzmf"
-
-[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools"
-inherit eutils ${GITECLASS}
-unset GITECLASS
+[[ ${PV} == 9999 ]] && inherit git-r3 autotools
DESCRIPTION="Library for parsing Zoner Callisto/Draw documents"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
@@ -48,5 +45,5 @@ src_configure() {
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}