pkgsrc-Users archive

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

building audio/ardour on Linux, patch for libhidapi



Hi,

I recently needed a fresher Ardour on a Linux box and tried getting it
via pkgsrc. I managed to do that with the supplied patch that adds a
missing dependency to libudev, the build complained on me.

Also, the Ardour PLIST needed addition of
lib/ardour6/libardouralsautil.so*c:

--- audio/ardour/PLIST	11 Sep 2021 16:33:11 -0000	1.3
+++ audio/ardour/PLIST	31 Oct 2022 18:37:46 -0000
@@ -35,6 +35,9 @@
 lib/ardour6/ardour-exec-wrapper
 lib/ardour6/ardour-vst-scanner
 ${PLIST.alsa}lib/ardour6/backends/libalsa_audiobackend.so
+${PLIST.alsa}lib/ardour6/libardouralsautil.so
+${PLIST.alsa}lib/ardour6/libardouralsautil.so.0
+${PLIST.alsa}lib/ardour6/libardouralsautil.so.0.0.1
 lib/ardour6/backends/libdummy_audiobackend.so
 ${PLIST.jack}lib/ardour6/backends/libjack_audiobackend.so
 lib/ardour6/engines/libclearlooks.so

I'm not sure how universal those changes are to any Linux box. Also, I
didn't get actual sound out of Ardour, maybe some conflict with
pulseaudio on Ubuntu, but I was able to do the renderings I wanted. I'm
not sure how much work I'd invest int he Ardour packaging here, as I
got other priorities. So dropping this mail to the list.

Is there anyone here interested in using Ardour and able to
confirm/deny the necessity of the patches? Of course, in the case of
libudev, we'd need to import from WIP first.

And also, if we are serious in offering Ardour for audio work, there
should be some packaging of plugins. I did not see the calf plugin suite
at first glance. I just did ln -s /usr/lib/lv2 ~/.lv2 to use those from
the host, but providing a pkgsrc package wouln't be too difficult, I
guess.


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg
Index: comms/libhidapi/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/comms/libhidapi/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- comms/libhidapi/Makefile	7 Dec 2021 16:42:13 -0000	1.5
+++ comms/libhidapi/Makefile	31 Oct 2022 18:06:37 -0000
@@ -4,6 +4,7 @@
 GITHUB_TAG=	${GITHUB_PROJECT}-0.11.0
 DISTNAME=	${GITHUB_TAG}
 PKGNAME=	lib${DISTNAME}
+PKGREVISION=	1
 CATEGORIES=	comms devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=libusb/}
 
@@ -32,6 +33,10 @@
 PLIST.libusb=	yes
 .endif
 
+.if ${OPSYS} == "Linux"
+.include "../../wip/libudev/buildlink3.mk"
+.endif
+
 pre-configure:
 	cd ${WRKSRC} && ${SH} ./bootstrap
 
Index: comms/libhidapi/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/comms/libhidapi/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- comms/libhidapi/PLIST	7 Dec 2021 16:42:13 -0000	1.4
+++ comms/libhidapi/PLIST	31 Oct 2022 18:06:37 -0000
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.4 2021/12/07 16:42:13 jperkin Exp $
+@comment $NetBSD$
 include/hidapi/hidapi.h
-${PLIST.libusb}include/hidapi/hidapi_libusb.h
-lib/libhidapi.la
-lib/pkgconfig/hidapi.pc
+include/hidapi/hidapi_libusb.h
+lib/libhidapi-hidraw.la
+lib/libhidapi-libusb.la
+lib/pkgconfig/hidapi-hidraw.pc
+lib/pkgconfig/hidapi-libusb.pc
 share/doc/hidapi/AUTHORS.txt
 share/doc/hidapi/LICENSE-bsd.txt
 share/doc/hidapi/LICENSE-gpl3.txt
cvs diff: Diffing comms/libhidapi/patches


Home | Main Index | Thread Index | Old Index