You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
769 B
48 lines
769 B
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
inherit cmake-utils
|
|
|
|
MY_PN="PackageKit-Qt"
|
|
MY_P=${MY_PN}-${PV}
|
|
|
|
DESCRIPTION="Qt PackageKit backend library"
|
|
HOMEPAGE="http://www.packagekit.org/"
|
|
SRC_URI="http://www.freedesktop.org/software/PackageKit/releases/${MY_P}.tar.xz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="qt5"
|
|
|
|
RDEPEND="
|
|
>=app-admin/packagekit-base-0.9
|
|
!qt5? (
|
|
dev-qt/qtcore:4
|
|
dev-qt/qtdbus:4
|
|
dev-qt/qtsql:4
|
|
)
|
|
qt5? (
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtdbus:5
|
|
dev-qt/qtsql:5
|
|
)
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-libs/libxslt
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DUSE_QT5=$(usex qt5)
|
|
)
|
|
|
|
cmake-utils_src_configure
|
|
}
|