gentoo/lxqt-base/lxqt-common/lxqt-common-0.11.2.ebuild

26 lines
662 B
Bash
Raw Normal View History

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="LXQt common resources"
HOMEPAGE="https://lxqt.org/"
SRC_URI="https://github.com/lxqt/lxqt-common-deprecated/releases/download/${PV}/${P}.tar.xz"
2018-04-11 18:33:36 +02:00
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
LICENSE="LGPL-2.1+"
SLOT="0"
DEPEND=">=lxqt-base/liblxqt-0.11.1"
RDEPEND="${DEPEND}"
PDEPEND=">=lxqt-base/lxqt-session-0.11.1"
src_prepare() {
sed -e 's:#INSTALL_SESSION_FILES("/etc:INSTALL_SESSION_FILES("/etc:' \
-i xsession/CMakeLists.txt \
|| die "Failed to fix install rule for Session file"
cmake-utils_src_prepare
}