From 566e4787fdba59fb4c1be87d0a028b21a06769e7 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 22 Sep 2020 01:28:50 +0000 Subject: 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) --- audio/beatslash-lv2/Makefile | 5 ++++- audio/beatslash-lv2/files/patch-wscript | 11 ++++++++++- audio/beatslash-lv2/pkg-descr | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/audio/beatslash-lv2/Makefile b/audio/beatslash-lv2/Makefile index dedbc418ebd1..8e425798fce9 100644 --- a/audio/beatslash-lv2/Makefile +++ b/audio/beatslash-lv2/Makefile @@ -3,7 +3,7 @@ PORTNAME= beatslash DISTVERSIONPREFIX= v DISTVERSION= 1.0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -29,4 +29,7 @@ USE_GNOME= atkmm gdkpixbuf2 gtkmm24 post-patch: @${REINPLACE_CMD} -e 's|#include diff --git a/audio/beatslash-lv2/files/patch-wscript b/audio/beatslash-lv2/files/patch-wscript index b1f94879fcce..49e6ebd1334f 100644 --- a/audio/beatslash-lv2/files/patch-wscript +++ b/audio/beatslash-lv2/files/patch-wscript @@ -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=[]): diff --git a/audio/beatslash-lv2/pkg-descr b/audio/beatslash-lv2/pkg-descr index 52fddad49463..396fa36d78a9 100644 --- a/audio/beatslash-lv2/pkg-descr +++ b/audio/beatslash-lv2/pkg-descr @@ -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 -- cgit v1.2.3