/[gentoo-x86]/gnome-extra/synapse/synapse-0.2.8.2.ebuild
Gentoo

Contents of /gnome-extra/synapse/synapse-0.2.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Feb 1 10:01:09 2012 UTC (2 years, 5 months ago) by jlec
Branch: MAIN
Changes since 1.2: +8 -4 lines
Move to gnome2.utils usage for maintaining the DE things

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

1 jlec 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jlec 1.3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/synapse-0.2.8.2.ebuild,v 1.2 2012/01/29 18:30:53 jlec Exp $
4 jlec 1.1
5     EAPI=4
6    
7 jlec 1.2 AUTOTOOLS_AUTORECONF=true
8    
9 jlec 1.3 inherit gnome2 autotools-utils gnome2-utils
10 jlec 1.1
11     DESCRIPTION="A program launcher in the style of GNOME Do"
12     HOMEPAGE="http://launchpad.net/synapse-project/"
13     SRC_URI="http://launchpad.net/synapse-project/0.2/${PV}/+download/${P}.tar.gz"
14    
15     LICENSE="GPL-3"
16     SLOT="0"
17     KEYWORDS="~amd64 ~x86"
18     IUSE="ayatana plugins +zeitgeist"
19    
20     RDEPEND="
21     dev-lang/vala:0.12
22     dev-libs/dbus-glib
23     dev-libs/libgee:0
24     dev-libs/libzeitgeist
25     dev-libs/glib:2
26     dev-libs/json-glib
27     dev-libs/libunique:1
28     sys-apps/dbus
29     x11-libs/cairo
30     x11-libs/gdk-pixbuf:2
31     x11-libs/gtkhotkey
32     x11-libs/gtk+:2
33     x11-libs/libnotify
34     x11-libs/pango
35     x11-themes/gnome-icon-theme
36     ayatana? ( dev-libs/libappindicator )
37     plugins? ( net-libs/rest )
38     zeitgeist? (
39     dev-libs/libzeitgeist
40     gnome-extra/zeitgeist[fts]
41     )"
42     DEPEND="${RDEPEND}
43     dev-util/intltool
44     dev-util/pkgconfig"
45    
46 jlec 1.2 PATCHES=(
47     "${FILESDIR}"/synapse-0.2.8.2-underlinking.patch
48     )
49    
50 jlec 1.1 pkg_preinst() {
51     gnome2_icon_savelist
52     }
53    
54     src_prepare() {
55     sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in
56 jlec 1.2 autotools-utils_src_prepare
57 jlec 1.1 }
58    
59     src_configure() {
60 jlec 1.2 local myeconfargs=(
61     $(use_enable ayatana indicator yes)
62     $(use_enable plugins librest yes)
63     $(use_enable zeitgeist)
64     VALAC="$(type -P valac-0.12)"
65     )
66     autotools-utils_src_configure
67 jlec 1.1 }
68    
69 jlec 1.3 pkg_preinst() {
70     gnome2_pkg_preinst
71     }
72    
73 jlec 1.1 pkg_postinst() {
74 jlec 1.3 gnome2_pkg_postinst
75 jlec 1.1 }
76    
77     pkg_postrm() {
78 jlec 1.3 gnome2_pkg_postrm
79 jlec 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20