diff options
Diffstat (limited to 'app-text/libmwaw')
-rw-r--r-- | app-text/libmwaw/Manifest | 7 | ||||
-rw-r--r-- | app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch | 19 | ||||
-rw-r--r-- | app-text/libmwaw/libmwaw-0.3.13.ebuild | 51 | ||||
-rw-r--r-- | app-text/libmwaw/libmwaw-0.3.14.ebuild | 49 | ||||
-rw-r--r-- | app-text/libmwaw/libmwaw-9999.ebuild | 49 | ||||
-rw-r--r-- | app-text/libmwaw/metadata.xml | 14 |
6 files changed, 189 insertions, 0 deletions
diff --git a/app-text/libmwaw/Manifest b/app-text/libmwaw/Manifest new file mode 100644 index 000000000000..69f1a6755029 --- /dev/null +++ b/app-text/libmwaw/Manifest @@ -0,0 +1,7 @@ +AUX libmwaw-0.3.13-buildfix.patch 562 BLAKE2B 4ec40a613a1ebb88ab5d3d790ec68789ecadc9852339a661beace56b56ad1201d33ae3ae046823f61219b159f732e7fb08ae79f9fd59fa8832d34d9fdfd60c6e SHA512 c7a87b316308f4448988d70e07184bcad462b7286e3f690eec8f377dd63ba95653e010bac8c1e00aba821fbab72d9c22d67a859f3b6e9c1bc88b5ca56e3756f7 +DIST libmwaw-0.3.13.tar.xz 1258220 BLAKE2B 79cb4d8a91d361ceae70fa7a0145fa9f5e230bbafba1b0a586b10a1375e34511769d2a5d6b8ba9b6b9676a3cffc9ae6d22529a1920ed4bf932ef7e88ca7bae0c SHA512 3d6a5142cc45f6519ac29f935c01418278ed4cc1bdcb0ecb1a190309c43d3f7ee06deab519d29a3e2aec01ef091cb4f4c17809662640b54a8e4fe8d4bd8db5f3 +DIST libmwaw-0.3.14.tar.xz 1276240 BLAKE2B 34a5b118064dcac37834c83b2b5a61303f3e2eb70e41322845ff7661a5494c0b85db0bb07c6bf1f357c2027cab1c515eade58bb6b4fdf845a81d4d079a414b98 SHA512 6893a7a8a72765a66973a94bc7de8b3b6061aa85fd9cca5e73cb2a4024cbe81f0c030df0b6383f24835643259c361efda5527813bb84a1b08d0089d509215888 +EBUILD libmwaw-0.3.13.ebuild 1055 BLAKE2B e11ebd9eeba3c2ae91dbf71e413eb2366a91b788e7394c34200ec1134bc7602adba37996699daa09de18711a9a00eedd96dfd1ee1c488e42c4c0ac1266e6eeae SHA512 13f090f1610613958c5f37070f41378636cd5b25f5a2f0899a6c464a61bc316a9429a0652c154945ae14fcb0c8905aef8eddadccd41419dd80dd025e9ce22a9e +EBUILD libmwaw-0.3.14.ebuild 1010 BLAKE2B caf4e52dadd33b6348da5ae194d1d9364fb972dfbd4ed05b97a639f835958857b023c3a0afa658288e616e7500d3ae62fa6ee7de213b656b3084cb96633dd4d7 SHA512 313ac932f39b04df8668fddc72004ab421bb6415ca90569cde318345c40512cea7fca01f546ff044e92d373b11f5441a90be178ca6e1bac12be6743a0e6faf46 +EBUILD libmwaw-9999.ebuild 1010 BLAKE2B caf4e52dadd33b6348da5ae194d1d9364fb972dfbd4ed05b97a639f835958857b023c3a0afa658288e616e7500d3ae62fa6ee7de213b656b3084cb96633dd4d7 SHA512 313ac932f39b04df8668fddc72004ab421bb6415ca90569cde318345c40512cea7fca01f546ff044e92d373b11f5441a90be178ca6e1bac12be6743a0e6faf46 +MISC metadata.xml 403 BLAKE2B cbddacc98e4f22e521d739150ee4044b93c297dbd6d220a445192a3d1a6316491d6ed72ada8bd138c287133fcaf1b3d5ce580e68dd3ec071d36abbc1b05b4b6d SHA512 12cebd7bdaff6a793598f40cb11f4ae6681dcb29b18ecb7db92681abf1f6d4ce0281ae292c84106a143c0ff5ff3395e37604b3576c6a479001fc351dba10c7ed diff --git a/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch b/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch new file mode 100644 index 000000000000..5c9940e8860d --- /dev/null +++ b/app-text/libmwaw/files/libmwaw-0.3.13-buildfix.patch @@ -0,0 +1,19 @@ +commit 4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9 +Author: David Tardon <dtardon@redhat.com> +Date: Wed Nov 15 13:15:44 2017 +0100 + + fix call of explicit ctor + +diff --git a/src/lib/libmwaw_internal.hxx b/src/lib/libmwaw_internal.hxx +index 2875a0fb..b844a9d5 100644 +--- a/src/lib/libmwaw_internal.hxx ++++ b/src/lib/libmwaw_internal.hxx +@@ -1027,7 +1027,7 @@ public: + } + //! generic constructor + template <class U> explicit MWAWBox2(MWAWBox2<U> const &p) +- : m_data(p.min(), p.max()) ++ : m_data(MWAWVec2<T>(p.min()), MWAWVec2<T>(p.max())) + { + } + diff --git a/app-text/libmwaw/libmwaw-0.3.13.ebuild b/app-text/libmwaw/libmwaw-0.3.13.ebuild new file mode 100644 index 000000000000..7fe40d2eb2bb --- /dev/null +++ b/app-text/libmwaw/libmwaw-0.3.13.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw" +[[ ${PV} == 9999 ]] && inherit autotools git-r3 + +DESCRIPTION="Library parsing many pre-OSX MAC text formats" +HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/" +[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" + +[[ ${PV} == 9999 ]] || \ +KEYWORDS="amd64 ~arm ~arm64 x86" + +IUSE="doc static-libs tools" + +RDEPEND=" + dev-libs/librevenge + sys-libs/zlib +" +DEPEND="${RDEPEND} + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +PATCHES=( "${FILESDIR}/${P}-buildfix.patch" ) + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + # zip is hard enabled as the zlib is dep on the rdeps anyway + econf \ + --enable-zip \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable static-libs static) \ + $(use_enable tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libmwaw/libmwaw-0.3.14.ebuild b/app-text/libmwaw/libmwaw-0.3.14.ebuild new file mode 100644 index 000000000000..7dde090fa754 --- /dev/null +++ b/app-text/libmwaw/libmwaw-0.3.14.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw" +[[ ${PV} == 9999 ]] && inherit autotools git-r3 + +DESCRIPTION="Library parsing many pre-OSX MAC text formats" +HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/" +[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" + +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="doc static-libs tools" + +RDEPEND=" + dev-libs/librevenge + sys-libs/zlib +" +DEPEND="${RDEPEND} + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + # zip is hard enabled as the zlib is dep on the rdeps anyway + econf \ + --enable-zip \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable static-libs static) \ + $(use_enable tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libmwaw/libmwaw-9999.ebuild b/app-text/libmwaw/libmwaw-9999.ebuild new file mode 100644 index 000000000000..7dde090fa754 --- /dev/null +++ b/app-text/libmwaw/libmwaw-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw" +[[ ${PV} == 9999 ]] && inherit autotools git-r3 + +DESCRIPTION="Library parsing many pre-OSX MAC text formats" +HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/" +[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" + +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="doc static-libs tools" + +RDEPEND=" + dev-libs/librevenge + sys-libs/zlib +" +DEPEND="${RDEPEND} + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + # zip is hard enabled as the zlib is dep on the rdeps anyway + econf \ + --enable-zip \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable static-libs static) \ + $(use_enable tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libmwaw/metadata.xml b/app-text/libmwaw/metadata.xml new file mode 100644 index 000000000000..09f5b872fd22 --- /dev/null +++ b/app-text/libmwaw/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">libmwaw</remote-id> + </upstream> + <use> + <flag name="tools">Build file conversion tools</flag> + </use> +</pkgmetadata> |