2018-04-11 17:34:35 +02:00
|
|
|
# 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/"
|
|
|
|
|
2018-04-12 00:01:24 +02:00
|
|
|
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"
|
2018-04-11 17:34:35 +02:00
|
|
|
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND=">=lxqt-base/liblxqt-0.11.1"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PDEPEND=">=lxqt-base/lxqt-session-0.11.1"
|
|
|
|
|
2018-04-12 13:22:35 +02:00
|
|
|
src_prepare() {
|
2018-04-12 14:04:26 +02:00
|
|
|
sed -e 's:#INSTALL_SESSION_FILES("/etc:INSTALL_SESSION_FILES("${CMAKE_INSTALL_SYSCONFDIR}:' \
|
2018-04-12 13:22:35 +02:00
|
|
|
-i xsession/CMakeLists.txt \
|
|
|
|
|| die "Failed to fix install rule for Session file"
|
|
|
|
cmake-utils_src_prepare
|
2018-04-11 17:34:35 +02:00
|
|
|
}
|