Hi all,
as my first development project I tried building a package for vdr-plugin-xineliboutput. Building the necessary xine-lib worked without problems, running configure for xineliboutput showed no errors but it looks as if make could not find a makefile: "make: *** No targets specified and no makefile found. Stop."
This is the xine-lib package
Code
PKG_NAME="xine-lib"PKG_VERSION="1.2.9"
PKG_ARCH="any"PKG_LICENSE="GPL"
PKG_SITE="https://www.xine-project.org/releases"
PKG_URL="http://sourceforge.net/projects/xine/files/xine-lib/$PKG_VERSION/xine-lib-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain vdr libva"
PKG_SHORTDESC="xine-lib"
PKG_LONGDESC="xine-lib is the xine core engine"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_LOCALE_INSTALL="yes"
This is the package for xineliboutput. The make_target is copied from libreelec's vdr-plugins folder. It's just one version of many that I tried.
Code
PKG_NAME="vdr-plugin-xineliboutput"
PKG_VERSION="2.1.0"
PKG_LICENSE="GPL"
PKG_SITE="http://phivdr.dyndns.org/vdr/vdr-xineliboutput/"
PKG_URL="http://phivdr.dyndns.org/vdr/vdr-xineliboutput/vdr-xineliboutput-$PKG_VERSION.tgz"
PKG_DEPENDS_TARGET="toolchain vdr xine-lib libextractor"
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
PKG_SHORTDESC="vdr xineliboutput"
PKG_LONGDESC="X11 and Linux framebuffer front-end for VDR"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_TOOLCHAIN="manual"
configure_target() {
../configure --enable-x11 \
--enable-vdr \
--enable-libxine \
--disable-dbus-glib-1 \
--cc=$CC \
--cxx=$CXX }
make_target() {
VDR_DIR=$(get_build_dir vdr)
export PKG_CONFIG_PATH=$VDR_DIR:$PKG_CONFIG_PATH
export CPLUS_INCLUDE_PATH=$VDR_DIR/include
make \
LIBDIR="." \
LOCDIR="./locale"
}
Display More
Command line output:
Code
UNPACK
vdr-plugin-xineliboutputBUILD
vdr-plugin-xineliboutput (target)
TOOLCHAIN
manual
Checking for pkg-config ... yes
Checking for pkg-config libextractor ... yes
Checking for pkg-config libcap ... yes
Checking for pkg-config libbluray ... yes
Checking for pkg-config avahi-client ... yes
Checking for pkg-config libxine ... yes
Checking for pkg-config dlfcn ... no
Checking for dlfcn ... yes
Checking for xine plugin directory ... /usr/lib/xine/plugins/2.7
Checking for pkg-config libavutil ... yes
Checking for pkg-config libjpeg ... yes
Checking for pkg-config x11 ... yes
Checking for pkg-config pthread ... no
Checking for pthread ... yes
Checking for pkg-config libcec ... yes
Checking for pkg-config xext ... yes
Checking for pkg-config xshm ... no
Checking for xshm ... yes
Checking for pkg-config xrandr ... yes
Checking for pkg-config xrender ... yes
Checking for pkg-config xshape ... no
Checking for xshape ... yes
Checking for pkg-config xdpms ... no
Checking for xdpms ... yes
Checking for pkg-config xinerama ... yes
Checking for pkg-config opengl ... no
Checking for opengl ... yes
Checking for pkg-config vdpau ... yes
Not checking for dbus-glib-1
Enabled features:
x11
fb
vdr
libxine
libextractor
libavutil
libjpeg
xshm
xdpms
xinerama
xrandr
xrender
xshape
opengl
pthread
dlfcn
vdpau
i18n
libcap
libbluray
libcec
avahi-client
Disabled features:
dbus_glib_1
mce-dbus-names
Creating features.h ...
Creating config.mak ...
make: *** No targets specified and no makefile found. Stop
Display More
I hope that someone can help. Thanks in advance.
Alex