summaryrefslogtreecommitdiffstats
path: root/trinity-apps
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps')
-rw-r--r--trinity-apps/kshutdown/kshutdown-9999.ebuild15
-rw-r--r--trinity-apps/kshutdown/metadata.xml3
2 files changed, 11 insertions, 7 deletions
diff --git a/trinity-apps/kshutdown/kshutdown-9999.ebuild b/trinity-apps/kshutdown/kshutdown-9999.ebuild
index c13c4414..7ecd92d2 100644
--- a/trinity-apps/kshutdown/kshutdown-9999.ebuild
+++ b/trinity-apps/kshutdown/kshutdown-9999.ebuild
@@ -1,35 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
+
TRINITY_MODULE_TYPE="applications"
TRINITY_EXTRAGEAR_PACKAGING="yes"
TRINITY_HANDBOOK="optional"
TRINITY_LANGS="ar bg cs de es fr hu it nl pl pt_BR ru sk sv tr zh_CN"
-
-TRINITY_DOC_LANGS="de"
+TRINITY_DOC_LANGS="de"
inherit trinity-base-2
DESCRIPTION="A graphical shutdown utility for TDE"
HOMEPAGE="https://trinitydesktop.org/"
-LICENSE="|| ( GPL-2 GPL-3 )"
need-trinity
+LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="${TRINITY_VER}"
-
IUSE+=" extras"
RDEPEND+="
- ~trinity-base/tdesu-${PV}
~trinity-base/kcontrol-${PV}
- ~trinity-base/kdialog-${PV}"
+ ~trinity-base/kdialog-${PV}
+ ~trinity-base/tdesu-${PV}
+"
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DBUILD_TRANSLATIONS=ON
-DBUILD_EXTRAS="$(usex extras)"
)
diff --git a/trinity-apps/kshutdown/metadata.xml b/trinity-apps/kshutdown/metadata.xml
index 7a38bb90..68b1c756 100644
--- a/trinity-apps/kshutdown/metadata.xml
+++ b/trinity-apps/kshutdown/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+ <use>
+ <flag name="extras">Build extras (no extra dependencies)</flag>
+ </use>
</pkgmetadata>