From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DA7001388C1 for ; Tue, 29 Dec 2015 22:37:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 129AA21C02D; Tue, 29 Dec 2015 22:37:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8295221C031 for ; Tue, 29 Dec 2015 22:37:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69D893407E6 for ; Tue, 29 Dec 2015 22:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1938CF5 for ; Tue, 29 Dec 2015 22:13:44 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1451427212.75379df2e54ae626b03169819990e40e573c08f4.mrueg@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.1.ebuild X-VCS-Directories: app-text/libwpg/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 75379df2e54ae626b03169819990e40e573c08f4 X-VCS-Branch: master Date: Tue, 29 Dec 2015 22:13:44 +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: 5091f5a2-ae4a-4809-abc1-d9a0bba8423c X-Archives-Hash: 8627a69cf61727597505991b89f022e4 commit: 75379df2e54ae626b03169819990e40e573c08f4 Author: Manuel Rüger gentoo org> AuthorDate: Tue Dec 29 22:13:32 2015 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Dec 29 22:13:32 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75379df2 app-text/libwpg: Version bump Package-Manager: portage-2.2.26 app-text/libwpg/Manifest | 1 + app-text/libwpg/libwpg-0.3.1.ebuild | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/app-text/libwpg/Manifest b/app-text/libwpg/Manifest index e95d458..ee2851f 100644 --- a/app-text/libwpg/Manifest +++ b/app-text/libwpg/Manifest @@ -1,2 +1,3 @@ DIST libwpg-0.2.2.tar.xz 301000 SHA256 b49bfd77b9447534dee0d43bbdc48b4dcb09339605be21c01726243d5069a6cd SHA512 d60f8c0d29f7dbde2592d2afce1ccbe01ab10be4051d048fca0a2234f488a2764af2134ccf9ca150767d769d17dcd010433a3d977457b3a521be8f0dc628e65c WHIRLPOOL a52b90bd4c9aea2b72f615bcaaa43445dc72dad7e23f8f4667912ac3a95b729a7910b0c7608b3b47fd23a19399c72bb792432243e312d767d67c43b5c170e2f6 DIST libwpg-0.3.0.tar.xz 300244 SHA256 6f709199235f4c061c3ffe1a5112ce6430e8434e621bf7b3e3dca16114eaf224 SHA512 5715a38f7c2b69123056288576073aa36a97f971a749cffb1b176a5c4a9f7da0b6568cdf62fc4e8ebd8204b681200c1a64e5e52cfd127af986580720914f973e WHIRLPOOL db0876540fde7533f1b73b4bd1cf08c09c9d845b822fcfa7a7d375014aee597aace4c5e4662c61449cd4c09747db4013ff225acd66c33b492d6348b7243945dc +DIST libwpg-0.3.1.tar.xz 316576 SHA256 620d888c10d7e1127d5123ff0065f1b62b86b91bac27d8ae10dcfbdb6bf4278f SHA512 5222609510857d32250e25b1108ecf4c0ce1e58fba280b7c15d400bc8963112adaa9fffa3c21087d4984ec52176d69b30bfc9460ffef978d6b0d7ccc400063b2 WHIRLPOOL c35c51b5098757a0de9a1288d185708775d4ecc2b69ad76e818df5308ec1cbcb870552d45edfe011f65aff141e12656bf98a8ce5207fc0f12ecbc9c705afb3e2 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 0000000..a336154 --- /dev/null +++ b/app-text/libwpg/libwpg-0.3.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit alternatives eutils + +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 ~hppa ~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} \ + --docdir="${EPREFIX%/}/usr/share/doc/${PF}" \ + $(use_with doc docs) \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files --all +} + +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]" +}