summaryrefslogtreecommitdiff
path: root/media-libs/suil
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-02 13:12:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-02 13:12:50 +0100
commitb0378783c1929d283116fe183089c123dba5869c (patch)
treeefe69bfa7e38c36238f6e5a9341f6194b949e6f5 /media-libs/suil
parente374e165c2ee372e9c6d10860ea6ef47f180f6b2 (diff)
gentoo auto-resync : 02:10:2022 - 13:12:50
Diffstat (limited to 'media-libs/suil')
-rw-r--r--media-libs/suil/Manifest2
-rw-r--r--media-libs/suil/suil-0.10.18.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/suil/Manifest b/media-libs/suil/Manifest
index 59b2a6315a86..0e280bab6c7b 100644
--- a/media-libs/suil/Manifest
+++ b/media-libs/suil/Manifest
@@ -1,3 +1,5 @@
DIST suil-0.10.16.tar.xz 33744 BLAKE2B 614217013b39215f4b6d9414451a55fbca42dd038c6bc961d3769660707bf2da45432c97628edef8dacb8630437bcb304d10616ced2fd9cf9a6a4d094f196f6c SHA512 9b1dac07b017934a93f70d514ec477785683e7ed5949b62a2c4ad139c1e84265399f54d3140dcf0e542d20a0919286aacb52103c91e2f6fc7ebd707db2d98ac4
+DIST suil-0.10.18.tar.xz 34372 BLAKE2B 739a25fa46227f0316a25efe0741f303698869f41322d525670589ad01f951bc52155a638f15b20ce715e14cb42a01fb022f60426c44abe05d988c679d27f604 SHA512 2c4630ef37f13c0e344eadfc8fdcfe70538abdabad1ad0865c43f9f5947fdbc3bdf56bb90e7a58f20d3e641ab9b7a7a670799920aca04374d7c992c52b93f8f3
EBUILD suil-0.10.16-r1.ebuild 1220 BLAKE2B 4031468849ba1a7d75bda90756d71d735d1d983258a64df5a6c7a1056cc67099a8ba3076a9301dd1a4bdbdb0764ef28fd4884fa9cbfc3e6fde3d3edab1600dc6 SHA512 ede8ccb9851c3ee3286688f82b66748da6a87780f91aef5516cd37555fee4e1131e3e7ab45a9528fb4701c3db058c6d8939150fdc9dbfb2792b1736e11dc99ca
+EBUILD suil-0.10.18.ebuild 1224 BLAKE2B 32121d681c742680cda4bba03f9ac18f06ae395815f28cc8cc734d43e9c6a0058c5392fbea4dd4912f006734a52ddaef60a812b64614f9a89f180d61e829ae6d SHA512 049c33406e399a58d486cbe31ebad8025d8e9044a321ad524b7cd053261497ab1fe737673891d972b97d92fc44eebbf88a040f7a07273527384ca55503f2d54a
MISC metadata.xml 561 BLAKE2B c2a96aa27533596af606b3b63c853b37d35503748f042d4b69cbb2a17568fc62acad26562fca3564d5f80a0d39227984191b28a78082e6ecfd47a3cef7bb5e32 SHA512 dc4919cfa4180f4ee402a833e69aae86d5d04d28f085e5f26228f8001cb2d04a7547bb17048960e74e4c8925291c043974bcdeb318b20089604ff189c4001261
diff --git a/media-libs/suil/suil-0.10.18.ebuild b/media-libs/suil/suil-0.10.18.ebuild
new file mode 100644
index 000000000000..710d7c1ed85d
--- /dev/null
+++ b/media-libs/suil/suil-0.10.18.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Lightweight C library for loading and wrapping LV2 plugin UIs"
+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 gtk2 qt5 X"
+
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ dev-python/sphinx_lv2_theme
+ )
+"
+# This could be way refined, but it's quickly a rabbit hole
+
+RDEPEND="
+ media-libs/lv2
+ 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
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ )
+ X? ( x11-libs/libX11 )
+"
+
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS NEWS README.md )
+
+src_prepare() {
+ default
+
+ # fix doc installation path
+ sed -iE "s%install_dir: docdir / 'suil-0',%install_dir: docdir / '${PF}',%g" doc/c/meson.build || die
+}
+
+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
+}