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.
gentoo-overlay/dev-libs/sni-qt/sni-qt-0.2.6-r1.ebuild

42 lines
923 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-multilib
DESCRIPTION="A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems"
HOMEPAGE="https://launchpad.net/sni-qt"
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE="test"
RDEPEND="
dev-libs/libdbusmenu-qt[qt4,${MULTILIB_USEDEP}]
>=dev-qt/qtcore-4.8.6:4[${MULTILIB_USEDEP}]
>=dev-qt/qtdbus-4.8.6:4[${MULTILIB_USEDEP}]
>=dev-qt/qtgui-4.8.6:4[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( >=dev-qt/qttest-4.8.6:4[${MULTILIB_USEDEP}] )
"
src_prepare() {
if ! use test ; then
comment_add_subdirectory tests/auto
fi
cmake-utils_src_prepare
}
multilib_src_configure() {
local mycmakeargs=(
-DQT_QMAKE_EXECUTABLE="/usr/$(get_libdir)/qt4/bin/qmake"
)
cmake-utils_src_configure
}