Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 01:28:51 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r549552 - in branches/2020Q3/audio/beatslash-lv2: . files
Message-ID:  <202009220128.08M1SpuS072373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Sep 22 01:28:50 2020
New Revision: 549552
URL: https://svnweb.freebsd.org/changeset/ports/549552

Log:
  MFH: r549539
  
  audio/beatslash-lv2: Fix build on some systems
  
  Waf warning about duplicately-installed files somehow caused failure to find some files later.
  This commit adds the patch to prevent duplicate file installation. This fixes the warning and hopefully fixes poudriere build.
  I couldn't reproduce this failure in my poudriere.
  
  Also:
  * Strip binarires
  * Fix WWW
  
  Approved by:	ports-secteam (fluffy)

Modified:
  branches/2020Q3/audio/beatslash-lv2/Makefile
  branches/2020Q3/audio/beatslash-lv2/files/patch-wscript
  branches/2020Q3/audio/beatslash-lv2/pkg-descr
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/audio/beatslash-lv2/Makefile
==============================================================================
--- branches/2020Q3/audio/beatslash-lv2/Makefile	Tue Sep 22 01:14:39 2020	(r549551)
+++ branches/2020Q3/audio/beatslash-lv2/Makefile	Tue Sep 22 01:28:50 2020	(r549552)
@@ -3,7 +3,7 @@
 PORTNAME=	beatslash
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-lv2
 
@@ -28,5 +28,8 @@ USE_GNOME=	atkmm gdkpixbuf2 gtkmm24
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|#include <lvtk-1/lvtk|#include <lvtk-2/lvtk|' ${WRKSRC}/src/*.?pp
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/beatslash.lv2/*.so
 
 .include <bsd.port.mk>

Modified: branches/2020Q3/audio/beatslash-lv2/files/patch-wscript
==============================================================================
--- branches/2020Q3/audio/beatslash-lv2/files/patch-wscript	Tue Sep 22 01:14:39 2020	(r549551)
+++ branches/2020Q3/audio/beatslash-lv2/files/patch-wscript	Tue Sep 22 01:28:50 2020	(r549552)
@@ -1,4 +1,4 @@
---- wscript.orig	2016-11-06 20:24:40 UTC
+--- wscript.orig	2019-02-23 21:03:41 UTC
 +++ wscript
 @@ -31,9 +31,9 @@ def configure(conf):
      autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', atleast_version='2.24.0')
@@ -13,3 +13,12 @@
  
      check = 'Extended Initializer Lists'
      conf.check_cxx(msg         = check,
+@@ -78,7 +78,7 @@ def build_plugin(bld, bundle, name, source, cxxflags=[
+ 
+     # Install data file
+     data_file = '%s.ttl' % name
+-    bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, data_file))
++    #bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, data_file)) # see https://github.com/blablack/beatslash-lv2/issues/9
+ 
+ 
+ def build_plugin_gui(bld, bundle, name, source, cxxflags=[], libs=[], add_source=[]):

Modified: branches/2020Q3/audio/beatslash-lv2/pkg-descr
==============================================================================
--- branches/2020Q3/audio/beatslash-lv2/pkg-descr	Tue Sep 22 01:14:39 2020	(r549551)
+++ branches/2020Q3/audio/beatslash-lv2/pkg-descr	Tue Sep 22 01:28:50 2020	(r549552)
@@ -4,4 +4,4 @@ Features:
 * the beat repeater will repeat the current beat
 * the beat slicer will randomly repeat parts of a live sample
 
-WWW: https://objectivewave.wordpress.com/beatslash-lv2/
+WWW: https://github.com/blablack/beatslash-lv2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009220128.08M1SpuS072373>