summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libzmf/Manifest1
-rw-r--r--media-libs/libzmf/libzmf-0.0.2.ebuild49
-rw-r--r--media-libs/libzmf/libzmf-9999.ebuild2
3 files changed, 51 insertions, 1 deletions
diff --git a/media-libs/libzmf/Manifest b/media-libs/libzmf/Manifest
index c5ceda509a88..e0b078744527 100644
--- a/media-libs/libzmf/Manifest
+++ b/media-libs/libzmf/Manifest
@@ -1 +1,2 @@
DIST libzmf-0.0.1.tar.xz 315060 SHA256 eaf533ea29f9b66e75c0dcb631f1616b4f3cec9474e4fa0d2835769056a0e57a SHA512 cf601974a762ddee45430c136f40231e7659884544881ab37563a97e169201bfd335bad1ddc220e882612e2480070c4a36ba3826242a48e12105e20bb6f717e2 WHIRLPOOL a6e2dae1ef2b09f77332c4eee5da17113ab034f486f93ce31484f14a31ef6db27cf69d6187541cd751d3e85fa08e88b7b2cc41703634c61a92301bd4d0ae8b6f
+DIST libzmf-0.0.2.tar.xz 320952 SHA256 27051a30cb057fdb5d5de65a1f165c7153dc76e27fe62251cbb86639eb2caf22 SHA512 ad4a8e65e85434e43caa239ff2a3f358c6db6411235c4bb73d8d2aa1527a4f411433370706db391f8f8110a36759249ee19b27be75bae5f361c491006d1b9aa2 WHIRLPOOL cb919a9d0861b7c75c4bf66cd3c6ae69ddf31cdb30619b8f201306360293cf72dde31037030ed063e62fe2a6d960a3691261470ec84e310c69e016a2466bbc8a
diff --git a/media-libs/libzmf/libzmf-0.0.2.ebuild b/media-libs/libzmf/libzmf-0.0.2.ebuild
new file mode 100644
index 000000000000..029727cdcae1
--- /dev/null
+++ b/media-libs/libzmf/libzmf-0.0.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~arm ~arm64 ~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
+ doc? ( app-doc/doxygen )
+ test? ( dev-util/cppunit )
+"
+
+src_prepare() {
+ default
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-werror \
+ $(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 51d3c6c44415..029727cdcae1 100644
--- a/media-libs/libzmf/libzmf-9999.ebuild
+++ b/media-libs/libzmf/libzmf-9999.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
LICENSE="MPL-2.0"
SLOT="0"
[[ ${PV} == 9999 ]] || \
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="debug doc test tools"