From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/
Date: Sun, 26 Jun 2022 08:01:15 +0000 (UTC) [thread overview]
Message-ID: <1656230472.e22226ff6ee2a4956a3f6a48934ee4f91b717977.fordfrog@gentoo> (raw)
commit: e22226ff6ee2a4956a3f6a48934ee4f91b717977
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 08:01:07 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 08:01:12 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22226ff
media-libs/lvtk: eapi7, added python 3.10 & 3.11, deps versions cleanup
Bug: https://bugs.gentoo.org/846026
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-libs/lvtk/lvtk-1.2.0-r2.ebuild | 66 ++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/media-libs/lvtk/lvtk-1.2.0-r2.ebuild b/media-libs/lvtk/lvtk-1.2.0-r2.ebuild
new file mode 100644
index 000000000000..ed83c4388978
--- /dev/null
+++ b/media-libs/lvtk/lvtk-1.2.0-r2.ebuild
@@ -0,0 +1,66 @@
+# 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-single-r1 waf-utils
+
+WAF_VER=2.0.20
+
+DESCRIPTION="A set of C++ wrappers around the LV2 C API"
+HOMEPAGE="https://lvtk.org/"
+SRC_URI="https://github.com/lvtk/lvtk/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://waf.io/waf-${WAF_VER}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples +gtk2 +tools"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="media-libs/lv2
+ dev-libs/boost
+ ${PYTHON_DEPS}
+ gtk2? ( dev-cpp/gtkmm:2.4 )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-boost-system-underlinking.patch"
+ "${FILESDIR}/${P}-py3.patch"
+)
+
+src_unpack() {
+ unpack ${P}.tar.gz || die
+
+ # we need newer version of waf to work with py3
+ cp "${DISTDIR}/waf-${WAF_VER}" "${S}/waf" || die
+}
+
+src_configure() {
+ local mywafconfargs=(
+ "--docdir=${EPREFIX}/usr/share/doc/${PF}"
+ "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2"
+ )
+ use debug && mywafconfargs+=( "--debug" )
+ use doc && mywafconfargs+=( "--docs" )
+ use examples || mywafconfargs+=( "--disable-examples" )
+ use tools || mywafconfargs+=( "--disable-tools" )
+ use gtk2 || mywafconfargs+=( "--disable-ui" )
+ waf-utils_src_configure ${mywafconfargs[@]}
+}
+
+src_install() {
+ waf-utils_src_install
+
+ # It does not respect docdir properly, reported upstream
+ if use doc; then
+ mv "${ED}/usr/share/doc/${PF}/lvtk-1/html" "${ED}/usr/share/doc/${PF}/html" || die
+ rmdir "${ED}/usr/share/doc/${PF}/lvtk-1" || die
+ fi
+}
next reply other threads:[~2022-06-26 8:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-26 8:01 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-08 7:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/ Miroslav Šulc
2022-06-29 18:08 Miroslav Šulc
2022-06-29 7:52 Agostino Sarubbo
2022-06-29 0:11 Sam James
2020-09-23 10:28 Miroslav Šulc
2020-09-23 10:20 Agostino Sarubbo
2020-09-20 22:40 Thomas Deutschmann
2020-08-22 11:33 Miroslav Šulc
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-08-01 12:11 Miroslav Šulc
2017-04-23 11:29 David Seifert
2016-04-19 13:12 Michał Górny
2016-04-18 8:13 Patrice Clement
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=1656230472.e22226ff6ee2a4956a3f6a48934ee4f91b717977.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