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>[email protected]</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>[email protected]</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
