summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-03 09:57:22 +0100
committerSam James <sam@gentoo.org>2023-05-03 09:57:48 +0100
commitbcfe5d9e9c62bafb10c89cbed92f405be2985881 (patch)
tree15d6c7fc8126bc87955d2ebb3453636bada68e73 /app-text
parentdev-python/pythran: add 0.13.1 (diff)
downloadgentoo-bcfe5d9e9c62bafb10c89cbed92f405be2985881.tar.gz
gentoo-bcfe5d9e9c62bafb10c89cbed92f405be2985881.tar.bz2
gentoo-bcfe5d9e9c62bafb10c89cbed92f405be2985881.zip
app-text/libwpg: add 0.3.4
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/libwpg/Manifest1
-rw-r--r--app-text/libwpg/libwpg-0.3.4.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-text/libwpg/Manifest b/app-text/libwpg/Manifest
index 37d0f698e130..63e7c1a90238 100644
--- a/app-text/libwpg/Manifest
+++ b/app-text/libwpg/Manifest
@@ -1 +1,2 @@
DIST libwpg-0.3.3.tar.xz 328664 BLAKE2B 02ffaf8ea96e66dea94d847c85e17db5b7efcc5891bb1bf4069e664ece09f808b7462fcbb08a75d6ab17fff4ea51a8e494c48fba1540aed132f47d05b746e1a5 SHA512 99f8346b336eb902626fe07836c73870a57e100620ddd242ce7c2866e564483ed024a3a0b2804f81a0f59a0873310c3a93c005d306437a27818a6f4374c0c491
+DIST libwpg-0.3.4.tar.xz 340428 BLAKE2B 68df99682307811e7bf376ff1329aaf18313e447b8dcdd2229cedc30afa122eafcf6a527c375cf547b88600129460ff2db2390124200f4ee100367ea534cea83 SHA512 dcc34abc3cf8793dca579b2233e7c84d0ea53a7372c325678d81fbe52c700e6a8af32c4b17e490a39873a692d44ba7b3af68d605d87cef0be8ea13d2f7b95c0e
diff --git a/app-text/libwpg/libwpg-0.3.4.ebuild b/app-text/libwpg/libwpg-0.3.4.ebuild
new file mode 100644
index 000000000000..72c73c9ef298
--- /dev/null
+++ b/app-text/libwpg/libwpg-0.3.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="C++ library to read and parse graphics in WPG"
+HOMEPAGE="http://libwpg.sourceforge.net/libwpg.htm"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="|| ( LGPL-2.1 MPL-2.0 )"
+SLOT="0.3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="
+ app-text/libwpd:0.10[tools]
+ dev-libs/librevenge
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+"
+
+src_configure() {
+ local myeconfargs=(
+ --program-suffix=-${SLOT}
+ $(use_with doc docs)
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}