From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/libebook/Manifest | 7 +++ .../files/libebook-0.1.2-boost-1.59-makefile.patch | 10 ++++ app-text/libebook/files/libebook-0.1.2-tests.patch | 27 ++++++++++ app-text/libebook/libebook-0.1.2-r1.ebuild | 62 ++++++++++++++++++++++ app-text/libebook/libebook-0.1.3.ebuild | 58 ++++++++++++++++++++ app-text/libebook/metadata.xml | 14 +++++ 6 files changed, 178 insertions(+) create mode 100644 app-text/libebook/Manifest create mode 100644 app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch create mode 100644 app-text/libebook/files/libebook-0.1.2-tests.patch create mode 100644 app-text/libebook/libebook-0.1.2-r1.ebuild create mode 100644 app-text/libebook/libebook-0.1.3.ebuild create mode 100644 app-text/libebook/metadata.xml (limited to 'app-text/libebook') diff --git a/app-text/libebook/Manifest b/app-text/libebook/Manifest new file mode 100644 index 000000000000..a8da783c4d10 --- /dev/null +++ b/app-text/libebook/Manifest @@ -0,0 +1,7 @@ +AUX libebook-0.1.2-boost-1.59-makefile.patch 335 BLAKE2B 21b62202de334b214e4dd04ea2d06e23fdacb49d35020a7e874f27cadecc13dd96221826469bac50d063583b2f10e93cd325d53fa6cff181ab806bb83623cf02 SHA512 fe435d531d0b4646d8642dfa471352519e3e606b31c3fe727ebbd1ebecdeef58663aadbd7ae95ac902055074b550b659c7eb5cc981a078315462da9a892abe43 +AUX libebook-0.1.2-tests.patch 784 BLAKE2B b7f2aa5b5abace8fb1276c534ef564d8e088b514569540d940f433b5d293a497e211782059186688d94db8139b1f9f0859180f59ea4ac7c0e9c86ca10d11a934 SHA512 e176746ed85e0564332b7ed6e375f0869931e7f489d734dc1ecbd685af595ce1247f933a82736c239df322d57505c40cd23af434db711b8087ee77e26de2c1ad +DIST libe-book-0.1.2.tar.bz2 465922 BLAKE2B 11898cb34d41a6abbf256ed8a7ff44006f239616987ca5883a8a611041bcda2cce221acc00c57cd36d94f8c26510889df3206ca4f071c23ae272262938e2c396 SHA512 82982874f9c0f5e400166e9367a4b6017cf11bbd69e2e79240137385a5d68ddea08f13676f8c5d0e983f441de17cda9f4b5f7c90c5cb3515e319de638edf3a38 +DIST libe-book-0.1.3.tar.bz2 510498 BLAKE2B e29f9f80a85210447494af20cf30ce7f231ef43f40af9683df7f63e172f5ff8d944d74b995b5850856b2736044b1a5a1ac386262e52a48575325339224a1d339 SHA512 9afa2949f702a34fd6278145ce8d18d504326ed5a103bbc872d0493fcf3e2166d41d094bb0d74b80aa913ca6d082f5bd3259799a4a3c7359331ccdfa1e029a21 +EBUILD libebook-0.1.2-r1.ebuild 1079 BLAKE2B 8f7c519b161b6fdb8d6f0c55294fc2de890ad0d16086146b1316ad3794422d69117994359a4b669d2388eb905531f62cd7b89337f7a256b36b4dcb2d0d00f4a3 SHA512 2ec5e9b00df55ba2c20c901f2512fabf5b3aa5a4ec8812f24fa83a162dbc164f7f86c658e07b850c8ce9f58410c5ec227e45c51400fcc04a7ad4ac5830cd310f +EBUILD libebook-0.1.3.ebuild 1011 BLAKE2B 657012ef4e1833134322c0ea33aa9209788eb66d0d47a58a84dec199e2565dbd2023b17c8bccfd1a76c43b3b4a8de075ea353b2fd9d5a47457a595a487757dee SHA512 30dd8d31108744cbd2ea71b863a3789124d47680cca93fc83c7bc27bdeb92de20f4934f277eff50c233b339d77c125a7550c61856e059242b4d1234e4bc7efa9 +MISC metadata.xml 404 BLAKE2B 69f06dd52ba8be857d504941c4aeb6778381d87d61f1c9a889a6c1ad16a9d7014dabf76c707db2ed6a160be300a010e6d15c2162d35e59ddd038181a4aa7fae8 SHA512 8e0679b60d1fd56fcb165fd7b5a8e1367f4ee472d7a58e157e6bb1445b502b1fee56b18d099837dcabaa35f7b18f52515cbb51f7bfe9c4c2a824210e4003a275 diff --git a/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch b/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch new file mode 100644 index 000000000000..9869b308c73c --- /dev/null +++ b/app-text/libebook/files/libebook-0.1.2-boost-1.59-makefile.patch @@ -0,0 +1,10 @@ +--- a/src/lib/Makefile.am ++++ b/src/lib/Makefile.am +@@ -64,6 +64,7 @@ + libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_SOURCES = \ + EBOOKDocument.cpp + ++libe_book_internal_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED + libe_book_internal_la_SOURCES = \ + EBOOKBitStream.cpp \ + EBOOKBitStream.h \ diff --git a/app-text/libebook/files/libebook-0.1.2-tests.patch b/app-text/libebook/files/libebook-0.1.2-tests.patch new file mode 100644 index 000000000000..624051a757aa --- /dev/null +++ b/app-text/libebook/files/libebook-0.1.2-tests.patch @@ -0,0 +1,27 @@ +From 263d95ce191421a51d4b2d088297700032a8987b Mon Sep 17 00:00:00 2001 +From: eroen +Date: Mon, 19 Dec 2016 19:53:15 +0100 +Subject: [PATCH] Check for librevenge-stream if tests are enabled + +X-Gentoo-Bug: 603098 +X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=603098 +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 6e00ed5..ecbd14b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -357,6 +357,8 @@ AS_IF([test "x$with_tools" = "xyes"],[ + PKG_CHECK_MODULES([REVENGE_GENERATORS],[ + librevenge-generators-0.0 + ]) ++]) ++AS_IF([test "x$with_tools" = "xyes" || test "x$enable_tests" = "xyes"],[ + PKG_CHECK_MODULES([REVENGE_STREAM],[ + librevenge-stream-0.0 + ]) +-- +2.11.0 + diff --git a/app-text/libebook/libebook-0.1.2-r1.ebuild b/app-text/libebook/libebook-0.1.2-r1.ebuild new file mode 100644 index 000000000000..e30d1ced7b2e --- /dev/null +++ b/app-text/libebook/libebook-0.1.2-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="libe-book" +MY_P="${MY_PN}-${PV}" + +inherit autotools flag-o-matic + +DESCRIPTION="Library parsing various ebook formats" +HOMEPAGE="https://www.sourceforge.net/projects/libebook/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="doc test tools" + +RDEPEND=" + dev-libs/icu:= + dev-libs/librevenge + dev-libs/libxml2 + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/gperf + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" +RDEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-boost-1.59-makefile.patch" + "${FILESDIR}/${P}-tests.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug 618854 + append-cxxflags -std=c++14 + + econf \ + --disable-static \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable test tests) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libebook/libebook-0.1.3.ebuild b/app-text/libebook/libebook-0.1.3.ebuild new file mode 100644 index 000000000000..ecfbde86e9f2 --- /dev/null +++ b/app-text/libebook/libebook-0.1.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="libe-book" +MY_P="${MY_PN}-${PV}" + +inherit autotools flag-o-matic + +DESCRIPTION="Library parsing various ebook formats" +HOMEPAGE="https://www.sourceforge.net/projects/libebook/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="doc test tools" + +RDEPEND=" + app-text/liblangtag + dev-libs/icu:= + dev-libs/librevenge + dev-libs/libxml2 + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/gperf + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" +RDEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug 618854 + append-cxxflags -std=c++14 + + econf \ + --disable-static \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable test tests) \ + $(use_with tools) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libebook/metadata.xml b/app-text/libebook/metadata.xml new file mode 100644 index 000000000000..70dbb606d4c5 --- /dev/null +++ b/app-text/libebook/metadata.xml @@ -0,0 +1,14 @@ + + + + + office@gentoo.org + Gentoo Office project + + + Build file conversion tools + + + libebook + + -- cgit v1.2.3