pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/lilv lilv: Update to 0.24.6. Convert to waf.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7f462e59a56
branches:  trunk
changeset: 406084:c7f462e59a56
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 14 18:02:50 2019 +0000

description:
lilv: Update to 0.24.6. Convert to waf.mk.

lilv (0.24.6) stable;

  * Add more strict error detection when storing plugin state properties
  * Add option to override LV2_PATH in applications
  * Don't print errors when saving state if correct links already exist
  * Fix GCC8 warnings
  * Fix creating directories across drives on Windows
  * Fix issues with loading state with saved files from the model
  * Fix memory errors and Python 3.4+ compatibility in Python bindings
  * Fix unit tests on Windows
  * Make Python bindings more Pythonic

diffstat:

 audio/lilv/Makefile              |  43 +++++++++------------------------------
 audio/lilv/PLIST                 |   4 +-
 audio/lilv/buildlink3.mk         |   4 +-
 audio/lilv/distinfo              |  11 +++++----
 audio/lilv/options.mk            |  14 +++---------
 audio/lilv/patches/patch-wscript |  15 +++++++++++++
 6 files changed, 39 insertions(+), 52 deletions(-)

diffs (180 lines):

diff -r dad19973a90f -r c7f462e59a56 audio/lilv/Makefile
--- a/audio/lilv/Makefile       Sat Dec 14 17:53:39 2019 +0000
+++ b/audio/lilv/Makefile       Sat Dec 14 18:02:50 2019 +0000
@@ -1,27 +1,20 @@
-# $NetBSD: Makefile,v 1.18 2019/11/02 21:09:15 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2019/12/14 18:02:50 nia Exp $
 
-DISTNAME=      lilv-0.24.4
-PKGREVISION=   2
+DISTNAME=      lilv-0.24.6
 CATEGORIES=    audio
-MASTER_SITES=  http://download.drobilla.net/
+MASTER_SITES=  https://download.drobilla.net/
 EXTRACT_SUFX=  .tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://drobilla.net/software/lilv/
+HOMEPAGE=      https://drobilla.net/software/lilv/
 COMMENT=       C library to make the use of LV2 plugins as simple as possible
 LICENSE=       isc
 
-#BUILD_DEPENDS+=       swig-[0-9]*:../../devel/swig2 # python --bindings BROKEN
-
 USE_LANGUAGES= c c++
 USE_TOOLS+=    gsed pkg-config
 
-PKGCONFIG_OVERRIDE+=   lilv.pc.in
-CONFIGURE_ENV+=                LV2_PATH=${BUILDLINK_PREFIX.lv2}/lib/lv2
-EGDIR=                 share/examples/lilv
-CONF_FILES=            ${EGDIR}/lilv ${PKG_SYSCONFDIR}/bash_completion.d/lilv
-MAKE_DIRS=             ${PKG_SYSCONFDIR}/bash_completion.d
-INSTALLATION_DIRS=     ${EGDIR}
+WAF_ENV+=      LV2_PATH=${BUILDLINK_PREFIX.lv2}/lib/lv2
+WAF_ARGS+=     --no-bindings
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -31,26 +24,11 @@
 PLIST.lv2bench=        yes
 .endif
 
-.include "options.mk"
-
-BUILD_OPTIONS= ${BUILD_DEBUG} ${BUILD_DOC} ${BUILD_TESTS} # --bindings BROKEN
+PYTHON_FOR_BUILD_ONLY= tool
+PKGCONFIG_OVERRIDE+=   lilv.pc.in
 
-do-configure:
-       cd ${WRKSRC} && \
-               ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
-                       --configdir=${PKG_SYSCONFDIR:Q} \
-                       --destdir=${DESTDIR} --mandir=${PREFIX}/${PKGMANDIR} \
-                       --default-lv2-path=${BUILDLINK_PREFIX.lv2}/lib/lv2 \
-                       ${BUILD_OPTIONS}
-do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
-
-do-install:
-       cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
-       ${INSTALL_DATA} ${WRKSRC}/utils/lilv.bash_completion \
-               ${DESTDIR}${PREFIX}/${EGDIR}/lilv
-       ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/bash_completion.d/lilv
-
+.include "options.mk"
+.include "../../devel/waf/waf.mk"
 BUILDLINK_API_DEPENDS.sratom+= sratom>=0.4.0
 .include "../../converters/sratom/buildlink3.mk"
 BUILDLINK_API_DEPENDS.lv2+=    lv2>=1.14.0
@@ -59,5 +37,4 @@
 .include "../../textproc/sord/buildlink3.mk"
 BUILDLINK_API_DEPENDS.serd+=   serd>=0.18.0
 .include "../../textproc/serd/buildlink3.mk"
-.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r dad19973a90f -r c7f462e59a56 audio/lilv/PLIST
--- a/audio/lilv/PLIST  Sat Dec 14 17:53:39 2019 +0000
+++ b/audio/lilv/PLIST  Sat Dec 14 18:02:50 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/01/02 20:31:48 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/12/14 18:02:50 nia Exp $
 bin/lilv-bench
 bin/lv2apply
 ${PLIST.lv2bench}bin/lv2bench
@@ -14,6 +14,6 @@
 man/man1/lv2info.1
 man/man1/lv2ls.1
 ${PLIST.doc}man/man3/lilv.3
+share/bash_completion.d/lilv
 ${PLIST.doc}share/doc/lilv-0/html/index.html
 ${PLIST.doc}share/doc/lilv-0/html/style.css
-share/examples/lilv/lilv
diff -r dad19973a90f -r c7f462e59a56 audio/lilv/buildlink3.mk
--- a/audio/lilv/buildlink3.mk  Sat Dec 14 17:53:39 2019 +0000
+++ b/audio/lilv/buildlink3.mk  Sat Dec 14 18:02:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2019/07/21 22:23:57 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2019/12/14 18:02:50 nia Exp $
 
 BUILDLINK_TREE+=       lilv
 
@@ -6,7 +6,7 @@
 LILV_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.lilv+=   lilv>=0.20.0
-BUILDLINK_ABI_DEPENDS.lilv?=   lilv>=0.24.4nb2
+BUILDLINK_ABI_DEPENDS.lilv+=   lilv>=0.24.4nb2
 BUILDLINK_PKGSRCDIR.lilv?=     ../../audio/lilv
 
 .include "../../audio/lv2/buildlink3.mk"
diff -r dad19973a90f -r c7f462e59a56 audio/lilv/distinfo
--- a/audio/lilv/distinfo       Sat Dec 14 17:53:39 2019 +0000
+++ b/audio/lilv/distinfo       Sat Dec 14 18:02:50 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2019/01/02 20:31:48 bsiegert Exp $
+$NetBSD: distinfo,v 1.5 2019/12/14 18:02:50 nia Exp $
 
-SHA1 (lilv-0.24.4.tar.bz2) = 8da8c0b42f9cb19477671d4e3c92c82a0638782b
-RMD160 (lilv-0.24.4.tar.bz2) = 7255f9e6650aa64ccbd55dde558e868bc76ea4e9
-SHA512 (lilv-0.24.4.tar.bz2) = cb909c83dbac36b51a206fe508aec51e52ddf068f9a159d053888594402def8d140aae0d9e1e1866e722396f7ec8dea4b86d4c1b958f56eb3193b78307918a89
-Size (lilv-0.24.4.tar.bz2) = 252209 bytes
+SHA1 (lilv-0.24.6.tar.bz2) = e9fe09960dc4a6ec259e7f9bf75eb52530761e10
+RMD160 (lilv-0.24.6.tar.bz2) = d154046fe392e8f857fc26b64d819ca469ef7172
+SHA512 (lilv-0.24.6.tar.bz2) = 0cf89d7dac97727e744579d3f4f4b330f56cf72f1a30bd03abfd645233aaf04e9bbf2abf460a0e4b963ed40e1ae78ed5f36127553bdab16e3e7dd3e93b70cdad
+Size (lilv-0.24.6.tar.bz2) = 541765 bytes
 SHA1 (patch-src_util.c) = e30ab85a08b3fb15c386b26a0ea55848d27a479c
+SHA1 (patch-wscript) = 854d549c0332266778bacbe21be3325dcd5adffe
diff -r dad19973a90f -r c7f462e59a56 audio/lilv/options.mk
--- a/audio/lilv/options.mk     Sat Dec 14 17:53:39 2019 +0000
+++ b/audio/lilv/options.mk     Sat Dec 14 18:02:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2015/04/20 03:21:58 rodent Exp $
+# $NetBSD: options.mk,v 1.2 2019/12/14 18:02:50 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.lilv
 PKG_SUPPORTED_OPTIONS= debug doc tests
@@ -8,22 +8,16 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mdebug)
-BUILD_DEBUG=           --debug
-.else
-BUILD_DEBUG=           # blank
+WAF_ARGS+=             --debug
 .endif
 
 .if !empty(PKG_OPTIONS:Mdoc)
-BUILD_DOC=             --docs
+WAF_ARGS+=             --docs
 BUILD_DEPENDS+=                doxygen-[0-9]*:../../devel/doxygen
 BUILD_DEPENDS+=                graphviz-[0-9]*:../../graphics/graphviz
 PLIST.doc=             yes
-.else
-BUILD_DOC=             # blank
 .endif
 
 .if !empty(PKG_OPTIONS:Mtests)
-BUILD_TESTS=           --test
-.else
-BUILD_TESTS=           # blank
+WAF_ARGS+=             --test
 .endif
diff -r dad19973a90f -r c7f462e59a56 audio/lilv/patches/patch-wscript
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/lilv/patches/patch-wscript  Sat Dec 14 18:02:50 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-wscript,v 1.1 2019/12/14 18:02:51 nia Exp $
+
+Install completions to correct location.
+
+--- wscript.orig       2019-11-10 21:39:53.000000000 +0000
++++ wscript
+@@ -438,7 +438,7 @@ def build(bld):
+     # Bash completion
+     if bld.env.BASH_COMPLETION:
+         bld.install_as(
+-            '${SYSCONFDIR}/bash_completion.d/lilv', 'utils/lilv.bash_completion')
++            'share/bash_completion.d/lilv', 'utils/lilv.bash_completion')
+ 
+     bld.add_post_fun(autowaf.run_ldconfig)
+ 



Home | Main Index | Thread Index | Old Index