summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild16
-rw-r--r--trinity-apps/kgtk-qt3/metadata.xml9
2 files changed, 17 insertions, 8 deletions
diff --git a/trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild b/trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild
index 683b3e69..ed16a5b6 100644
--- a/trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild
+++ b/trinity-apps/kgtk-qt3/kgtk-qt3-9999.ebuild
@@ -1,37 +1,37 @@
+# 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="cs de es en_GB fr nl pl pt_BR ru zh_CN"
-
inherit trinity-base-2
-DESCRIPTION="TDE dialogs in GTK 2.x applications "
+DESCRIPTION="TDE dialogs in GTK 2.x applications"
HOMEPAGE="https://trinitydesktop.org/"
-LICENSE="|| ( GPL-2 GPL-3 )"
need-trinity
+LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="${TRINITY_VER}"
-
-IUSE+=" tqt tde gtk2"
+IUSE+=" gtk tde tqt"
DEPEND+="
+ gtk? ( x11-libs/gtk+:2 )
tqt? ( ~dev-tqt/tqtinterface-${PV} )
- gtk2? ( x11-libs/gtk+:2 )
"
RDEPEND+=" ${DEPEND}"
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DBUILD_KGTK_TQT="$(usex tqt)"
-DBUILD_KGTK_TDE="$(usex tde)"
- -DBUILD_KGTK_GTK2="$(usex gtk2)"
+ -DBUILD_KGTK_GTK2="$(usex gtk)"
)
trinity-base-2_src_configure
diff --git a/trinity-apps/kgtk-qt3/metadata.xml b/trinity-apps/kgtk-qt3/metadata.xml
new file mode 100644
index 00000000..0d52c839
--- /dev/null
+++ b/trinity-apps/kgtk-qt3/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="tde">Enable BUILD_KGTK_TDE cmake flag (no extra dependencies)</flag>
+ <flag name="tqt">Enable tqt support via <pkg>dev-tqt/tqtinterface</pkg></flag>
+ </use>
+</pkgmetadata>