Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/parcellite/
Date: Sun, 29 Jan 2017 11:15:19
Message-Id: 1485688496.6b8727088a6c89ef7f5deb56f3fdbd927e364490.xmw@gentoo
1 commit: 6b8727088a6c89ef7f5deb56f3fdbd927e364490
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 11:14:56 2017 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 11:14:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b872708
7
8 x11-misc/parcellite: Version bump (bug 607550, thanks Arnaud Vallette d'Osia).
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 x11-misc/parcellite/Manifest | 1 +
13 x11-misc/parcellite/parcellite-1.2.1.ebuild | 50 +++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/x11-misc/parcellite/Manifest b/x11-misc/parcellite/Manifest
17 index bf98770..4bd398b 100644
18 --- a/x11-misc/parcellite/Manifest
19 +++ b/x11-misc/parcellite/Manifest
20 @@ -1 +1,2 @@
21 DIST parcellite-1.1.9.tar.gz 720177 SHA256 cba89585082eebbe848ac1c0023cc71a0184c0db24ebc5f8a21039e46d7f11d4 SHA512 24721dbd4f049f65a40f4e4c6914344062d49dfb50e3cf6496c6f14d9aff02bef5b88d3a714e8176955c84b1324c9ca1f35b389e8033d1232dd3c802c40e32bf WHIRLPOOL ce605b7fdb000840eada03e6c29d9ea86a9a9f1f7461e34206bfd10960967bad3bc7b093ce32a8d337cde07337ebcde5cf041b50bd8785178c4a70426482e130
22 +DIST parcellite-1.2.1.tar.gz 763956 SHA256 aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046 SHA512 14b513e760e205666e00893dffb75ef3d42994aaeca3238b5adbed4af7495a7ed67cfabdcb163024fb9b0a7e832599bb31c54201217ac3fca88e0a4a22deb53d WHIRLPOOL 550faef0a810f9fcbc5d0a26355f9a47836b204a54be7e000d73a3e6193a3b5c1a8d04e31abdc7638bc5d5f4c43b305b292e0552c66e68a763876d0b0a7d65bd
23
24 diff --git a/x11-misc/parcellite/parcellite-1.2.1.ebuild b/x11-misc/parcellite/parcellite-1.2.1.ebuild
25 new file mode 100644
26 index 00000000..f2ef795
27 --- /dev/null
28 +++ b/x11-misc/parcellite/parcellite-1.2.1.ebuild
29 @@ -0,0 +1,50 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +inherit autotools eutils fdo-mime
36 +
37 +MY_P=${PN}-${PV/_}
38 +
39 +DESCRIPTION="A lightweight GTK+ based clipboard manager"
40 +HOMEPAGE="http://parcellite.sourceforge.net/"
41 +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="nls"
47 +
48 +RDEPEND=">=dev-libs/glib-2.14
49 + >=x11-libs/gtk+-2.10:2"
50 +DEPEND="${RDEPEND}
51 + virtual/pkgconfig
52 + nls? (
53 + dev-util/intltool
54 + sys-devel/gettext
55 + )"
56 +
57 +S=${WORKDIR}/${MY_P}
58 +
59 +src_prepare() {
60 + sed -i data/${PN}.desktop.in -e 's:Application;::g' || die
61 +
62 + sed -i -e '/^ALL_LINGUAS=/d' configure.ac || die
63 + strip-linguas -i po/
64 + export ALL_LINGUAS="${LINGUAS}"
65 +
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf $(use_enable nls)
71 +}
72 +
73 +pkg_postinst() {
74 + fdo-mime_desktop_database_update
75 +}
76 +
77 +pkg_postrm() {
78 + fdo-mime_desktop_database_update
79 +}