/[gentoo-x86]/x11-misc/parcellite/parcellite-1.0.2_rc5-r1.ebuild
Gentoo

Contents of /x11-misc/parcellite/parcellite-1.0.2_rc5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 28 15:50:45 2012 UTC (2 years, 2 months ago) by jer
Branch: MAIN
Add LINGUAS support so that USE=nls actually makes sense.

(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/parcellite/parcellite-1.0.2_rc5.ebuild,v 1.5 2012/09/28 14:57:59 jer Exp $
4
5 EAPI=4
6 inherit autotools eutils fdo-mime
7
8 MY_P=${PN}-${PV/_}
9
10 DESCRIPTION="A lightweight GTK+ based clipboard manager."
11 HOMEPAGE="http://parcellite.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="nls"
18
19 PL_LINGUAS="ca cs da de es fr hu it ja nb pl pl_PL pt_BR ro ru sv tr zh_CN"
20 for lingua in ${PL_LINGUAS}; do
21 IUSE+=" linguas_${lingua}"
22 done
23
24 RDEPEND=">=dev-libs/glib-2.14
25 >=x11-libs/gtk+-2.10:2"
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig
28 nls? (
29 dev-util/intltool
30 sys-devel/gettext
31 )"
32
33 S=${WORKDIR}/${MY_P}
34
35 src_prepare() {
36 epatch "${FILESDIR}"/${P}-glib-2.31.patch
37 eautoreconf
38 }
39
40 src_configure() {
41 econf $(use_enable nls)
42 }
43
44 pkg_postinst() {
45 fdo-mime_desktop_database_update
46 }
47
48 pkg_postrm() {
49 fdo-mime_desktop_database_update
50 }

  ViewVC Help
Powered by ViewVC 1.1.20