mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
vdr-plugin-streamdev: update to vdr-plugin-streamdev-329129d
This commit is contained in:
parent
280053214a
commit
1d744433d1
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
|
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
|
||||||
|
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||||
|
LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
PWD=`pwd`
|
PWD=`pwd`
|
||||||
make VDRDIR="$PWD/../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"
|
make VDRDIR="$PWD/../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="vdr-plugin-streamdev"
|
PKG_NAME="vdr-plugin-streamdev"
|
||||||
PKG_VERSION="f58086a"
|
PKG_VERSION="329129d"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
|
53
packages/3rdparty/multimedia/vdr-plugin-streamdev/patches/vdr-plugin-streamdev-01_makefile.patch
vendored
Normal file
53
packages/3rdparty/multimedia/vdr-plugin-streamdev/patches/vdr-plugin-streamdev-01_makefile.patch
vendored
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 90f3261..d80e15d 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -15,22 +15,15 @@ VERSION = $(shell grep 'const char \*VERSION *=' common.c | awk '{ print $$5 }'
|
||||||
|
|
||||||
|
### The directory environment:
|
||||||
|
|
||||||
|
-# Use package data if installed...otherwise assume we're under the VDR source directory:
|
||||||
|
-PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
|
||||||
|
-LIBDIR = $(call PKGCFG,libdir)
|
||||||
|
-LOCDIR = $(call PKGCFG,locdir)
|
||||||
|
-PLGCFG = $(call PKGCFG,plgcfg)
|
||||||
|
-#
|
||||||
|
TMPDIR ?= /tmp
|
||||||
|
|
||||||
|
### The compiler options:
|
||||||
|
|
||||||
|
-export CFLAGS = $(call PKGCFG,cflags)
|
||||||
|
-export CXXFLAGS = $(call PKGCFG,cxxflags)
|
||||||
|
+include $(VDRDIR)/Make.global
|
||||||
|
|
||||||
|
### The version number of VDR's plugin API:
|
||||||
|
|
||||||
|
-APIVERSION = $(call PKGCFG,apiversion)
|
||||||
|
+APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
|
||||||
|
|
||||||
|
### Allow user defined options to overwrite defaults:
|
||||||
|
|
||||||
|
diff --git a/client/Makefile b/client/Makefile
|
||||||
|
index ea9dc45..6fac485 100644
|
||||||
|
--- a/client/Makefile
|
||||||
|
+++ b/client/Makefile
|
||||||
|
@@ -72,6 +72,7 @@ install-i18n: $(I18Nmsgs)
|
||||||
|
|
||||||
|
$(SOFILE): $(CLIENTOBJS) $(COMMONOBJS) ../tools/sockettools.a
|
||||||
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ -o $@
|
||||||
|
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
|
||||||
|
install-lib: $(SOFILE)
|
||||||
|
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
||||||
|
diff --git a/server/Makefile b/server/Makefile
|
||||||
|
index 37cd4bb..8d2f49f 100644
|
||||||
|
--- a/server/Makefile
|
||||||
|
+++ b/server/Makefile
|
||||||
|
@@ -78,6 +78,7 @@ install-i18n: $(I18Nmsgs)
|
||||||
|
$(SOFILE): $(SERVEROBJS) $(COMMONOBJS) \
|
||||||
|
../tools/sockettools.a ../remux/remux.a ../libdvbmpeg/libdvbmpegtools.a
|
||||||
|
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ -o $@
|
||||||
|
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
|
||||||
|
install-lib: $(SOFILE)
|
||||||
|
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
|
@ -1,19 +0,0 @@
|
|||||||
commit 949a46ec2ea06d97a7fcd47adc33153215399ac5
|
|
||||||
Author: Stefan Saraev <stefan@saraev.ca>
|
|
||||||
Date: Sun Mar 4 16:39:58 2012 +0200
|
|
||||||
|
|
||||||
vdr-streamdev: adjust makefile for openelec
|
|
||||||
|
|
||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index b375844..231041f 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -21,8 +21,6 @@ VERSION = $(shell grep 'const char \*VERSION *=' common.c | awk '{ print $$5 }'
|
|
||||||
|
|
||||||
### The directory environment:
|
|
||||||
|
|
||||||
-VDRDIR = ../../..
|
|
||||||
-LIBDIR = ../../lib
|
|
||||||
TMPDIR = /tmp
|
|
||||||
|
|
||||||
### The version number of VDR (taken from VDR's "config.h"):
|
|
Loading…
x
Reference in New Issue
Block a user