From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A1961396D1 for ; Sun, 8 Oct 2017 19:08:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5959BE0FBF; Sun, 8 Oct 2017 19:08:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25EE6E0FBF for ; Sun, 8 Oct 2017 19:08:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC35233BE25 for ; Sun, 8 Oct 2017 19:08:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90AE583F7 for ; Sun, 8 Oct 2017 19:08:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1507489693.5757a45d9cb9bd75bcf8d843f7847235aed0ca33.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libwpg/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libwpg/Manifest app-text/libwpg/libwpg-0.3.2.ebuild X-VCS-Directories: app-text/libwpg/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5757a45d9cb9bd75bcf8d843f7847235aed0ca33 X-VCS-Branch: master Date: Sun, 8 Oct 2017 19:08:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 76a6986f-b03b-4c50-bd41-31b9b2456d0b X-Archives-Hash: 4b258e558ee7dd04508e64fa1b7763c6 commit: 5757a45d9cb9bd75bcf8d843f7847235aed0ca33 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Oct 8 18:07:53 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Oct 8 19:08:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5757a45d app-text/libwpg: 0.3.2 version bump Package-Manager: Portage-2.3.11, Repoman-2.3.3 app-text/libwpg/Manifest | 1 + app-text/libwpg/libwpg-0.3.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-text/libwpg/Manifest b/app-text/libwpg/Manifest index 97b268172f7..7fdd1034327 100644 --- a/app-text/libwpg/Manifest +++ b/app-text/libwpg/Manifest @@ -1 +1,2 @@ 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 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 00000000000..c6a8e938c20 --- /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]" +}