[SCM] xbmc/wheezy-backports: Fall back to old location of libhdhomerun includes if needed

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Sat Jun 21 07:47:31 UTC 2014


The following commit has been merged in the wheezy-backports branch:
commit acf4a9ca6eae69560f1a9c548b4db668a3443381
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Sat Jun 21 00:28:42 2014 -0700

    Fall back to old location of libhdhomerun includes if needed

diff --git a/debian/rules b/debian/rules
index f999495..60018ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,11 @@ DEB_LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) $(shell pkg-config --libs
 ENV_OPTIONS = CFLAGS="$(DEB_CFLAGS)" CXXFLAGS="$(DEB_CXXFLAGS)" \
   LDFLAGS="$(DEB_LDFLAGS)"
 
+# fall back to old location of libhdhomerun includes if needed
+ifneq ("$(wildcard /usr/lib/libhdhomerun/hdhomerun.h)","")
+  DEB_CXXFLAGS += -I/usr/lib/
+endif
+
 # List of options to pass to configure. Can be overridden.
 # Extra options can simply be passed using XBMC_CONFIG_EXTRA_OPTIONS env
 # variable.

-- 
xbmc packaging



More information about the pkg-multimedia-commits mailing list