# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cmake-utils eutils DESCRIPTION="GUI configuration tool for the compton X composite manager" HOMEPAGE="http://github.com/lxde/compton-conf" if [[ ${PV} == *9999 ]];then inherit git-r3 SRC_URI="" EGIT_REPO_URI="${HOMEPAGE}" KEYWORDS="" else SRC_URI="${HOMEPAGE}/releases/download/${PV}/${P}.tar.xz" KEYWORDS="~x86 ~amd64 ~ppc ~arm" fi LICENSE="LGPL-2.1" SLOT="0" IUSE="" DEPEND=" || ( x11-misc/compton x11-misc/compton-garnetius ) lxqt-base/lxqt-build-tools dev-qt/qtcore:5 dev-libs/libconfig " RDEPEND="${DEPEND}" src_prepare(){ eapply "${FILESDIR}/desktop_entry.patch" eapply "${FILESDIR}/${PN}-r1.patch" eapply_user } src_configure(){ local mycmakeargs=( -DCMAKE_INSTALL_PREFIX=/usr ) cmake-utils_src_configure } src_install() { cmake-utils_src_install rm -rf "${D}"/usr/share/"${PN}" }