diff --git a/packages/multimedia/libvdpau/build b/packages/multimedia/libvdpau/build deleted file mode 100755 index 32e5fe19d6..0000000000 --- a/packages/multimedia/libvdpau/build +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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 of the License, or -# (at your option) any later version. -# -# OpenELEC 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. If not, see . -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --enable-shared \ - --disable-static \ - --enable-dri2 \ - --disable-documentation \ - --with-module-dir=/usr/lib/vdpau - -make - -$MAKEINSTALL diff --git a/packages/multimedia/libvdpau/install b/packages/multimedia/libvdpau/install deleted file mode 100755 index 58472c503a..0000000000 --- a/packages/multimedia/libvdpau/install +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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 of the License, or -# (at your option) any later version. -# -# OpenELEC 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. If not, see . -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/src/.libs/libvdpau.so* $INSTALL/usr/lib - cp -P $PKG_BUILD/trace/.libs/libvdpau_trace.so* $INSTALL/usr/lib diff --git a/packages/multimedia/libvdpau/meta b/packages/multimedia/libvdpau/package.mk similarity index 83% rename from packages/multimedia/libvdpau/meta rename to packages/multimedia/libvdpau/package.mk index 92355f63e3..b7b00dccb9 100644 --- a/packages/multimedia/libvdpau/meta +++ b/packages/multimedia/libvdpau/package.mk @@ -23,16 +23,20 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://freedesktop.org/wiki/Software/VDPAU" PKG_URL="http://people.freedesktop.org/~aplattner/vdpau/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="libX11" -PKG_BUILD_DEPENDS="toolchain libX11 dri2proto libXext" +PKG_DEPENDS_TARGET="libX11" +PKG_BUILD_DEPENDS_TARGET="toolchain libX11 dri2proto libXext" PKG_PRIORITY="optional" PKG_SECTION="multimedia" PKG_SHORTDESC="libvdpau: a Video Decode and Presentation API for UNIX." PKG_LONGDESC="VDPAU is the Video Decode and Presentation API for UNIX. It provides an interface to video decode acceleration and presentation hardware present in modern GPUs." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" if [ "$DEVTOOLS" = "yes" ]; then - PKG_DEPENDS="$PKG_DEPENDS vdpauinfo" + PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET vdpauinfo" fi + +PKG_CONFIGURE_OPTS_TARGET="--enable-dri2 \ + --disable-documentation \ + --with-module-dir=/usr/lib/vdpau"