diff options
author | kamil <kamil@pkgsrc.org> | 2016-06-20 08:09:40 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2016-06-20 08:09:40 +0000 |
commit | 89647cfb0cbcaf91c00d458139ff7ce99d9c9546 (patch) | |
tree | fa32123183eaa7b25f6c65151efdc039195760b2 | |
parent | 7ad93fc37dd7c2863a8397fd6e2fee975397765c (diff) | |
download | pkgsrc-89647cfb0cbcaf91c00d458139ff7ce99d9c9546.tar.gz |
Import liblo-0.28 as audio/liblo
liblo is an implementation of the Open Sound Control
protocol for POSIX systems.
Originally packaged in pkgsrc-wip by:
- Johann Franz,
- Sergey Svishchev,
- Blair Sadewitz,
- Tobias Nygren,
- Joerg Sonnenberg,
- Thomas Klausner,
- Aleksej Saushev,
- Blue Rats
and
- myself.
-rw-r--r-- | audio/liblo/DESCR | 2 | ||||
-rw-r--r-- | audio/liblo/Makefile | 33 | ||||
-rw-r--r-- | audio/liblo/PLIST | 15 | ||||
-rw-r--r-- | audio/liblo/buildlink3.mk | 14 | ||||
-rw-r--r-- | audio/liblo/distinfo | 7 | ||||
-rw-r--r-- | audio/liblo/patches/patch-ac | 14 |
6 files changed, 85 insertions, 0 deletions
diff --git a/audio/liblo/DESCR b/audio/liblo/DESCR new file mode 100644 index 00000000000..355df28f369 --- /dev/null +++ b/audio/liblo/DESCR @@ -0,0 +1,2 @@ +liblo is an implementation of the Open Sound Control +protocol for POSIX systems. diff --git a/audio/liblo/Makefile b/audio/liblo/Makefile new file mode 100644 index 00000000000..976d6889ebc --- /dev/null +++ b/audio/liblo/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2016/06/20 08:09:40 kamil Exp $ +# + +DISTNAME= liblo-0.28 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=liblo/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://liblo.sourceforge.net/ +COMMENT= Lightweight Open Sound Control implementation +LICENSE= gnu-lgpl-v2.1 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ + +CFLAGS+= ${PTHREAD_CFLAGS} +PKGCONFIG_OVERRIDE+= liblo.pc.in +PTHREAD_OPTS+= require +RESOLV_AUTO_VARS= yes # gethostbyname and friends + +SUBST_CLASSES+= conf +SUBST_FILES.conf= configure Makefile.in src/Makefile.in liblo.pc.in +SUBST_MESSAGE.conf= Performing build-time configuration substitutions. +SUBST_SED.conf= -e 's,-lpthread,$${PTHREAD_LDFLAGS} $${PTHREAD_LIBS},' +SUBST_STAGE.conf= post-patch +SUBST_VARS.conf= PTHREAD_CFLAGS PTHREAD_LDFLAGS PTHREAD_LIBS + + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/resolv.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/liblo/PLIST b/audio/liblo/PLIST new file mode 100644 index 00000000000..bfff07aaeb4 --- /dev/null +++ b/audio/liblo/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2016/06/20 08:09:40 kamil Exp $ +bin/oscdump +bin/oscsend +include/lo/lo.h +include/lo/lo_cpp.h +include/lo/lo_endian.h +include/lo/lo_errors.h +include/lo/lo_lowlevel.h +include/lo/lo_macros.h +include/lo/lo_osc_types.h +include/lo/lo_serverthread.h +include/lo/lo_throw.h +include/lo/lo_types.h +lib/liblo.la +lib/pkgconfig/liblo.pc diff --git a/audio/liblo/buildlink3.mk b/audio/liblo/buildlink3.mk new file mode 100644 index 00000000000..139f5b04b4a --- /dev/null +++ b/audio/liblo/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2016/06/20 08:09:40 kamil Exp $ + +BUILDLINK_TREE+= liblo + +.if !defined(LIBLO_BUILDLINK3_MK) +LIBLO_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.liblo+= liblo>=0.23 +BUILDLINK_PKGSRCDIR.liblo?= ../../wip/liblo + +.include "../../mk/pthread.buildlink3.mk" +.endif # LIBLO_BUILDLINK3_MK + +BUILDLINK_TREE+= -liblo diff --git a/audio/liblo/distinfo b/audio/liblo/distinfo new file mode 100644 index 00000000000..849487e7fc7 --- /dev/null +++ b/audio/liblo/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2016/06/20 08:09:40 kamil Exp $ + +SHA1 (liblo-0.28.tar.gz) = 949d5f0c9919741c67602514786b9c7366fa001b +RMD160 (liblo-0.28.tar.gz) = 473806e0ca5d383ee07d657103f43c7f90ff7b15 +SHA512 (liblo-0.28.tar.gz) = 05818218d2d6a7042714b8fa905e7242fb9707795ad53ea27b2a1af3661f0822d25585ce17d286aa269c534ef24e19e377e041bf7fe194c8e47c0046fefcb85f +Size (liblo-0.28.tar.gz) = 591659 bytes +SHA1 (patch-ac) = 4bcb0a73efa2739f32b7feb73a71472d4f16a51b diff --git a/audio/liblo/patches/patch-ac b/audio/liblo/patches/patch-ac new file mode 100644 index 00000000000..c83270fe6c0 --- /dev/null +++ b/audio/liblo/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2016/06/20 08:09:40 kamil Exp $ + +Fixes pthread LIBS and CFLAGS. + +--- liblo.pc.in.orig 2013-07-25 10:14:32.000000000 +0000 ++++ liblo.pc.in +@@ -6,5 +6,5 @@ includedir=@includedir@ + Name: liblo + Version: @PACKAGE_VERSION@ + Description: A lightweight OSC server/client library +-Libs: -L${libdir} -llo @LIBPTHREAD@ @extralibs@ +-Cflags: -I${includedir} ++Libs: -L${libdir} -llo @LIBPTHREAD@ @PTHREAD_LIBS@ @extralibs@ ++Cflags: -I${includedir} @PTHREAD_CFLAGS@ |