From 77bc2716780a8ad877af99bfceb3a65711fc9b2d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 2 Jan 2014 22:24:39 +0100 Subject: [PATCH] xf86-video-vmware: convert to new package format Signed-off-by: Stephan Raue --- packages/x11/driver/xf86-video-vmware/build | 35 ------------------- packages/x11/driver/xf86-video-vmware/install | 24 ------------- .../xf86-video-vmware/{meta => package.mk} | 9 +++-- 3 files changed, 6 insertions(+), 62 deletions(-) delete mode 100755 packages/x11/driver/xf86-video-vmware/build delete mode 100755 packages/x11/driver/xf86-video-vmware/install rename packages/x11/driver/xf86-video-vmware/{meta => package.mk} (85%) diff --git a/packages/x11/driver/xf86-video-vmware/build b/packages/x11/driver/xf86-video-vmware/build deleted file mode 100755 index 49b21a5d83..0000000000 --- a/packages/x11/driver/xf86-video-vmware/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 - -xorg_drv_configure_prepend - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-shared \ - --disable-static \ - --enable-vmwarectrl-client \ - --with-xorg-module-dir=$XORG_PATH_MODULES - -make diff --git a/packages/x11/driver/xf86-video-vmware/install b/packages/x11/driver/xf86-video-vmware/install deleted file mode 100755 index e70aa7b852..0000000000 --- a/packages/x11/driver/xf86-video-vmware/install +++ /dev/null @@ -1,24 +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 - -mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers - cp -P $PKG_BUILD/src/.libs/vmware_drv.so $INSTALL/$XORG_PATH_MODULES/drivers diff --git a/packages/x11/driver/xf86-video-vmware/meta b/packages/x11/driver/xf86-video-vmware/package.mk similarity index 85% rename from packages/x11/driver/xf86-video-vmware/meta rename to packages/x11/driver/xf86-video-vmware/package.mk index 4494c0e43d..e87ffc22c9 100644 --- a/packages/x11/driver/xf86-video-vmware/meta +++ b/packages/x11/driver/xf86-video-vmware/package.mk @@ -23,12 +23,15 @@ PKG_ARCH="i386 x86_64" PKG_LICENSE="OSS" PKG_SITE="http://www.vmware.com" PKG_URL="http://cgit.freedesktop.org/xorg/driver/xf86-video-vmware/snapshot/${PKG_NAME}-${PKG_VERSION}.tar.gz" -PKG_DEPENDS="libX11 Mesa glu open-vm-tools" -PKG_BUILD_DEPENDS="toolchain Mesa glu xorg-server" +PKG_DEPENDS_TARGET="libX11 Mesa glu open-vm-tools" +PKG_BUILD_DEPENDS_TARGET="toolchain Mesa glu xorg-server" PKG_PRIORITY="optional" PKG_SECTION="x11/driver" PKG_SHORTDESC="xf86-video-vmware: The Xorg driver for vmware video" PKG_LONGDESC="xf86-video-vmware: The Xorg driver for vmware video" -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--enable-vmwarectrl-client \ + --with-xorg-module-dir=$XORG_PATH_MODULES"