aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux
diff options
context:
space:
mode:
authorceros7 <ceros7@svn>2010-08-02 01:26:21 +0000
committerceros7 <ceros7@svn>2010-08-02 01:26:21 +0000
commit65308e1ee3fa1d8f49e3f557dfc082cf41ee8d53 (patch)
treee99672ce63df398b172b40bc272496704b49007c /tools/Linux
parentab79b2d3c6dbc7ac27c803618404b89af4b82b1f (diff)
Add librtmp0 as depends for xbmc-bin.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32410 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/Linux')
-rwxr-xr-xtools/Linux/packaging/debian/rules2
-rw-r--r--tools/Linux/packaging/debian/var_info5
2 files changed, 7 insertions, 0 deletions
diff --git a/tools/Linux/packaging/debian/rules b/tools/Linux/packaging/debian/rules
index 9eab627bd4..1b6dfc0538 100755
--- a/tools/Linux/packaging/debian/rules
+++ b/tools/Linux/packaging/debian/rules
@@ -111,3 +111,5 @@ override_dh_gencontrol:
-i "debian/xbmc-bin/DEBIAN/control"
sed "s/^Depends:.*$$/&, $$(sh debian/var_info LIBVDPAU_DEPENDS)/" \
-i "debian/xbmc-bin/DEBIAN/control"
+ sed "s/^Depends:.*$$/&, $$(sh debian/var_info LIBRTMP_DEPENDS)/" \
+ -i "debian/xbmc-bin/DEBIAN/control"
diff --git a/tools/Linux/packaging/debian/var_info b/tools/Linux/packaging/debian/var_info
index f5fe0e352b..975d24ffaa 100644
--- a/tools/Linux/packaging/debian/var_info
+++ b/tools/Linux/packaging/debian/var_info
@@ -75,6 +75,11 @@ case "$1" in
fi
printf "$LIBVDPAU_DEPENDS"
;;
+ LIBRTMP_DEPENDS)
+ LIBRTMP_DEPENDS=$(cat /var/lib/dpkg/info/librtmp0.shlibs | \
+ sed 's/^[^[:space:]]\+\?[[:space:]]\+\?[^[:space:]]\+\?[[:space:]]\+\?\(.*\)$/\1/')
+ printf "$LIBRTMP_DEPENDS"
+ ;;
esac
exit 0