commit:     6b8727088a6c89ef7f5deb56f3fdbd927e364490
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 11:14:56 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 11:14:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b872708

x11-misc/parcellite: Version bump (bug 607550, thanks Arnaud Vallette d'Osia).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 x11-misc/parcellite/Manifest                |  1 +
 x11-misc/parcellite/parcellite-1.2.1.ebuild | 50 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/x11-misc/parcellite/Manifest b/x11-misc/parcellite/Manifest
index bf98770..4bd398b 100644
--- a/x11-misc/parcellite/Manifest
+++ b/x11-misc/parcellite/Manifest
@@ -1 +1,2 @@
 DIST parcellite-1.1.9.tar.gz 720177 SHA256 
cba89585082eebbe848ac1c0023cc71a0184c0db24ebc5f8a21039e46d7f11d4 SHA512 
24721dbd4f049f65a40f4e4c6914344062d49dfb50e3cf6496c6f14d9aff02bef5b88d3a714e8176955c84b1324c9ca1f35b389e8033d1232dd3c802c40e32bf
 WHIRLPOOL 
ce605b7fdb000840eada03e6c29d9ea86a9a9f1f7461e34206bfd10960967bad3bc7b093ce32a8d337cde07337ebcde5cf041b50bd8785178c4a70426482e130
+DIST parcellite-1.2.1.tar.gz 763956 SHA256 
aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046 SHA512 
14b513e760e205666e00893dffb75ef3d42994aaeca3238b5adbed4af7495a7ed67cfabdcb163024fb9b0a7e832599bb31c54201217ac3fca88e0a4a22deb53d
 WHIRLPOOL 
550faef0a810f9fcbc5d0a26355f9a47836b204a54be7e000d73a3e6193a3b5c1a8d04e31abdc7638bc5d5f4c43b305b292e0552c66e68a763876d0b0a7d65bd

diff --git a/x11-misc/parcellite/parcellite-1.2.1.ebuild 
b/x11-misc/parcellite/parcellite-1.2.1.ebuild
new file mode 100644
index 00000000..f2ef795
--- /dev/null
+++ b/x11-misc/parcellite/parcellite-1.2.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils fdo-mime
+
+MY_P=${PN}-${PV/_}
+
+DESCRIPTION="A lightweight GTK+ based clipboard manager"
+HOMEPAGE="http://parcellite.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=dev-libs/glib-2.14
+       >=x11-libs/gtk+-2.10:2"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+       sed -i data/${PN}.desktop.in -e 's:Application;::g' || die
+
+       sed -i -e '/^ALL_LINGUAS=/d' configure.ac || die
+       strip-linguas -i po/
+       export ALL_LINGUAS="${LINGUAS}"
+
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable nls)
+}
+
+pkg_postinst() {
+       fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+       fdo-mime_desktop_database_update
+}

Reply via email to