0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-16 00:59:10 +00:00
2024-04-14 13:44:43 +00:00

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.7"
PKG_SHA256="b27addea2d1cd6919d03d865a14ae043cacc600b1e4670530ef3bbeb6b3083e1"
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
}