/[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.1 - (hide annotations) (download)
Sun May 4 07:16:23 2014 UTC (5 years, 9 months ago) by mgorny
Branch: MAIN
Version bump.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

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

  ViewVC Help
Powered by ViewVC 1.1.20