Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Take care of package dependency against dlopen-ed libcec.

  • Loading branch information...
commit a482804caecdd481b408f851338239517c62e8f5 1 parent fa490ac
@rafal-krypa rafal-krypa authored
Showing with 7 additions and 0 deletions.
  1. +2 −0  debian/rules
  2. +5 −0 debian/var_info
View
2  debian/rules
@@ -147,3 +147,5 @@ override_dh_gencontrol:
-i "debian/xbmc-bin/DEBIAN/control"
sed "s/^Depends:.*$$/&, $$(sh debian/var_info LIBRTMP_DEPENDS)/" \
-i "debian/xbmc-bin/DEBIAN/control"
+ sed "s/^Depends:.*$$/&, $$(sh debian/var_info LIBCEC_DEPENDS)/" \
+ -i "debian/xbmc-bin/DEBIAN/control"
View
5 debian/var_info
@@ -166,6 +166,11 @@ case "$1" in
sed 's/^[^[:space:]]\+\?[[:space:]]\+\?[^[:space:]]\+\?[[:space:]]\+\?\(.*\)$/\1/')
printf "$LIBRTMP_DEPENDS"
;;
+ LIBCEC_DEPENDS)
+ LIBCEC_DEPENDS=$(cat /var/lib/dpkg/info/libcec*.shlibs | \
+ sed 's/^[^[:space:]]\+\?[[:space:]]\+\?[^[:space:]]\+\?[[:space:]]\+\?\(.*\)$/\1/')
+ printf "$LIBCEC_DEPENDS"
+ ;;
esac
exit 0
Please sign in to comment.
Something went wrong with that request. Please try again.