From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE932158094 for ; Sun, 26 Jun 2022 08:01:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 215DAE0875; Sun, 26 Jun 2022 08:01:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 051A2E0875 for ; Sun, 26 Jun 2022 08:01:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 356D2340FD2 for ; Sun, 26 Jun 2022 08:01:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB5C64ED for ; Sun, 26 Jun 2022 08:01:15 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1656230472.e22226ff6ee2a4956a3f6a48934ee4f91b717977.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/lvtk/lvtk-1.2.0-r2.ebuild X-VCS-Directories: media-libs/lvtk/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: e22226ff6ee2a4956a3f6a48934ee4f91b717977 X-VCS-Branch: master Date: Sun, 26 Jun 2022 08:01:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4efeea4b-6635-40cb-8a23-a914b7feaaad X-Archives-Hash: f8f667fc95e5504d670b21722407bede commit: e22226ff6ee2a4956a3f6a48934ee4f91b717977 Author: Miroslav Šulc gentoo org> AuthorDate: Sun Jun 26 08:01:07 2022 +0000 Commit: Miroslav Šulc gentoo 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 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 +}