/[gentoo-x86]/app-admin/packagekit-qt4/packagekit-qt4-0.7.4.ebuild
Gentoo

Contents of /app-admin/packagekit-qt4/packagekit-qt4-0.7.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Sep 3 13:54:48 2012 UTC (2 years ago) by kensington
Branch: MAIN
Changes since 1.2: +4 -4 lines
Add missing slot dependencies on Qt.

(Portage version: 2.1.11.13/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/app-admin/packagekit-qt4/packagekit-qt4-0.7.4.ebuild,v 1.2 2012/07/20 13:40:30 lxnay Exp $
4
5 EAPI="3"
6
7 inherit eutils base
8
9 MY_PN="PackageKit"
10 MY_P=${MY_PN}-${PV}
11
12 DESCRIPTION="Qt4 PackageKit backend library"
13 HOMEPAGE="http://www.packagekit.org/"
14 SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~arm ~x86"
19 IUSE=""
20
21 RDEPEND=">=x11-libs/qt-core-4.4.0:4
22 >=x11-libs/qt-dbus-4.4.0:4
23 >=x11-libs/qt-sql-4.4.0:4
24 ~app-admin/packagekit-base-${PV}"
25 DEPEND="${RDEPEND}
26 dev-libs/libxslt
27 virtual/pkgconfig"
28
29 S="${WORKDIR}/${MY_P}"
30
31 src_configure() {
32 # http://pkgs.fedoraproject.org/gitweb/?p=PackageKit.git;a=commit;h=0b378668288db34890b82c7be007fc76c7fcd956
33 sed -i -e '/polkit-backend-1/d' configure || die #423431
34 econf \
35 --enable-introspection=no \
36 --localstatedir=/var \
37 --disable-dependency-tracking \
38 --enable-option-checking \
39 --enable-libtool-lock \
40 --disable-strict \
41 --disable-local \
42 --disable-gtk-doc \
43 --disable-command-not-found \
44 --disable-debuginfo-install \
45 --disable-gstreamer-plugin \
46 --disable-service-packs \
47 --disable-man-pages \
48 --disable-cron \
49 --disable-gtk-module \
50 --disable-networkmanager \
51 --disable-browser-plugin \
52 --disable-pm-utils \
53 --disable-device-rebind \
54 --disable-tests \
55 --enable-qt
56 }
57
58 src_compile() {
59 local qtdir=packagekit-qt2
60 cd "${S}"/lib/${qtdir} || die
61 emake || die "emake install failed"
62 }
63
64 src_install() {
65 local qtdir=packagekit-qt2
66 cd "${S}"/lib/${qtdir} || die
67 emake DESTDIR="${D}" install || die "emake install failed"
68 }

  ViewVC Help
Powered by ViewVC 1.1.20