public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qsampler/
Date: Mon,  3 Jul 2023 08:43:57 +0000 (UTC)	[thread overview]
Message-ID: <1688373835.20ccf80f7c32366e81945ae24298654345816b59.fordfrog@gentoo> (raw)

commit:     20ccf80f7c32366e81945ae24298654345816b59
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 08:43:28 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 08:43:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ccf80f

media-sound/qsampler: reintroduced support for qt5

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 ...-0.9.10-r1.ebuild => qsampler-0.9.10-r2.ebuild} | 21 +++++++++++++++------
 media-sound/qsampler/qsampler-9999.ebuild          | 22 ++++++++++++++++------
 2 files changed, 31 insertions(+), 12 deletions(-)

diff --git a/media-sound/qsampler/qsampler-0.9.10-r1.ebuild b/media-sound/qsampler/qsampler-0.9.10-r2.ebuild
similarity index 72%
rename from media-sound/qsampler/qsampler-0.9.10-r1.ebuild
rename to media-sound/qsampler/qsampler-0.9.10-r2.ebuild
index 4210fdc8b8c7..697cc016c524 100644
--- a/media-sound/qsampler/qsampler-0.9.10-r1.ebuild
+++ b/media-sound/qsampler/qsampler-0.9.10-r2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 else
 	SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Graphical frontend to the LinuxSampler engine"
@@ -18,21 +18,30 @@ HOMEPAGE="https://qsampler.sourceforge.io/ https://www.linuxsampler.org/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug +libgig"
+IUSE="debug +libgig qt6"
 
 DEPEND="
-	dev-qt/qtbase:6[gui,network,widgets]
-	dev-qt/qtsvg:6
 	media-libs/alsa-lib
 	media-libs/liblscp:=
 	x11-libs/libX11
 	libgig? ( media-libs/libgig:= )
+	qt6? (
+		dev-qt/qtbase:6[gui,network,widgets]
+		dev-qt/qtsvg:6
+	)
+	!qt6? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
+		dev-qt/qtwidgets:5
+	)
 "
 RDEPEND="${DEPEND}
 	media-sound/linuxsampler
 "
 BDEPEND="
-	dev-qt/qttools:6[linguist]
+	qt6? ( dev-qt/qttools:6[linguist] )
+	!qt6? ( dev-qt/linguist-tools:5 )
 "
 
 DOCS=( ChangeLog README TRANSLATORS )
@@ -41,7 +50,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DCONFIG_DEBUG=$(usex debug 1 0)
 		-DCONFIG_LIBGIG=$(usex libgig 1 0)
-		-DCONFIG_QT6=1
+		-DCONFIG_QT6=$(usex qt6 1 0)
 	)
 	cmake_src_configure
 }

diff --git a/media-sound/qsampler/qsampler-9999.ebuild b/media-sound/qsampler/qsampler-9999.ebuild
index 4210fdc8b8c7..202520b3f67b 100644
--- a/media-sound/qsampler/qsampler-9999.ebuild
+++ b/media-sound/qsampler/qsampler-9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then
 	inherit git-r3
 else
 	SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 DESCRIPTION="Graphical frontend to the LinuxSampler engine"
@@ -18,21 +18,31 @@ HOMEPAGE="https://qsampler.sourceforge.io/ https://www.linuxsampler.org/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug +libgig"
+IUSE="debug +libgig qt6"
 
 DEPEND="
-	dev-qt/qtbase:6[gui,network,widgets]
-	dev-qt/qtsvg:6
 	media-libs/alsa-lib
 	media-libs/liblscp:=
 	x11-libs/libX11
 	libgig? ( media-libs/libgig:= )
+	qt6? (
+		dev-qt/qtbase:6[gui,network,widgets]
+		dev-qt/qtsvg:6
+	)
+	!qt6? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwidgets:5
+	)
 "
 RDEPEND="${DEPEND}
 	media-sound/linuxsampler
 "
 BDEPEND="
-	dev-qt/qttools:6[linguist]
+	qt6? ( dev-qt/qttools:6[linguist] )
+	!qt6? ( dev-qt/linguist-tools:5 )
 "
 
 DOCS=( ChangeLog README TRANSLATORS )
@@ -41,7 +51,7 @@ src_configure() {
 	local mycmakeargs=(
 		-DCONFIG_DEBUG=$(usex debug 1 0)
 		-DCONFIG_LIBGIG=$(usex libgig 1 0)
-		-DCONFIG_QT6=1
+		-DCONFIG_QT6=$(usex qt6 1 0)
 	)
 	cmake_src_configure
 }


             reply	other threads:[~2023-07-03  8:44 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03  8:43 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-20 10:07 [gentoo-commits] repo/gentoo:master commit in: media-sound/qsampler/ Miroslav Šulc
2024-07-19 15:43 Arthur Zamarin
2024-06-24  7:19 Miroslav Šulc
2024-06-19 11:24 Sam James
2024-06-19  8:36 Miroslav Šulc
2024-06-02  9:14 Miroslav Šulc
2024-05-31 14:14 Arthur Zamarin
2024-05-20  9:17 Miroslav Šulc
2024-04-20  8:01 Miroslav Šulc
2024-02-27 10:49 Miroslav Šulc
2024-02-24 15:26 Arthur Zamarin
2024-01-24  9:42 Miroslav Šulc
2024-01-04 10:13 Miroslav Šulc
2024-01-04 10:13 Miroslav Šulc
2023-09-11  7:35 Miroslav Šulc
2023-08-13  6:56 Miroslav Šulc
2023-08-12  7:52 Arthur Zamarin
2023-07-03  8:23 Miroslav Šulc
2023-06-02  6:52 Miroslav Šulc
2023-05-06  5:07 Miroslav Šulc
2023-05-05 16:04 Arthur Zamarin
2023-04-01  5:25 Miroslav Šulc
2023-03-31 11:40 Arthur Zamarin
2023-03-27 10:51 Miroslav Šulc
2023-03-27 10:51 Miroslav Šulc
2022-12-29  8:39 Miroslav Šulc
2022-12-25 22:17 Andreas Sturmlechner
2022-11-14 15:24 Alexis Ballier
2022-05-08  6:21 Miroslav Šulc
2022-05-08  4:10 Sam James
2022-04-05  5:27 Miroslav Šulc
2022-02-11 13:21 Miroslav Šulc
2022-02-11 12:25 Sam James
2022-01-11  8:54 Miroslav Šulc
2021-12-06  9:38 Miroslav Šulc
2021-12-06  9:12 Miroslav Šulc
2021-08-07 14:47 Miroslav Šulc
2021-08-07 14:43 Sam James
2021-07-06  4:39 Miroslav Šulc
2021-06-12  9:49 Miroslav Šulc
2021-06-12  1:18 Sam James
2021-05-29 16:08 Miroslav Šulc
2021-05-29 15:23 Sam James
2021-05-12  5:50 Miroslav Šulc
2021-04-27 18:05 Miroslav Šulc
2021-03-08  8:17 Miroslav Šulc
2021-03-07 19:46 Sam James
2021-02-15  9:03 Sam James
2020-12-20 17:48 Sam James
2020-08-22 16:06 Andreas Sturmlechner
2019-12-26 10:06 Miroslav Šulc
2019-12-16 12:21 Agostino Sarubbo
2019-12-13 12:41 Miroslav Šulc
2019-12-13 11:47 Miroslav Šulc
2019-12-13 11:27 Miroslav Šulc
2019-11-13 14:58 Miroslav Šulc
2018-12-16 23:53 Andreas Sturmlechner
2017-05-09  7:14 Alexis Ballier
2016-11-15  9:09 Alexis Ballier
2016-09-26 15:03 Alexis Ballier
2016-09-26 15:03 Alexis Ballier
2016-09-15 11:29 Alexis Ballier
2016-09-15 11:28 Alexis Ballier
2016-08-30 12:49 Alexis Ballier
2016-04-23 13:18 Davide Pesavento
2015-08-12  9:31 Ben de Groot
2015-08-12  9:31 Ben de Groot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688373835.20ccf80f7c32366e81945ae24298654345816b59.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox