mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
new package:
- add package libupnp
This commit is contained in:
parent
225c951bd4
commit
1fb6fb80e4
19
packages/sysutils/libupnp/build
Executable file
19
packages/sysutils/libupnp/build
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=$LIB_PREFIX \
|
||||
--disable-shared \
|
||||
--enable-client \
|
||||
--disable-device \
|
||||
--disable-webserver \
|
||||
--disable-samples \
|
||||
--without-docdir \
|
||||
--enable-tools
|
||||
make
|
||||
make install
|
21
packages/sysutils/libupnp/patches/01_ContentTypeHeader.diff
Normal file
21
packages/sysutils/libupnp/patches/01_ContentTypeHeader.diff
Normal file
@ -0,0 +1,21 @@
|
||||
--- libupnp-1.4.1.old/upnp/src/soap/soap_device.c
|
||||
+++ libupnp-1.4.1/upnp/src/soap/soap_device.c
|
||||
@@ -69,9 +69,6 @@
|
||||
static const char *Soap_Action_Failed = "Action Failed";
|
||||
static const char *Soap_Invalid_Var = "Invalid Var";
|
||||
|
||||
-const char *ContentTypeHeader =
|
||||
- "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n";
|
||||
-
|
||||
/****************************************************************************
|
||||
* Function : get_request_type
|
||||
*
|
||||
@@ -1074,3 +1071,8 @@
|
||||
#endif // EXCLUDE_SOAP
|
||||
|
||||
#endif // INCLUDE_DEVICE_APIS
|
||||
+
|
||||
+#if (!defined INCLUDE_DEVICE_APIS && defined INCLUDE_CLIENT_APIS) || defined INCLUDE_DEVICE_APIS
|
||||
+ const char *ContentTypeHeader =
|
||||
+ "CONTENT-TYPE: text/xml; charset=\"utf-8\"\r\n";
|
||||
+#endif
|
1
packages/sysutils/libupnp/url
Normal file
1
packages/sysutils/libupnp/url
Normal file
@ -0,0 +1 @@
|
||||
http://prdownloads.sourceforge.net/pupnp/libupnp-1.6.6.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user