diff --git a/packages/3rdparty/multimedia/vdr-xineliboutput/build b/packages/3rdparty/multimedia/vdr-xineliboutput/build new file mode 100755 index 0000000000..f63b726368 --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-xineliboutput/build @@ -0,0 +1,50 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +VDR_DIR=$(basename $BUILD/vdr-[0-9]*) + +export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/usr/local/lib/pkgconfig:${PKG_CONFIG_SYSROOT_DIR}buildd/lib/pkgconfig" + +cd $PKG_BUILD + +./configure --enable-x11 \ + --enable-vdr \ + --enable-libxine \ + --disable-dbus-glib-1 \ + --cc=$CC \ + --cxx=$CXX \ + --add-cflags="$CFLAGS" + +# mpg2c is running on host +make mpg2c \ + CC="$HOST_CC" \ + CFLAGS="$HOST_CFLAGS" \ + LDFLAGS="$HOST_LDFLAGS" \ + VDRDIR="../$VDR_DIR" \ + LIBDIR="." \ + LOCALEDIR="./locale" + +make VDRDIR="../$VDR_DIR" \ + LIBDIR="." \ + LOCALEDIR="./locale" diff --git a/packages/3rdparty/multimedia/vdr-xineliboutput/meta b/packages/3rdparty/multimedia/vdr-xineliboutput/meta new file mode 100644 index 0000000000..fa1099630b --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-xineliboutput/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="vdr-xineliboutput" +PKG_VERSION="20120506" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://sourceforge.net/projects/xineliboutput/" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="vdr xine-lib" +PKG_BUILD_DEPENDS="toolchain vdr xine-lib" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="xine-lib based software output device for VDR." +PKG_LONGDESC="xine-lib based software output device for VDR." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no"