Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if enabled libbluray_external; then
- if $(pkg-config --atleast-version="0.9.3" libbluray); then
- use_pkg_config libbluray libbluray libbluray/bluray.h bd_open
- else
- case $target_os in
- linux)
- # Some older supported linux versions don't have a
- # libbluray current enough to support MythTV. Allow
- # only those systems to reach the bottom of the
- # following case statement. This list should only
- # shrink over time.
- . /etc/os-release
- case $ID in
- centos)
- if test $VERSION_ID -gt 7; then
- die "ERROR: can not find libbluray."
- fi
- ;;
- ubuntu)
- case $VERSION_ID in
- 17*|18*|19*|2*)
- die "ERROR: can not find libbluray."
- ;;
- esac
- ;;
- debian)
- if test $VERSION_ID -gt 8; then
- die "ERROR: can not find libbluray."
- fi
- ;;
- *)
- die "ERROR: can not find libbluray."
- ;;
- esac
- disable libbluray_external
- ;;
- *)
- # FreeBSD provides libbluray 1.0.2
- # All others unknown.
- die "ERROR: can not find libbluray."
- ;;
- esac
- fi
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement