Import liblo. Needed by upcoming port of ardour.
liblo is a lightweight library that provides an easy to use implementation of the Open Sound Control (OSC) protocol. ok ajacoutot
This commit is contained in:
parent
47d9abb629
commit
d5a7e611ca
21
audio/liblo/Makefile
Normal file
21
audio/liblo/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
|
||||
COMMENT = open sound control protocol library
|
||||
DISTNAME = liblo-0.26
|
||||
SHARED_LIBS = lo 0.0
|
||||
CATEGORIES = audio
|
||||
HOMEPAGE = http://liblo.sourceforge.net/
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = c m pthread
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=liblo/}
|
||||
BUILD_DEPENDS = devel/doxygen
|
||||
USE_LIBTOOL = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
.include <bsd.port.mk>
|
5
audio/liblo/distinfo
Normal file
5
audio/liblo/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (liblo-0.26.tar.gz) = U1HeFCYlYOFefyOGUpOxbw==
|
||||
RMD160 (liblo-0.26.tar.gz) = OAAl0NeSgLE5KdqC2y4JCKP0vjk=
|
||||
SHA1 (liblo-0.26.tar.gz) = IZQsjxnpgptYQsuFNS+YxJ37yCM=
|
||||
SHA256 (liblo-0.26.tar.gz) = pjb7CfgXitDVMD6U/sN7GC0wYqDj2u6F7tKjmrYjIlg=
|
||||
SIZE (liblo-0.26.tar.gz) = 519750
|
29
audio/liblo/patches/patch-configure
Normal file
29
audio/liblo/patches/patch-configure
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
--- configure.orig Mon Jan 2 19:12:26 2012
|
||||
+++ configure Mon Jan 2 19:12:38 2012
|
||||
@@ -10997,13 +10997,13 @@ fi
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
|
||||
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
|
||||
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
|
||||
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-lpthread $LIBS"
|
||||
+LIBS="-pthread $LIBS"
|
||||
cat >conftest.$ac_ext <<_ACEOF
|
||||
/* confdefs.h. */
|
||||
_ACEOF
|
||||
@@ -11063,7 +11063,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
|
||||
#define HAVE_LIBPTHREAD 1
|
||||
_ACEOF
|
||||
|
||||
- LIBS="-lpthread $LIBS"
|
||||
+ LIBS="-pthread $LIBS"
|
||||
|
||||
fi
|
||||
|
10
audio/liblo/patches/patch-liblo_pc_in
Normal file
10
audio/liblo/patches/patch-liblo_pc_in
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-liblo_pc_in,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
--- liblo.pc.in.orig Mon Jan 23 18:28:44 2012
|
||||
+++ liblo.pc.in Mon Jan 23 18:28:52 2012
|
||||
@@ -6,5 +6,5 @@ includedir=@includedir@
|
||||
Name: liblo
|
||||
Version: @PACKAGE_VERSION@
|
||||
Description: A lightweight OSC server/client library
|
||||
-Libs: -L${libdir} -llo -lpthread
|
||||
+Libs: -L${libdir} -llo -pthread
|
||||
Cflags: -I${includedir}
|
12
audio/liblo/patches/patch-src_Makefile_in
Normal file
12
audio/liblo/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
--- src/Makefile.in.orig Mon Jan 23 18:28:05 2012
|
||||
+++ src/Makefile.in Mon Jan 23 18:28:15 2012
|
||||
@@ -227,7 +227,7 @@ SOURCE_FILES = address.c send.c message.c server.c met
|
||||
lib_LTLIBRARIES = liblo.la
|
||||
liblo_la_CFLAGS = -Wall -I$(top_srcdir)
|
||||
liblo_la_SOURCES = $(SOURCE_FILES)
|
||||
-liblo_la_LIBADD = -lpthread
|
||||
+liblo_la_LIBADD = -pthread
|
||||
liblo_la_LDFLAGS = -export-dynamic -version-info @LO_SO_VERSION@
|
||||
testlo_CFLAGS = -Wall -I$(top_srcdir)
|
||||
testlo_SOURCES = testlo.c
|
11
audio/liblo/patches/patch-src_lo_types_internal_h
Normal file
11
audio/liblo/patches/patch-src_lo_types_internal_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_lo_types_internal_h,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
--- src/lo_types_internal.h.orig Mon Jan 2 19:04:53 2012
|
||||
+++ src/lo_types_internal.h Mon Jan 2 19:05:09 2012
|
||||
@@ -6,6 +6,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
4
audio/liblo/pkg/DESCR
Normal file
4
audio/liblo/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
liblo is a lightweight library that provides an easy to use implementation of
|
||||
the OSC protocol. For more information about the OSC protocol, please see:
|
||||
- http://www.cnmat.berkeley.edu/OpenSoundControl/
|
||||
- http://www.opensoundcontrol.org/
|
2
audio/liblo/pkg/PFRAG.shared
Normal file
2
audio/liblo/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
@lib lib/liblo.so.${LIBlo_VERSION}
|
17
audio/liblo/pkg/PLIST
Normal file
17
audio/liblo/pkg/PLIST
Normal file
@ -0,0 +1,17 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/16 12:26:28 stsp Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/oscdump
|
||||
@bin bin/oscsend
|
||||
include/lo/
|
||||
include/lo/lo.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_throw.h
|
||||
include/lo/lo_types.h
|
||||
lib/liblo.a
|
||||
lib/liblo.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/liblo.pc
|
Loading…
Reference in New Issue
Block a user