public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-qt/kdsingleapplication/
@ 2024-02-06 15:02 Ronny Gutbrod
  0 siblings, 0 replies; 3+ messages in thread
From: Ronny Gutbrod @ 2024-02-06 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     9e455080cdeb1086004b863259f07883e4ceda01
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Feb  6 13:19:38 2024 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Feb  6 13:29:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e455080

dev-qt/kdsingleapplication: fix build deps with USE=doc

Closes: https://bugs.gentoo.org/923875
Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild b/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
index 65a5203fdf..87116dadbf 100644
--- a/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
+++ b/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
@@ -27,7 +27,11 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="
 	doc? (
-		app-text/doxygen
+		app-text/doxygen[dot]
+		dev-qt/qthelp:5
+		qt6? (
+			dev-qt/qttools:6[assistant]
+		)
 	)
 	examples? (
 		dev-util/patchelf


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-qt/kdsingleapplication/
@ 2024-03-13  1:32 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-03-13  1:32 UTC (permalink / raw
  To: gentoo-commits

commit:     bd1948c13170168f2d5bada8bf71bc2466f0643c
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 01:31:39 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Mar 13 01:31:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd1948c1

dev-qt/kdsingleapplication: treeclean, moved to ::gentoo

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 dev-qt/kdsingleapplication/Manifest                |  1 -
 .../kdsingleapplication-1.1.0.ebuild               | 96 ----------------------
 dev-qt/kdsingleapplication/metadata.xml            | 11 ---
 3 files changed, 108 deletions(-)

diff --git a/dev-qt/kdsingleapplication/Manifest b/dev-qt/kdsingleapplication/Manifest
deleted file mode 100644
index 934377590f..0000000000
--- a/dev-qt/kdsingleapplication/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST kdsingleapplication-1.1.0.tar.gz 73558 BLAKE2B 26eda1d7a9a48f6167db9d2d7cd143ab45a08e96eef277cf1099c1ed24528f56ec54e8ab44671e7584937dc21d3437b15c033991e48fafd8b9fab10473e07864 SHA512 61b34a36b05c58ede881f38d78c767726f8e23dc230e292568013fa428f50ff674f7eb12bc4d76ceaa9ef444264b2e86d95ab14cc41c6a275bf917edb8832c1f

diff --git a/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild b/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
deleted file mode 100644
index 87116dadbf..0000000000
--- a/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake multibuild
-
-DESCRIPTION="KDAB's helper class for single-instance policy applications"
-HOMEPAGE="https://github.com/KDAB/KDSingleApplication"
-SRC_URI="https://github.com/KDAB/KDSingleApplication/releases/download/v${PV}/kdsingleapplication-${PV}.tar.gz"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="doc examples test qt6"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	dev-qt/qtcore:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtwidgets:5
-	qt6? (
-		dev-qt/qtbase:6[network,widgets]
-	)
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	doc? (
-		app-text/doxygen[dot]
-		dev-qt/qthelp:5
-		qt6? (
-			dev-qt/qttools:6[assistant]
-		)
-	)
-	examples? (
-		dev-util/patchelf
-	)
-	dev-qt/qttest:5
-"
-
-pkg_setup() {
-	MULTIBUILD_VARIANTS=( qt5 $(usev qt6) )
-}
-
-src_configure() {
-	myconfigure() {
-		local mycmakeargs=(
-			-DINSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
-		)
-		if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then
-			mycmakeargs+=(
-				-DKDSingleApplication_DOCS=OFF
-				-DKDSingleApplication_EXAMPLES=OFF
-				-DKDSingleApplication_QT6=ON
-				-DKDSingleApplication_TESTS=OFF
-			)
-		else
-			mycmakeargs+=(
-				-DKDSingleApplication_DOCS=$(usex doc)
-				-DKDSingleApplication_EXAMPLES=$(usex examples)
-				-DKDSingleApplication_QT6=OFF
-				-DKDSingleApplication_TESTS=$(usex test)
-			)
-		fi
-		cmake_src_configure
-	}
-	multibuild_foreach_variant myconfigure
-}
-
-src_compile() {
-	multibuild_foreach_variant cmake_src_compile
-}
-
-src_test() {
-	mytest() {
-		[[ ${MULTIBUILD_VARIANT} == qt5 ]] && cmake_src_test
-	}
-	multibuild_foreach_variant mytest
-}
-
-src_install() {
-	myinstall() {
-		cmake_src_install
-		if [[ ${MULTIBUILD_VARIANT} == qt5 ]]; then
-			rm -rf "${BUILD_DIR}"/docs/api/html/examples || die
-			use doc && HTML_DOCS="${BUILD_DIR}/docs/api/html/*"
-			if use examples; then
-				patchelf --remove-rpath "${BUILD_DIR}"/bin/widgetsingleapplication || die
-				dobin "${BUILD_DIR}"/bin/widgetsingleapplication
-			fi
-		fi
-	}
-	multibuild_foreach_variant myinstall
-	einstalldocs
-}

diff --git a/dev-qt/kdsingleapplication/metadata.xml b/dev-qt/kdsingleapplication/metadata.xml
deleted file mode 100644
index 3c770d13ee..0000000000
--- a/dev-qt/kdsingleapplication/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>gentoo@tastytea.de</email>
-		<name>tastytea</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">KDAB/KDSingleApplication</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-qt/kdsingleapplication/
@ 2024-02-02  0:38 Ronny Gutbrod
  0 siblings, 0 replies; 3+ messages in thread
From: Ronny Gutbrod @ 2024-02-02  0:38 UTC (permalink / raw
  To: gentoo-commits

commit:     3fb55a779c07995d0cf9b89f11ff6e45f0c46068
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Feb  1 16:49:14 2024 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri Feb  2 00:20:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3fb55a77

dev-qt/kdsingleapplication: new package, add 1.1.0

Co-developed-by: parona on matrix
Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-qt/kdsingleapplication/Manifest                |  1 +
 .../kdsingleapplication-1.1.0.ebuild               | 92 ++++++++++++++++++++++
 dev-qt/kdsingleapplication/metadata.xml            | 11 +++
 3 files changed, 104 insertions(+)

diff --git a/dev-qt/kdsingleapplication/Manifest b/dev-qt/kdsingleapplication/Manifest
new file mode 100644
index 0000000000..934377590f
--- /dev/null
+++ b/dev-qt/kdsingleapplication/Manifest
@@ -0,0 +1 @@
+DIST kdsingleapplication-1.1.0.tar.gz 73558 BLAKE2B 26eda1d7a9a48f6167db9d2d7cd143ab45a08e96eef277cf1099c1ed24528f56ec54e8ab44671e7584937dc21d3437b15c033991e48fafd8b9fab10473e07864 SHA512 61b34a36b05c58ede881f38d78c767726f8e23dc230e292568013fa428f50ff674f7eb12bc4d76ceaa9ef444264b2e86d95ab14cc41c6a275bf917edb8832c1f

diff --git a/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild b/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
new file mode 100644
index 0000000000..65a5203fdf
--- /dev/null
+++ b/dev-qt/kdsingleapplication/kdsingleapplication-1.1.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake multibuild
+
+DESCRIPTION="KDAB's helper class for single-instance policy applications"
+HOMEPAGE="https://github.com/KDAB/KDSingleApplication"
+SRC_URI="https://github.com/KDAB/KDSingleApplication/releases/download/v${PV}/kdsingleapplication-${PV}.tar.gz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="doc examples test qt6"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtwidgets:5
+	qt6? (
+		dev-qt/qtbase:6[network,widgets]
+	)
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	doc? (
+		app-text/doxygen
+	)
+	examples? (
+		dev-util/patchelf
+	)
+	dev-qt/qttest:5
+"
+
+pkg_setup() {
+	MULTIBUILD_VARIANTS=( qt5 $(usev qt6) )
+}
+
+src_configure() {
+	myconfigure() {
+		local mycmakeargs=(
+			-DINSTALL_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
+		)
+		if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then
+			mycmakeargs+=(
+				-DKDSingleApplication_DOCS=OFF
+				-DKDSingleApplication_EXAMPLES=OFF
+				-DKDSingleApplication_QT6=ON
+				-DKDSingleApplication_TESTS=OFF
+			)
+		else
+			mycmakeargs+=(
+				-DKDSingleApplication_DOCS=$(usex doc)
+				-DKDSingleApplication_EXAMPLES=$(usex examples)
+				-DKDSingleApplication_QT6=OFF
+				-DKDSingleApplication_TESTS=$(usex test)
+			)
+		fi
+		cmake_src_configure
+	}
+	multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+	multibuild_foreach_variant cmake_src_compile
+}
+
+src_test() {
+	mytest() {
+		[[ ${MULTIBUILD_VARIANT} == qt5 ]] && cmake_src_test
+	}
+	multibuild_foreach_variant mytest
+}
+
+src_install() {
+	myinstall() {
+		cmake_src_install
+		if [[ ${MULTIBUILD_VARIANT} == qt5 ]]; then
+			rm -rf "${BUILD_DIR}"/docs/api/html/examples || die
+			use doc && HTML_DOCS="${BUILD_DIR}/docs/api/html/*"
+			if use examples; then
+				patchelf --remove-rpath "${BUILD_DIR}"/bin/widgetsingleapplication || die
+				dobin "${BUILD_DIR}"/bin/widgetsingleapplication
+			fi
+		fi
+	}
+	multibuild_foreach_variant myinstall
+	einstalldocs
+}

diff --git a/dev-qt/kdsingleapplication/metadata.xml b/dev-qt/kdsingleapplication/metadata.xml
new file mode 100644
index 0000000000..3c770d13ee
--- /dev/null
+++ b/dev-qt/kdsingleapplication/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gentoo@tastytea.de</email>
+		<name>tastytea</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">KDAB/KDSingleApplication</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-13  1:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 15:02 [gentoo-commits] repo/proj/guru:dev commit in: dev-qt/kdsingleapplication/ Ronny Gutbrod
  -- strict thread matches above, loose matches on Subject: below --
2024-03-13  1:32 David Roman
2024-02-02  0:38 Ronny Gutbrod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox