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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 3 13:54:48 2012 UTC (2 years, 4 months ago) by kensington
Branch: MAIN
Changes since 1.1: +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.6.22.ebuild,v 1.1 2012/05/19 11:21: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 econf \
33 --enable-introspection=no \
34 --localstatedir=/var \
35 --disable-dependency-tracking \
36 --enable-option-checking \
37 --enable-libtool-lock \
38 --disable-strict \
39 --disable-local \
40 --disable-gtk-doc \
41 --disable-command-not-found \
42 --disable-debuginfo-install \
43 --disable-gstreamer-plugin \
44 --disable-service-packs \
45 --disable-man-pages \
46 --disable-cron \
47 --disable-gtk-module \
48 --disable-networkmanager \
49 --disable-browser-plugin \
50 --disable-pm-utils \
51 --disable-device-rebind \
52 --disable-tests \
53 --enable-qt
54 }
55
56 src_compile() {
57 for qtdir in packagekit-qt packagekit-qt2; do
58 cd "${S}"/lib/${qtdir} || die
59 # fix buildsystem, let the build system regenerate the damn .moc files
60 if [[ "${qtdir}" = "packagekit-qt" ]]; then
61 rm src/*.moc || die
62 else
63 rm *.moc || die
64 fi
65 emake || die "emake install failed"
66 done
67 }
68
69 src_install() {
70 for qtdir in packagekit-qt packagekit-qt2; do
71 cd "${S}"/lib/${qtdir} || die
72 emake DESTDIR="${D}" install || die "emake install failed"
73 done
74 }

  ViewVC Help
Powered by ViewVC 1.1.20