mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
remove package 'wiiuse'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f9202d0ab2
commit
e9b9e137bb
@ -1,33 +0,0 @@
|
||||
#!/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
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
make wiiuse
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib
|
||||
cp src/release*/*.so $SYSROOT_PREFIX/usr/lib
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/include
|
||||
cp src/wiiuse.h $SYSROOT_PREFIX/usr/include
|
@ -1,26 +0,0 @@
|
||||
#!/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
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/src/release*/*.so $INSTALL/usr/lib
|
@ -1,36 +0,0 @@
|
||||
################################################################################
|
||||
# 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="wiiuse"
|
||||
PKG_VERSION="v0.12"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="http://www.wiiuse.net/"
|
||||
PKG_URL="$SOURCEFORGE_SRC/wiiuse/wiiuse/$PKG_VERSION/${PKG_NAME}_${PKG_VERSION}_src.tar.gz"
|
||||
PKG_DEPENDS="bluez"
|
||||
PKG_BUILD_DEPENDS="toolchain bluez"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="Wiiuse is a library written in C that connects with several Nintendo Wii remotes."
|
||||
PKG_LONGDESC="Wiiuse is a library written in C that connects with several Nintendo Wii remotes. Supports motion sensing, IR tracking, nunchuk, classic controller, and the Guitar Hero 3 controller. Single threaded and nonblocking makes a light weight and clean API."
|
||||
PKG_IS_ADDON="yes"
|
||||
|
||||
PKG_AUTORECONF="no"
|
@ -1,11 +0,0 @@
|
||||
diff -Naur wiiuse_v0.12/src/io_nix.c wiiuse_v0.12.patch/src/io_nix.c
|
||||
--- wiiuse_v0.12/src/io_nix.c 2008-03-29 22:53:32.000000000 +0100
|
||||
+++ wiiuse_v0.12.patch/src/io_nix.c 2010-09-21 22:50:08.889265428 +0200
|
||||
@@ -171,6 +171,7 @@
|
||||
static int wiiuse_connect_single(struct wiimote_t* wm, char* address) {
|
||||
struct sockaddr_l2 addr;
|
||||
|
||||
+ memset(&addr, 0, sizeof (addr)); //is missing in the line 174 of io_nix.c
|
||||
if (!wm || WIIMOTE_IS_CONNECTED(wm))
|
||||
return 0;
|
||||
|
@ -1,36 +0,0 @@
|
||||
diff -Naur wiiuse_v0.12/example/Makefile wiiuse_v0.12.patch/example/Makefile
|
||||
--- wiiuse_v0.12/example/Makefile 2008-04-02 02:45:40.000000000 +0200
|
||||
+++ wiiuse_v0.12.patch/example/Makefile 2010-09-21 21:31:12.052265717 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# Change this to your GCC version.
|
||||
#
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
####################################################
|
||||
#
|
||||
diff -Naur wiiuse_v0.12/example-sdl/Makefile wiiuse_v0.12.patch/example-sdl/Makefile
|
||||
--- wiiuse_v0.12/example-sdl/Makefile 2008-04-02 02:45:53.000000000 +0200
|
||||
+++ wiiuse_v0.12.patch/example-sdl/Makefile 2010-09-21 21:31:19.907265540 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# Change this to your GCC version.
|
||||
#
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
####################################################
|
||||
#
|
||||
diff -Naur wiiuse_v0.12/src/Makefile wiiuse_v0.12.patch/src/Makefile
|
||||
--- wiiuse_v0.12/src/Makefile 2008-03-03 00:30:04.000000000 +0100
|
||||
+++ wiiuse_v0.12.patch/src/Makefile 2010-09-21 21:31:27.338390537 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# Change this to your GCC version.
|
||||
#
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
|
||||
####################################################
|
||||
#
|
Loading…
x
Reference in New Issue
Block a user