# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cmake-utils gnome2-utils git-r3 DESCRIPTION="Desktop agnostic launcher" HOMEPAGE="https://albertlauncher.github.io/" EGIT_REPO_URI="https://github.com/albertlauncher/albert.git" EGIT_COMMIT="v${PV}" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64" IUSE="debug" # https://albertlauncher.github.io/docs/installing/ says to check dockerfile below for latest deps # https://raw.githubusercontent.com/albertlauncher/albert/dev/Dockerfile.ubuntu1804 RDEPEND=" app-arch/unzip dev-cpp/muParser dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtcharts:5 dev-qt/qtdeclarative:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtsql:5[sqlite] dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 net-misc/wget sci-libs/libqalculate x11-libs/libX11 x11-libs/libXext " DEPEND="${RDEPEND}" src_prepare() { cmake-utils_src_prepare } src_configure() { local mycmakeargs=( -DBUILD_DEBUG=$(usex debug) -DBUILD_VIRTUALBOX=OFF #plugin needs virtualbox installed to build, untested ) cmake-utils_src_configure } pkg_postinst() { gnome2_icon_cache_update } pkg_postrm() { gnome2_icon_cache_update }