Initial .bep and patch files for libmms, from michaelvoliveira.

This commit is contained in:
Scott McCreary
2010-06-19 21:12:33 +00:00
parent 287ae93e58
commit 59ab3191bd
3 changed files with 63 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ STATUS_HAIKU="broken"
DEPEND="dev-util/pkgconfig >= 0.23"
BUILD {
cd fontconfig-2.8.0
mkdir -p /boot/home/config/cache
libtoolize --force --copy --install
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.in
aclocal

View File

@@ -0,0 +1,22 @@
DESCRIPTION="libmms - Common library for accessing Microsoft Media Server (MMS) media streaming protocol"
HOMEPAGE="https://launchpad.net/libmms"
SRC_URI="http://launchpad.net/libmms/trunk/0.5/+download/libmms-0.5.tar.gz"
CHECKSUM_MD5="cf83053ec891f14e73a04c84d9de08ee"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-libs/glib >= 2.0"
BUILD {
cd libmms-0.5
./autogen.sh
./configure --prefix=/boot/common
make
}
INSTALL {
cd libmms-0.5
make install
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2009 Xine project"

View File

@@ -0,0 +1,40 @@
diff -Naur libmms-0.5/configure.in libmms-0.5-haiku/configure.in
--- libmms-0.5/configure.in 2009-11-03 07:21:23.038273024 -0200
+++ libmms-0.5-haiku/configure.in 2010-06-19 01:51:54.807141376 -0300
@@ -3,6 +3,8 @@
AM_CONFIG_HEADER([config.h src/mms_config.h])
AC_CONFIG_SRCDIR(configure.in)
+AC_CHECK_HEADERS(sys/select.h)
+
AC_ISC_POSIX
AC_PROG_CC
AC_STDC_HEADERS
diff -Naur libmms-0.5/src/mms.c libmms-0.5-haiku/src/mms.c
--- libmms-0.5/src/mms.c 2009-11-03 07:18:02.033816576 -0200
+++ libmms-0.5-haiku/src/mms.c 2010-06-19 01:51:10.941621248 -0300
@@ -32,6 +32,10 @@
#include "config.h"
#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#include <unistd.h>
#include <stdio.h>
#include <sys/socket.h>
diff -Naur libmms-0.5/src/mmsh.c libmms-0.5-haiku/src/mmsh.c
--- libmms-0.5/src/mmsh.c 2009-11-03 07:18:02.034078720 -0200
+++ libmms-0.5-haiku/src/mmsh.c 2010-06-19 01:45:17.941621248 -0300
@@ -34,6 +34,10 @@
#include "config.h"
#endif
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
+
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>