/[gentoo-x86]/sys-apps/systemd-ui/systemd-ui-3.ebuild
Gentoo

Contents of /sys-apps/systemd-ui/systemd-ui-3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Oct 12 04:34:41 2014 UTC (5 years, 4 months ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Bump gtk+:2 deps to gtk+:3, since that's what is required now.

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 mgorny 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 zmedico 1.3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd-ui/systemd-ui-3.ebuild,v 1.2 2014/05/04 08:07:01 pacho Exp $
4 mgorny 1.1
5 pacho 1.2 EAPI=5
6 mgorny 1.1
7     # Needed per https://bugs.freedesktop.org/show_bug.cgi?id=69643#c5
8     VALA_MIN_API_VERSION=0.22
9    
10     inherit autotools-utils systemd vala
11    
12     DESCRIPTION="System and service manager for Linux"
13     HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
14     SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18     KEYWORDS="~amd64 ~x86"
19     IUSE=""
20    
21     RDEPEND="
22     !sys-apps/systemd[gtk]
23     >=dev-libs/glib-2.26:2
24     dev-libs/libgee:0.8
25     sys-apps/dbus
26 zmedico 1.3 x11-libs/gtk+:3
27 mgorny 1.1 >=x11-libs/libnotify-0.7
28     "
29     DEPEND="${RDEPEND}
30     app-arch/xz-utils
31     $(vala_depend)
32     "
33    
34     # Due to vala being broken.
35     AUTOTOOLS_IN_SOURCE_BUILD=1
36    
37 pacho 1.2 PATCHES=( "${FILESDIR}/${P}-vala-0.24.patch" )
38    
39 mgorny 1.1 src_prepare() {
40     # Force the rebuild of .vala sources
41     touch src/*.vala || die
42    
43     # Fix hardcoded path in .vala.
44     sed -i -e "s^/lib/systemd^$(systemd_get_utildir)^g" src/*.vala || die
45    
46     autotools-utils_src_prepare
47     vala_src_prepare
48     }

  ViewVC Help
Powered by ViewVC 1.1.20