summaryrefslogtreecommitdiff
path: root/app-text/podofo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-text/podofo
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-text/podofo')
-rw-r--r--app-text/podofo/Manifest4
-rw-r--r--app-text/podofo/podofo-0.9.6_p20190928.ebuild (renamed from app-text/podofo/podofo-0.9.6_p20200526.ebuild)15
2 files changed, 12 insertions, 7 deletions
diff --git a/app-text/podofo/Manifest b/app-text/podofo/Manifest
index 3e55718a7bf8..0d3c1c12eee5 100644
--- a/app-text/podofo/Manifest
+++ b/app-text/podofo/Manifest
@@ -1,5 +1,5 @@
DIST podofo-0.9.6_p20180715.tar.xz 747444 BLAKE2B 96d90add6d290d6722cd7412fd75433f87303bac385964f0967b4f119db4962f6ddbd93b49af8454051f421d77de70ad7ea0f5b01a66eeb690a75dbeec256eff SHA512 4c9b09c716128110b47d6a02f118eb80b6009e9e79dbc83ff804a57f0abc011b789de9287b68a6c1d6704ef386f8062a3a495408af8a832782f0bf0128190a1f
-DIST podofo-0.9.6_p20200526.tar.xz 752264 BLAKE2B 52eb40a63e8462b6d1f975c76c2112b93ae98c19ad6cb65906bef018e99a3d92e26781cee9d4ef1c4de74779db7eca6589c320849be84b70c20d5c7d988c0a49 SHA512 7baa58c9a524ccc5aa954bd5fe891b9add8b8f4ec29e3ebbc1c8a467d2787e6c3f9e4652db08e50cb4c28a73691215947940634975e292ec01fb57e2e45efbe4
+DIST podofo-0.9.6_p20190928.tar.xz 747532 BLAKE2B 39d051e6adca85bf0f124e5d48e1ff88dc951d7c1b38bc76dc7e3640ea9c3f8a59c6ba9a9105a263234e94932e450bec12dde455850dbf96cd7eec3e69a1a28d SHA512 b9d46fb02eeba61190a0efd17b507bba62d7246af6fff3c3514c9970e99e085f9aad92baa05cc6cf0a8c3c2843554099c904bff10be54dbb4d4cb7de460fc3cc
EBUILD podofo-0.9.6_p20180715.ebuild 4661 BLAKE2B c5e6616218c01a583ef3bcd8e93a80edd060b9fe010cf9f91372a5ce3e9f34d592d69fe20cc8e9ba02dceefa6ac70679c5d66783580fd7d70b40cc2f74c5a85d SHA512 b6b6a274d5ee92d13d4b573844cd0d1629f13b552f5d8257e884a0c555ba1d14425abe3fab1be9e01d27c5c1da9eae07519ad0916862569a0495808d2719449f
-EBUILD podofo-0.9.6_p20200526.ebuild 4591 BLAKE2B 14522471c08143d9adbee39ec8301e705169a48fc2557b44707432ce25c26e0e2eab8b822bc188f11795f55092e8c85ebc22384ac747e1285098aa20ed722f62 SHA512 ad7feded62a43adfd9d807087109816ef637d8e2ce7046a9dc0eebce27b7aee6cda9c93059aedcc999828b6cc13455899bc9a80de30bfc1ce2cd90f366da3e7b
+EBUILD podofo-0.9.6_p20190928.ebuild 4670 BLAKE2B df7e653e7251ee6a8c82f45cff91ab7703aa73045d1dd16b7bdaf0ba10d9475e5736566411600d473f1b4ba79df8742e96f616e8d1b45b524382d569b568b2b8 SHA512 f0d481bbf173348d0da77ac046aa4fafa5301e91fb888107f6bad455ee366edd1a7fbfa56a1b8533e9f72c1a9cf27ff45668769b86c6820e99c84d266746f19a
MISC metadata.xml 509 BLAKE2B 5bcba752f845dba107a60068a4be60776e8fba516b42a2434bed1173786117054eb77e933b667604c96c10bbc5ced810b8590c77626d13a575857ec1ba253dbb SHA512 ad2bbc4598d80be1fcd4fdbfe0a08bec65795f23e768762dc02be766d82cf1549b6861bd8e96bd72b468674ab1e36ebbead3464dc647378b72a8679fcf422236
diff --git a/app-text/podofo/podofo-0.9.6_p20200526.ebuild b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
index 058f8499ab01..0c3c7b2bd809 100644
--- a/app-text/podofo/podofo-0.9.6_p20200526.ebuild
+++ b/app-text/podofo/podofo-0.9.6_p20190928.ebuild
@@ -2,17 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake-utils flag-o-matic multilib toolchain-funcs
+inherit cmake flag-o-matic multilib toolchain-funcs
DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
HOMEPAGE="https://sourceforge.net/projects/podofo/"
-SRC_URI="https://dev.gentoo.org/~zmedico/dist/podofo-0.9.6_p20200526.tar.xz"
+SRC_URI="https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0/${PV%_*}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="+boost idn libressl debug test +tools"
-RESTRICT="test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="test? ( tools )"
RDEPEND="dev-lang/lua:=
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog TODO"
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
local x sed_args
if use libressl; then
@@ -136,6 +136,11 @@ src_configure() {
-DPODOFO_BUILD_LIB_ONLY=$(usex tools OFF ON)
)
- cmake-utils_src_configure
+ cmake_src_configure
mkdir -p "${S}/test/TokenizerTest/objects" || die
}
+
+src_test() {
+ cd "${BUILD_DIR}"/test/unit || die
+ ./podofo-test --selftest || die "self test failed"
+}