1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PLUGINS_HASH="5dc169ce81002b4472cc55c0341f6ac52fe130f5"
7 inherit cmake-utils gnome2-utils
9 DESCRIPTION="Desktop agnostic launcher"
10 HOMEPAGE="https://albertlauncher.github.io/"
11 # plugins is a git submodule. the hash is taken from the submodule reference in the ${PV} tag.
12 SRC_URI="https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
13 https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${P}-plugins.tar.gz"
25 dev-qt/qtdeclarative:5
28 dev-qt/qtsql:5[sqlite]
37 PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
40 mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
42 cmake-utils_src_prepare
47 -DBUILD_DEBUG=$(usex debug)
48 -DBUILD_PYTHON=OFF #plugin directory is empty causing build failure
49 -DBUILD_VIRTUALBOX=OFF #plugin needs virtualbox installed to build, untested
52 cmake-utils_src_configure
56 gnome2_icon_cache_update
60 gnome2_icon_cache_update