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

Contents of /gnome-extra/synapse/synapse-0.2.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 14 13:21:19 2015 UTC (3 years ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Apply opensuse and Arch patches to fix support for current gnome, newer vala and newer libgee (#527854)

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/synapse/synapse-0.2.10.ebuild,v 1.9 2014/01/19 15:20:08 jlec Exp $
4
5 EAPI=5
6 GCONF_DEBUG="no" # gnome2_src_configure is not being used
7 AUTOTOOLS_AUTORECONF=true
8
9 inherit gnome2 autotools-utils vala
10
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/${PV%.*}/${PV}/+download/${P}.tar.gz"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 # "ayatana" support pending on GTK+-3.x version of synapse wrt #411613
19 IUSE="plugins +zeitgeist"
20
21 RDEPEND="
22 dev-libs/libgee:0.8
23 dev-libs/glib:2
24 dev-libs/json-glib
25 dev-libs/libunique:1
26 sys-apps/dbus
27 x11-libs/cairo
28 x11-libs/gdk-pixbuf:2
29 x11-libs/gtkhotkey
30 x11-libs/gtk+:2
31 x11-libs/libnotify
32 x11-libs/pango
33 x11-themes/gnome-icon-theme
34 plugins? ( net-libs/rest )
35 zeitgeist? (
36 dev-libs/libzeitgeist
37 gnome-extra/zeitgeist
38 gnome-extra/zeitgeist-extensions
39 || ( gnome-extra/zeitgeist[fts] gnome-extra/zeitgeist-extensions[fts] )
40 )"
41 #ayatana? ( dev-libs/libappindicator )
42 DEPEND="${RDEPEND}
43 $(vala_depend)
44 dev-util/intltool
45 virtual/pkgconfig"
46
47 PATCHES=(
48 "${FILESDIR}"/${PN}-0.2.8.2-underlinking.patch
49
50 # Don't crash on empty string (from Arch)
51 "${FILESDIR}"/${PN}-0.2.10-check-null-exec.patch
52
53 # XDG_CURRENT_DESKTOP fix (from Arch)
54 "${FILESDIR}"/${PN}-0.2.10-fix-check-desktop.patch
55
56 # Fix newer gnome support (from OpenSuSE)
57 "${FILESDIR}"/${PN}-0.2.10-gnome-3.10.patch
58
59 # Port to gee-0.8 (from Arch)
60 "${FILESDIR}"/${PN}-0.2.10-libgee-0.8.patch
61
62 # Fix border painting (from OpenSuSE)
63 "${FILESDIR}"/${PN}-0.2.10-fix-border-painting.patch
64
65 "${FILESDIR}"/${PN}-0.2.10-zeitgeist.patch
66 )
67
68 src_prepare() {
69 sed -i -e 's/GNOME/GNOME;GTK/' data/synapse.desktop.in || die
70 vala_src_prepare
71 autotools-utils_src_prepare
72 }
73
74 src_configure() {
75 local myeconfargs=(
76 --enable-indicator=no
77 $(use_enable plugins librest yes)
78 $(use_enable zeitgeist)
79 )
80 autotools-utils_src_configure
81 }

  ViewVC Help
Powered by ViewVC 1.1.20