summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-09-22 01:46:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-09-22 02:13:34 +0200
commitfb58329052c50e3fde85e5c4433f43b5d0dfd7cf (patch)
treef4364599292d03073ce42262215ac7b38353a2d7
parent9a1c115c2dad68e2f3ebf0705a444972bba875f5 (diff)
downloadtde-packaging-gentoo-fb58329052c50e3fde85e5c4433f43b5d0dfd7cf.tar.gz
tde-packaging-gentoo-fb58329052c50e3fde85e5c4433f43b5d0dfd7cf.zip
trinity-apps/kgtk-qt3: Add missing metadata.xml, Copyright, IUSE=gtk2->gtk
- Adapt IUSE=gtk2->gtk according to Gnome team policies - Sort IUSE, DEPENDs - local mycmakeargs Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-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>