diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/libetonyek/Manifest | 1 | ||||
-rw-r--r-- | app-text/libetonyek/libetonyek-0.1.6.ebuild | 64 | ||||
-rw-r--r-- | app-text/libetonyek/libetonyek-9999.ebuild | 15 |
3 files changed, 73 insertions, 7 deletions
diff --git a/app-text/libetonyek/Manifest b/app-text/libetonyek/Manifest index 82a3a0376bbb..63ee587ef698 100644 --- a/app-text/libetonyek/Manifest +++ b/app-text/libetonyek/Manifest @@ -2,3 +2,4 @@ DIST libetonyek-0.0.3.tar.xz 341276 SHA256 b5b96cd0857fc9a740d6ec737d613d95e9524 DIST libetonyek-0.1.1.tar.xz 338396 SHA256 9c6a5a0f15ae6cc6e2dfb2272b664dedda7918ed46f3756f9f29a72589d8c83e SHA512 a75463b1bf41eca19b3d1e9391683a42d2343b23b6bd1d69aa41c10ae0cef4d5794896976ba46ff364e7ead52c556e349c525bb12cea40242542037d60c2a2c4 WHIRLPOOL 373ae59f8cf1f88b37ab7c21ae22e9a6f5d32d23c5dc3b517e101d56c745940ecfc7ba579cd83601390895189271fa9ecc846460c8d570616a5274a634f91dac DIST libetonyek-0.1.2.tar.xz 346248 SHA256 58d078a76c3fd839c282244a1a7dabca81cef64be086a5c7d8470bb64208da39 SHA512 9d1ca586c313f93b31a19a47e9a050bbc5be8cac385d16f3060353b26de86ddb35a2d72694ec6d0ad043a108a7fe5d451dcd205db96822a0c0ce32a101b20e80 WHIRLPOOL aaba195fa0f7811a8ef05e64720cb37ca6a06534bcb7f6f0d75a9d35d3ca6fedc27783eb5e13607273e219c70bd4439561081702e80dc549c646a01dd58a595c DIST libetonyek-0.1.3.tar.xz 372884 SHA256 fe12276a62bd5f5ca4f5bfbd4938a74d097084e1f9fe173e521f63203f56f055 SHA512 912cb94e6cd63a162a8831368f953c4e6fb14b582a13a7ce93c0bcbb63b688fcbe4733dbb883d6a9faee2011ca5e888d00adda075c2a58d00858770ed68d6844 WHIRLPOOL 5fe864e37f6611c8cda92243a13e08e38ce1fd6f9544ddee7d3392fa9bfe573cd9af6ddd0ff03c7a0cee19b63c46b96398d985eaeb7367cd06aac8796d3655b8 +DIST libetonyek-0.1.6.tar.xz 1243364 SHA256 df54271492070fbcc6aad9f81ca89658b25dd106cc4ab6b04b067b7a43dcc078 SHA512 10ae0403d98f33b27be4c3c905dec3df48cc01ce438f8760298edeadb76dd74da997edbd7dc03635fbc168b318bfe6e130f2306f495dfbf4135dd6dfcccabb4e WHIRLPOOL 932704f1d8bb1269e6be8e3fd7bd64af01ba0f098272befc747da9a4bd225bb201542bebf31d6e6338e613835fca4d7c6e2c1454df4ed764af30459393b6d73b diff --git a/app-text/libetonyek/libetonyek-0.1.6.ebuild b/app-text/libetonyek/libetonyek-0.1.6.ebuild new file mode 100644 index 000000000000..71de2347d2ef --- /dev/null +++ b/app-text/libetonyek/libetonyek-0.1.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libetonyek" +inherit eutils +[[ ${PV} == 9999 ]] && inherit autotools git-r3 + +DESCRIPTION="Library parsing Apple Keynote presentations" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" +[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc static-libs test" + +RDEPEND=" + app-text/liblangtag + dev-libs/librevenge + dev-libs/libxml2 + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/mdds:1 + media-libs/glm + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" + +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] || { + [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } + then + eerror "Compilation with gcc older than 4.8 is not supported" + die "Too old gcc found." + fi +} + +src_prepare() { + eapply_user + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + $(use_enable static-libs static) \ + --disable-werror \ + $(use_enable test tests) \ + $(use_with doc docs) +} + +src_install() { + default + prune_libtool_files --all +} diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 210690067492..71de2347d2ef 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libetonyek" -inherit base eutils -[[ ${PV} == 9999 ]] && inherit autotools git-2 +inherit eutils +[[ ${PV} == 9999 ]] && inherit autotools git-r3 DESCRIPTION="Library parsing Apple Keynote presentations" HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" @@ -19,13 +19,14 @@ KEYWORDS="~amd64 ~arm ~x86" IUSE="doc static-libs test" RDEPEND=" + app-text/liblangtag dev-libs/librevenge dev-libs/libxml2 sys-libs/zlib " DEPEND="${RDEPEND} - >=dev-libs/boost-1.46 - >=dev-util/mdds-0.12.1 + dev-libs/boost + dev-util/mdds:1 media-libs/glm sys-devel/libtool virtual/pkgconfig @@ -43,8 +44,8 @@ pkg_pretend() { } src_prepare() { + eapply_user [[ -d m4 ]] || mkdir "m4" - base_src_prepare [[ ${PV} == 9999 ]] && eautoreconf } |