public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/, media-libs/lvtk/files/
@ 2016-04-13 20:25 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-04-13 20:25 UTC (permalink / raw
  To: gentoo-commits

commit:     b39b9763cfa5f3154f416aa6121eeaa997c1f65b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 20:25:02 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 20:25:02 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b39b9763

media-libs/lvtk: Fix boost::system underlinking

Gentoo-Bug: 579398
* EAPI=6
* Add missing '|| die' statements

Package-Manager: portage-2.2.28

 .../lvtk/files/lvtk-1.2.0-boost-system-underlinking.patch  | 13 +++++++++++++
 media-libs/lvtk/lvtk-1.2.0.ebuild                          | 14 +++++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/media-libs/lvtk/files/lvtk-1.2.0-boost-system-underlinking.patch b/media-libs/lvtk/files/lvtk-1.2.0-boost-system-underlinking.patch
new file mode 100644
index 0000000..8a32358
--- /dev/null
+++ b/media-libs/lvtk/files/lvtk-1.2.0-boost-system-underlinking.patch
@@ -0,0 +1,13 @@
+Prevent underlinking issues due to recent boost versions requiring boost::system
+See also: https://bugs.gentoo.org/show_bug.cgi?id=579398
+
+--- lvtk-1.2.0/wscript
++++ lvtk-1.2.0/wscript
+@@ -71,6 +71,7 @@
+                             atleast_version="2.20.0", mandatory=False)
+ 
+     # Setup the Environment
++    conf.env.LIB_BOOST = ['boost_system']
+     conf.env.EXAMPLES_DISABLED  = conf.options.disable_examples
+     conf.env.TOOLS_DISABLED     = conf.options.disable_tools
+     conf.env.UI_DISABLED        = conf.options.disable_ui

diff --git a/media-libs/lvtk/lvtk-1.2.0.ebuild b/media-libs/lvtk/lvtk-1.2.0.ebuild
index b5a3bb1..a004c89 100644
--- a/media-libs/lvtk/lvtk-1.2.0.ebuild
+++ b/media-libs/lvtk/lvtk-1.2.0.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
+
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="threads(+)"
+
 inherit python-single-r1 waf-utils
 
 DESCRIPTION="A set of C++ wrappers around the LV2 C API"
@@ -25,7 +27,9 @@ DEPEND="${RDEPEND}
 		media-gfx/graphviz )
 	virtual/pkgconfig"
 
-DOCS=( AUTHORS ChangeLog README )
+PATCHES=(
+	"${FILESDIR}/${P}-boost-system-underlinking.patch"
+)
 
 src_configure() {
 	local mywafconfargs=(
@@ -45,7 +49,7 @@ src_install() {
 
 	# It does not respect docdir properly, reported upstream
 	if use doc; then
-		mv "${ED}/usr/share/doc/${PF}/lvtk-1.0/html" "${ED}/usr/share/doc/${PF}/html"
-		rmdir "${ED}/usr/share/doc/${PF}/lvtk-1.0"
+		mv "${ED}/usr/share/doc/${PF}/lvtk-1.0/html" "${ED}/usr/share/doc/${PF}/html" || die
+		rmdir "${ED}/usr/share/doc/${PF}/lvtk-1.0" || die
 	fi
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/, media-libs/lvtk/files/
@ 2020-08-22 10:49 Miroslav Šulc
  0 siblings, 0 replies; 2+ messages in thread
From: Miroslav Šulc @ 2020-08-22 10:49 UTC (permalink / raw
  To: gentoo-commits

commit:     af4356333dc7a5a36a314e8c7a1b7740b627eeff
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 10:48:39 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 10:49:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af435633

media-libs/lvtk: py3 + fixed homepage

Closes: https://bugs.gentoo.org/735384
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/lvtk/Manifest                              |  1 +
 media-libs/lvtk/files/lvtk-1.2.0-py3.patch            | 13 +++++++++++++
 .../lvtk/{lvtk-1.2.0.ebuild => lvtk-1.2.0-r1.ebuild}  | 19 +++++++++++++++----
 media-libs/lvtk/lvtk-1.2.0.ebuild                     |  2 +-
 4 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/media-libs/lvtk/Manifest b/media-libs/lvtk/Manifest
index 703efe0df4a..88b5358c509 100644
--- a/media-libs/lvtk/Manifest
+++ b/media-libs/lvtk/Manifest
@@ -1 +1,2 @@
 DIST lvtk-1.2.0.tar.gz 201146 BLAKE2B d6aa47f5d89e861393b95d60fe53a232f8047c77f8593dc7dcfc700c3933d2bc37e3e499d1d63a84854e0bcfc2232c170cc92b69fd8b01be30f0f581b216a4a9 SHA512 f193ec28103cb2f6353ff0f96f8790041baf1ae99472c5d04017c23b42d0179b1f5e1de6722e17080410311d0e7e1de4ca0ae9ab76fb3bf8a02d9dc1451d8db7
+DIST waf-2.0.20 104725 BLAKE2B c9467b5205f596cd1b5d4b6ccb97806e9fa1f4d4eb9109d378a0978179ab49a029926cb86876ca2088878378f88eb292d899840b4a072e62fc6542b93bc2d894 SHA512 72de1c5a78eb353da4b4a6ea4fbf52d232ed6dd08e972872744e3727b952f813f44e47f0b47106bd6f05ce7fa137c4685ac313fb0b0d70e5fc85dc34918e66f0

diff --git a/media-libs/lvtk/files/lvtk-1.2.0-py3.patch b/media-libs/lvtk/files/lvtk-1.2.0-py3.patch
new file mode 100644
index 00000000000..a639c62f225
--- /dev/null
+++ b/media-libs/lvtk/files/lvtk-1.2.0-py3.patch
@@ -0,0 +1,13 @@
+diff --git a/wscript b/wscript
+index e69c0e0..08ba66f 100644
+--- a/wscript
++++ b/wscript
+@@ -155,7 +155,7 @@ def build(bld):
+ 
+ def release_tag(ctx):
+     tag = git.tag_version(VERSION, "Release: v" + VERSION , "lvtk-")
+-    if tag : print "Git Tag Created: " + tag
++    if tag : print("Git Tag Created: " + tag)
+ 
+ def dist(ctx):
+     z=ctx.options.ziptype

diff --git a/media-libs/lvtk/lvtk-1.2.0.ebuild b/media-libs/lvtk/lvtk-1.2.0-r1.ebuild
similarity index 81%
copy from media-libs/lvtk/lvtk-1.2.0.ebuild
copy to media-libs/lvtk/lvtk-1.2.0-r1.ebuild
index 74f3be66ae3..c183d299349 100644
--- a/media-libs/lvtk/lvtk-1.2.0.ebuild
+++ b/media-libs/lvtk/lvtk-1.2.0-r1.ebuild
@@ -3,18 +3,21 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{7,8,9} )
 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="http://lvtoolkit.org/"
-SRC_URI="https://github.com/lvtk/lvtk/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://lvtk.org/"
+SRC_URI="https://github.com/lvtk/lvtk/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://waf.io/waf-2.0.20"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="debug doc examples +gtk2 +tools"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
@@ -29,8 +32,16 @@ DEPEND="${RDEPEND}
 
 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}"

diff --git a/media-libs/lvtk/lvtk-1.2.0.ebuild b/media-libs/lvtk/lvtk-1.2.0.ebuild
index 74f3be66ae3..62eaf591939 100644
--- a/media-libs/lvtk/lvtk-1.2.0.ebuild
+++ b/media-libs/lvtk/lvtk-1.2.0.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE="threads(+)"
 inherit python-single-r1 waf-utils
 
 DESCRIPTION="A set of C++ wrappers around the LV2 C API"
-HOMEPAGE="http://lvtoolkit.org/"
+HOMEPAGE="https://lvtk.org/"
 SRC_URI="https://github.com/lvtk/lvtk/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-22 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-22 10:49 [gentoo-commits] repo/gentoo:master commit in: media-libs/lvtk/, media-libs/lvtk/files/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2016-04-13 20:25 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox