media-libs/libzmf: Add 0.0.1 release
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Wed, 26 Oct 2016 17:39:59 +0000 (19:39 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 5 Nov 2016 21:00:50 +0000 (22:00 +0100)
Package-Manager: portage-2.3.0

media-libs/libzmf/Manifest [new file with mode: 0644]
media-libs/libzmf/libzmf-0.0.1.ebuild [new file with mode: 0644]
media-libs/libzmf/libzmf-9999.ebuild

diff --git a/media-libs/libzmf/Manifest b/media-libs/libzmf/Manifest
new file mode 100644 (file)
index 0000000..c5ceda5
--- /dev/null
@@ -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 (file)
index 0000000..543a6fb
--- /dev/null
@@ -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
+}
index 12a383650275c2e771a6a2df990f62869334f4e3..fbc7c3257425bf2d0e85a2dc81298168638e6350 100644 (file)
@@ -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
 }