diff options
Diffstat (limited to 'app-text/libwpg')
-rw-r--r-- | app-text/libwpg/Manifest | 7 | ||||
-rw-r--r-- | app-text/libwpg/libwpg-0.3.1.ebuild | 48 | ||||
-rw-r--r-- | app-text/libwpg/libwpg-0.3.2.ebuild | 48 | ||||
-rw-r--r-- | app-text/libwpg/metadata.xml | 15 |
4 files changed, 118 insertions, 0 deletions
diff --git a/app-text/libwpg/Manifest b/app-text/libwpg/Manifest new file mode 100644 index 000000000000..d0f845e19812 --- /dev/null +++ b/app-text/libwpg/Manifest @@ -0,0 +1,7 @@ +DIST libwpg-0.3.1.tar.xz 316576 SHA256 620d888c10d7e1127d5123ff0065f1b62b86b91bac27d8ae10dcfbdb6bf4278f SHA512 5222609510857d32250e25b1108ecf4c0ce1e58fba280b7c15d400bc8963112adaa9fffa3c21087d4984ec52176d69b30bfc9460ffef978d6b0d7ccc400063b2 WHIRLPOOL c35c51b5098757a0de9a1288d185708775d4ecc2b69ad76e818df5308ec1cbcb870552d45edfe011f65aff141e12656bf98a8ce5207fc0f12ecbc9c705afb3e2 +DIST libwpg-0.3.2.tar.xz 326840 SHA256 57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33 SHA512 f3f76a17056274b2dfd11ce4eb451411d8458b00b3f7be4fae0a932a382f247adbaae1f4f8f6005e7b84f063e415ef5ab609015ba32f779c6ab2f0404b275f3f WHIRLPOOL 492ebc20d136ccd2525c9e1b1ac5613dc6dc74df140c1e190defa22fa5fdb2c04765c5121764c0452087ac9038446384634e61d04512046c22784c523791d911 +EBUILD libwpg-0.3.1.ebuild 1284 SHA256 cb0f1a1b494009382dd1565890ca5d1de166ea64a8a4258d9631ab82c867c3f5 SHA512 10c37c3bc9046758d110594f43182c5b0a95ea63febce3a5aac282940d8c26bc698dba5c08bfba5d7b18b2aa26291d44bd3707a1b60671a25c07d90912248d5b WHIRLPOOL 771fb7bc416131d791cbc948d4a42fabcef10c4605cc5966f30a45a13465b62407257aa710ef583397930cbda933f9217e14cfa767bab9205713d4e9db5f02e4 +EBUILD libwpg-0.3.2.ebuild 1286 SHA256 9ebe321bd0592995653156f54439d320b22f16474b40ac2cb4d4c1e6b259e06e SHA512 826d24772498c6c4e3c9159f5d0a521361b1d578d2a7392cb3da5d1c1cd56cfa781f215ddaf748387fc9658b0c6c643f6db652224687f1edcb0c94117d6e7fff WHIRLPOOL c093a8e3994fcc2385f4eea7ed781e98962779273bb0dbbd090df2254a199fa87cf594939727ac3bcb2a5542cbf8fd8c3d2b1395e2d738b3ba21006376886ccb +MISC ChangeLog 2904 SHA256 2070237e1d04337313d96ae6294f0189ffa5a5bb86c281c4d2415a33f3ede301 SHA512 6acaa78ea311cca014b2c5e8f2c9fa9ab8ad8fafccb9914f8d2dbf2f8c5d4b1ee1e6950551fb182206ae35ed73c7e14b08f72685592d9f91e4f7fb50b4810469 WHIRLPOOL 186287c0d8df8784a2e903a38b07042c67cb381e391b0e78291683c122f5bc6cc9d83402be23f87cf3f9c9337b0a970dbd2c256242de50444bf19ae1957b45f2 +MISC ChangeLog-2015 6547 SHA256 21c4a0c94bb8b435b55eb5452f782eae74b8e9567ff01358ab36c99e6a04ff95 SHA512 34623db3f0a6d2430112de405738c730b3bd3f2f5d464604f3053c0bf1c8a669bc3979dff5b9e4648bcdf1c8697fd6370407fa88810446a1b7776dd9d07e80ef WHIRLPOOL 48ff621ce5a002b09f8b4a798e5a5f38c68ece7c550c72b299ca45db3f6c027247632e92e0289ba6c81c2f309d02e90fd5069d7cae4301555e51ee601c1470a2 +MISC metadata.xml 441 SHA256 c6da58046a5521f66d095d48d22e734fc7979302de949b3ca7c1110b2cbb3590 SHA512 9725ace7bfceff2309f836bf01ab5da588f24da56d85e1130c098353e617945b820b7763cf0932e15e2b5d7ed339929fed26e8defc6a19bcad17235fe01bfc3c WHIRLPOOL 7d4bcd7254890d20724d331882da80fc37dcfe25f2549b991f30e435d88b722b882233c31c022f003ead3761aca3b5a18f595755a10dde1d2fca75d4d9b74d34 diff --git a/app-text/libwpg/libwpg-0.3.1.ebuild b/app-text/libwpg/libwpg-0.3.1.ebuild new file mode 100644 index 000000000000..46042da23141 --- /dev/null +++ b/app-text/libwpg/libwpg-0.3.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit alternatives + +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 ~mips x86" +IUSE="doc static-libs" + +RDEPEND=" + app-text/libwpd:0.10[tools] + dev-libs/librevenge +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_configure() { + econf \ + --disable-werror \ + --program-suffix=-${SLOT} \ + $(use_with doc docs) \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]" +} + +pkg_postrm() { + alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]" +} diff --git a/app-text/libwpg/libwpg-0.3.2.ebuild b/app-text/libwpg/libwpg-0.3.2.ebuild new file mode 100644 index 000000000000..c6a8e938c204 --- /dev/null +++ b/app-text/libwpg/libwpg-0.3.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit alternatives + +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 ~mips ~x86" +IUSE="doc static-libs" + +RDEPEND=" + app-text/libwpd:0.10[tools] + dev-libs/librevenge +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +src_configure() { + econf \ + --disable-werror \ + --program-suffix=-${SLOT} \ + $(use_with doc docs) \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]" +} + +pkg_postrm() { + alternatives_auto_makesym /usr/bin/wpg2svgbatch.pl "/usr/bin/wpg2svgbatch.pl-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2svg "/usr/bin/wpg2svg-[0-9].[0-9]" + alternatives_auto_makesym /usr/bin/wpg2raw "/usr/bin/wpg2raw-[0-9].[0-9]" +} diff --git a/app-text/libwpg/metadata.xml b/app-text/libwpg/metadata.xml new file mode 100644 index 000000000000..f341402a4a4e --- /dev/null +++ b/app-text/libwpg/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">libwpg</remote-id> + </upstream> +</pkgmetadata> |