[SCM] xbmc/wheezy-backports: Fall back to old location of DejaVuSans.ttf 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 75277c6b5bfc8acbd76a00d3449adeea9000a5a6
Author: Balint Reczey <balint at balintreczey.hu>
Date: Mon Jun 9 17:58:27 2014 +0700
Fall back to old location of DejaVuSans.ttf if needed
This helps backporting.
Conflicts:
debian/rules
diff --git a/debian/rules b/debian/rules
index ce8e3aa..f999495 100755
--- a/debian/rules
+++ b/debian/rules
@@ -103,6 +103,13 @@ override_dh_clean:
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)/\1/p')
GIMP_FAKE_HOMEDIR = $(CURDIR)/debian/tmp/home/user
+# fall back to old location of DejaVuSans.ttf if needed
+ifneq ("$(wildcard /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf)","")
+DEJAVUSANS=/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
+else
+DEJAVUSANS=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
+endif
+
override_dh_auto_configure: configure
sed -i 's/DEB_VERSION/"'$(VERSION)'"/' xbmc/GUIInfoManager.cpp
rm -r addons/service.xbmc.versioncheck
@@ -111,7 +118,7 @@ override_dh_auto_configure: configure
-ln -s /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf xbmc/visualizations/XBMCProjectM/libprojectM/fonts/
fontforge -script $(CURDIR)/debian/mergefonts.ff \
/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf \
- /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
+ $(DEJAVUSANS) \
$(CURDIR)/media/Fonts/arial.ttf
./bootstrap
./configure $(XBMC_CONFIG_OPTIONS)
--
xbmc packaging
More information about the pkg-multimedia-commits
mailing list