From 92d5c12bb3f68c19aca9c6dc61f1a1eebc1f977a Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Mon, 11 Aug 2025 05:44:05 +0300
Subject: Revert "trinity-base/kapptemplate: minor cleanup"

This reverts commit 2e17c57e842bd73f6729b9c39a50cfebe50b8186.

Unfortunately the changes in the commit were erroneous and the
manipulations are actually required due to the admin submodule is
actually getting installed by trinity-base/kapptemplate.
---
 trinity-base/kapptemplate/kapptemplate-9999.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/trinity-base/kapptemplate/kapptemplate-9999.ebuild b/trinity-base/kapptemplate/kapptemplate-9999.ebuild
index cfadfddd..cbb1f697 100644
--- a/trinity-base/kapptemplate/kapptemplate-9999.ebuild
+++ b/trinity-base/kapptemplate/kapptemplate-9999.ebuild
@@ -1,11 +1,13 @@
 # Copyright 1999-2020 Gentoo Authors
-# Copyright 2020-2025 The Trinity Desktop Project
+# Copyright 2020 The Trinity Desktop Project
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
 
 TRINITY_MODULE_NAME="tdesdk"
 TRINITY_MODULE_TYPE="core"
+TSM_EXTRACT_ALSO="admin"
+
 inherit trinity-meta-2
 
 DESCRIPTION="Creates a framework to develop a Trinity application"
@@ -21,3 +23,8 @@ DEPEND="
 "
 
 RDEPEND="${DEPEND}"
+
+src_prepare() {
+	trinity-admin-prepare
+	cmake_src_prepare
+}
-- 
cgit v1.2.3

