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-libs/suil/
Date: Sun, 18 Sep 2022 13:34:32 +0000 (UTC)	[thread overview]
Message-ID: <1663508068.690b0c79e8f921246347194e62a9a6de6b35ea85.fordfrog@gentoo> (raw)

commit:     690b0c79e8f921246347194e62a9a6de6b35ea85
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 18 13:17:08 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Sep 18 13:34:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=690b0c79

media-libs/suil: improvements to 0.10.16

- Fix copypasta longdescription in metadata.xml
- Fix HOMEPAGE and SRC_URI
- Remove python dependency: there is no python involved in suil. For building the docs, the dependency should be fine (?)
- add gtk2 useflag and dependencies
- add X useflag and dependencies
- Add missing Qt5 dependencies
- simplify dependencies managemen

Patch by Olivier Huber <oli.huber <AT> gmail.com>

Closes: https://bugs.gentoo.org/863614
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/suil/metadata.xml                       | 18 +++++++----
 ...{suil-0.10.16.ebuild => suil-0.10.16-r1.ebuild} | 37 ++++++++++++++--------
 2 files changed, 34 insertions(+), 21 deletions(-)

diff --git a/media-libs/suil/metadata.xml b/media-libs/suil/metadata.xml
index f9a9fe3099dc..ef7c2a13b89e 100644
--- a/media-libs/suil/metadata.xml
+++ b/media-libs/suil/metadata.xml
@@ -1,11 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-	<email>proaudio@gentoo.org</email>
-	<name>Gentoo ProAudio Project</name>
-</maintainer>
-<longdescription lang="en">
-	Lilv is a library to make the use of LV2 plugins as simple as possible for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies.
-</longdescription>
+  <maintainer type="project">
+    <email>proaudio@gentoo.org</email>
+    <name>Gentoo ProAudio Project</name>
+  </maintainer>
+  <longdescription lang="en">
+    Suil makes it possible to load a UI of any toolkit in a host using any other toolkit.
+    Suil currently supports every combination of Gtk 2, Gtk 3, Qt 5, and X11.
+  </longdescription>
+  <use>
+    <flag name="gtk2">Enable GTK2 based GUI support</flag>
+  </use>
 </pkgmetadata>

diff --git a/media-libs/suil/suil-0.10.16.ebuild b/media-libs/suil/suil-0.10.16-r1.ebuild
similarity index 63%
rename from media-libs/suil/suil-0.10.16.ebuild
rename to media-libs/suil/suil-0.10.16-r1.ebuild
index 951d4de5215c..710d7c1ed85d 100644
--- a/media-libs/suil/suil-0.10.16.ebuild
+++ b/media-libs/suil/suil-0.10.16-r1.ebuild
@@ -3,19 +3,16 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..11} )
-PYTHON_REQ_USE='threads(+)'
-
-inherit meson python-any-r1
+inherit meson
 
 DESCRIPTION="Lightweight C library for loading and wrapping LV2 plugin UIs"
-HOMEPAGE="http://drobilla.net/software/suil/"
-SRC_URI="http://download.drobilla.net/${P}.tar.xz"
+HOMEPAGE="https://drobilla.net/software/suil.html"
+SRC_URI="https://download.drobilla.net/${P}.tar.xz"
 
 LICENSE="ISC"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-IUSE="doc gtk qt5"
+IUSE="doc gtk gtk2 qt5 X"
 
 BDEPEND="
 	virtual/pkgconfig
@@ -25,19 +22,29 @@ BDEPEND="
 		dev-python/sphinx_lv2_theme
 	)
 "
-CDEPEND="
+# This could be way refined, but it's quickly a rabbit hole
+
+RDEPEND="
 	media-libs/lv2
-	gtk? ( x11-libs/gtk+:2 )
+	gtk2? (
+		x11-libs/gtk+:2
+		dev-libs/glib:2
+	)
+	gtk? (
+		x11-libs/gtk+:3
+		dev-libs/glib:2
+	)
 	qt5? (
 		dev-qt/qtcore:5
 		dev-qt/qtgui:5
-	)"
-RDEPEND="${CDEPEND}"
-DEPEND="
-	${CDEPEND}
-	${PYTHON_DEPS}
+		dev-qt/qtwidgets:5
+		dev-qt/qtx11extras:5
+	)
+	X? ( x11-libs/libX11 )
 "
 
+DEPEND="${RDEPEND}"
+
 DOCS=( AUTHORS NEWS README.md )
 
 src_prepare() {
@@ -50,8 +57,10 @@ src_prepare() {
 src_configure() {
 	local emesonargs=(
 		$(meson_feature doc docs)
+		$(meson_feature gtk2)
 		$(meson_feature gtk gtk3)
 		$(meson_feature qt5)
+		$(meson_feature X x11)
 	)
 
 	meson_src_configure


             reply	other threads:[~2022-09-18 13:34 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-18 13:34 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 12:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/suil/ Andreas Sturmlechner
2025-02-16 12:38 Andreas Sturmlechner
2025-02-16 12:38 Andreas Sturmlechner
2025-02-16 12:11 Sam James
2025-02-16 12:11 Sam James
2025-02-16 12:11 Sam James
2025-02-16 12:11 Sam James
2025-01-28 17:58 Andreas Sturmlechner
2025-01-21  7:46 Miroslav Šulc
2024-02-03  3:50 Ionen Wolkens
2024-01-03 22:11 Miroslav Šulc
2024-01-03 18:39 Arthur Zamarin
2024-01-03  6:58 Sam James
2024-01-03  6:58 Sam James
2024-01-03  6:58 Sam James
2023-10-24 18:26 Miroslav Šulc
2023-09-19 17:48 Arthur Zamarin
2023-09-06 18:43 WANG Xuerui
2023-05-13  0:43 Sam James
2023-05-04 11:21 Sam James
2023-01-27  1:25 Sam James
2023-01-27  1:25 Sam James
2022-11-04  7:24 Miroslav Šulc
2022-11-03  8:08 Agostino Sarubbo
2022-11-03  8:06 Agostino Sarubbo
2022-11-02 20:07 Sam James
2022-11-02  7:59 Arthur Zamarin
2022-10-02  8:07 Miroslav Šulc
2022-09-22  6:10 Miroslav Šulc
2022-09-21 12:27 Agostino Sarubbo
2022-09-21 12:23 Agostino Sarubbo
2022-09-21  5:58 Jakov Smolić
2022-09-21  5:58 Jakov Smolić
2022-08-15  5:48 Miroslav Šulc
2022-07-31  6:45 Miroslav Šulc
2022-06-29 18:15 Miroslav Šulc
2022-06-29  7:56 Agostino Sarubbo
2022-06-29  7:55 Agostino Sarubbo
2022-06-29  7:54 Agostino Sarubbo
2022-06-29  7:52 Agostino Sarubbo
2022-05-29  6:35 Miroslav Šulc
2021-12-18 11:58 Miroslav Šulc
2021-12-18 11:58 Miroslav Šulc
2021-09-22 14:30 Yixun Lan
2021-03-26  7:58 Miroslav Šulc
2021-03-26  7:50 Agostino Sarubbo
2021-03-17  1:04 Sam James
2021-03-17  1:04 Sam James
2021-03-15 16:18 Agostino Sarubbo
2021-02-24 18:27 Miroslav Šulc
2021-01-08 11:53 Miroslav Šulc
2020-11-13  8:56 Miroslav Šulc
2020-11-12 21:03 Thomas Deutschmann
2020-11-04  8:16 Sergei Trofimovich
2020-11-04  7:58 Sergei Trofimovich
2020-11-04  0:58 Sam James
2020-10-02  8:50 Miroslav Šulc
2020-09-13  8:44 Sergei Trofimovich
2020-09-09 21:59 Sergei Trofimovich
2020-09-07  7:35 Sergei Trofimovich
2020-09-07  7:31 Sergei Trofimovich
2020-08-06  2:35 Sam James
2020-01-22  0:21 Miroslav Šulc
2020-01-20 11:51 Agostino Sarubbo
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-12-14 13:01 Miroslav Šulc
2017-11-23 16:35 Andreas Sturmlechner
2017-10-11  5:51 Alexis Ballier
2017-04-24 10:52 Pacho Ramos
2017-04-23 11:29 David Seifert
2016-12-12 16:50 Lars Wendler
2016-12-12  8:41 Lars Wendler
2016-12-12  8:41 Lars Wendler

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=1663508068.690b0c79e8f921246347194e62a9a6de6b35ea85.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