Files
Arch-R/packages/multimedia/libbdplus/package.mk
T

30 lines
1.1 KiB
Makefile
Raw Normal View History

2018-07-16 20:45:36 +02:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2014-08-29 09:27:24 +02:00
PKG_NAME="libbdplus"
2022-11-20 19:35:28 +01:00
PKG_VERSION="0.2.0"
PKG_SHA256="b93eea3eaef33d6e9155d2c34b068c505493aa5a4936e63274f4342ab0f40a58"
2014-08-29 09:27:24 +02:00
PKG_LICENSE="GPL"
PKG_SITE="https://www.videolan.org/developers/libbdplus.html"
2021-01-19 19:34:10 +00:00
PKG_URL="http://download.videolan.org/pub/videolan/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
2014-08-29 09:27:24 +02:00
PKG_DEPENDS_TARGET="toolchain libgcrypt libgpg-error"
PKG_LONGDESC="libbdplus is a research project to implement the BD+ System Specifications."
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
--disable-extra-warnings \
--disable-optimizations \
2021-01-19 19:34:10 +00:00
--with-libgcrypt-prefix=${SYSROOT_PREFIX}/usr \
--with-gpg-error-prefix=${SYSROOT_PREFIX}/usr \
2014-08-29 09:27:24 +02:00
--with-gnu-ld"
2021-01-19 19:34:10 +00:00
if [ "${BLURAY_AACS_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libaacs"
PKG_CONFIGURE_OPTS_TARGET+=" --with-libaacs"
2014-08-29 09:27:24 +02:00
else
2021-01-19 19:34:10 +00:00
PKG_CONFIGURE_OPTS_TARGET+=" --without-libaacs"
2014-08-29 09:27:24 +02:00
fi
2022-01-13 07:53:54 +00:00
post_configure_target() {
libtool_remove_rpath libtool
}