mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 06:56:19 +00:00
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="vdr"
|
|
PKG_VERSION="2.6.3"
|
|
PKG_SHA256="3db99b7ebbc0a60b72b191785af27efd49385bd08ef9fb7a8a83694323954ccf"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.tvdr.de"
|
|
PKG_URL="http://git.tvdr.de/?p=vdr.git;a=snapshot;h=refs/tags/${PKG_VERSION};sf=tbz2"
|
|
PKG_SOURCE_NAME="${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain bzip2 fontconfig freetype libcap libiconv libjpeg-turbo"
|
|
PKG_LONGDESC="A DVB TV server application."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
post_unpack() {
|
|
rm -rf ${PKG_BUILD}/PLUGINS/src/skincurses
|
|
}
|
|
|
|
pre_configure_target() {
|
|
export LDFLAGS="$(echo ${LDFLAGS} | sed -e "s|-Wl,--as-needed||") -L${SYSROOT_PREFIX}/usr/lib/iconv"
|
|
}
|
|
|
|
pre_make_target() {
|
|
cat > Make.config <<EOF
|
|
PLUGINLIBDIR = /usr/lib/vdr
|
|
PREFIX = /usr
|
|
VIDEODIR = /storage/videos
|
|
CONFDIR = /storage/.config/vdr
|
|
LOCDIR = ./locale
|
|
LIBS += -liconv
|
|
NO_KBD=yes
|
|
VDR_USER=root
|
|
EOF
|
|
}
|
|
|
|
make_target() {
|
|
make vdr vdr.pc
|
|
make LOCDIR=./dummylocale install-i18n
|
|
make include-dir
|
|
}
|