summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/suil/Manifest1
-rw-r--r--media-libs/suil/suil-0.10.12.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/suil/Manifest b/media-libs/suil/Manifest
index b03e36257f2..e770341fa7d 100644
--- a/media-libs/suil/Manifest
+++ b/media-libs/suil/Manifest
@@ -1 +1,2 @@
DIST suil-0.10.10.tar.bz2 339906 BLAKE2B 03d1ac744fa3fa487bbf44d6e006f6cfcc73dc4aa6eb79d1ac5d024dc9493e3e426ff6054705d1de514286b2d43f5a1448bfcf7e573fa95d61c41790ca06c405 SHA512 e442022096150b2f71d65bbd625e2e262cb3e3865c57f5a30f0472dac8ef90ad2fbbf67235823055019017e3751b46330f6e98b8e1745e5845eb02c4d2a4fc21
+DIST suil-0.10.12.tar.bz2 339666 BLAKE2B f70bbc18f5fa1a9263fe5c0a9241e966e124a855273bc6fe863375aef8505193e49b67d3b9d7ff6d4e4cf50cb6c2cb2b2d53dccab06005f82725e024cc8347d5 SHA512 f2b9ca36cc35d6b51c6e4ae144d61b1ba5e3b51113cca48d0535f6346ff918bdc7e299f0036ea1431c0ef59b1a02f1f4086a95db552d0a06bffb54567ab4a278
diff --git a/media-libs/suil/suil-0.10.12.ebuild b/media-libs/suil/suil-0.10.12.ebuild
new file mode 100644
index 00000000000..bf30b6068b4
--- /dev/null
+++ b/media-libs/suil/suil-0.10.12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit python-any-r1 waf-utils
+
+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.bz2"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc gtk qt5"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ dev-python/sphinx_lv2_theme
+ )
+"
+CDEPEND="
+ media-libs/lv2
+ gtk? ( x11-libs/gtk+:2 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ )"
+RDEPEND="${CDEPEND}"
+DEPEND="
+ ${CDEPEND}
+ ${PYTHON_DEPS}
+"
+
+DOCS=( AUTHORS NEWS README.md )
+
+src_prepare() {
+ default
+ sed -i -e 's/^.*run_ldconfig/#\0/' wscript || die
+}
+
+src_configure() {
+ waf-utils_src_configure \
+ --mandir="${EPREFIX}/usr/share/man" \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ $(usex gtk '' --no-gtk) \
+ $(usex qt5 '' --no-qt5) \
+ $(usex doc --docs '')
+}