ois: update to 1.5

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-12-02 17:48:31 +01:00
parent 3460329d56
commit b95bd23d26
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 8 additions and 50 deletions

View file

@ -1,40 +0,0 @@
--- src/linux/LinuxForceFeedback.cpp 2010-04-01 05:06:55.000000000 +0200
+++ src/linux/LinuxForceFeedback.cpp 2015-08-03 13:47:54.690123238 +0200
@@ -24,6 +24,7 @@
#include "OISException.h"
#include <cstdlib>
+#include <unistd.h>
#include <errno.h>
#include <memory.h>
--- src/linux/LinuxJoyStickEvents.cpp 2010-07-26 03:28:41.000000000 +0200
+++ src/linux/LinuxJoyStickEvents.cpp 2015-08-03 13:48:14.720124682 +0200
@@ -30,6 +30,7 @@
#include "OISEvents.h"
#include "OISException.h"
+#include <unistd.h>
#include <fcntl.h> //Needed to Open a file descriptor
#include <cassert>
#include <linux/input.h>
--- demos/OISConsole.cpp 2010-08-16 00:51:34.000000000 +0200
+++ demos/OISConsole.cpp 2015-08-03 13:52:09.446141604 +0200
@@ -9,6 +9,7 @@
//Advanced Usage
#include "OISForceFeedback.h"
+#include <unistd.h>
#include <iostream>
#include <vector>
#include <sstream>
--- demos/FFConsoleDemo.cpp 2010-04-01 05:38:04.000000000 +0200
+++ demos/FFConsoleDemo.cpp 2015-08-03 13:53:47.366148664 +0200
@@ -1,6 +1,7 @@
#include "OIS.h"
#include <math.h>
+#include <unistd.h>
#include <cstdlib>
#include <iostream>
#include <iomanip>

View file

@ -1,23 +1,20 @@
# Template file for 'ois'
pkgname=ois
version=1.4
version=1.5
revision=1
wrksrc="OIS-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXaw-devel"
short_desc="Object oriented input system"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Zlib"
license="zlib-acknowledgement"
homepage="https://wgois.github.io/OIS/"
distfiles="https://github.com/wgois/OIS/archive/v${version}.tar.gz"
checksum=aaa9289a0cc0bffbb03e894b1d10e65eac14572a2282d539afe48aec1ae35c75
checksum=aa3e6b840b1149bb06835e04365957f4659c08b3e3095a48b289050f1637a174
pre_configure() {
. bootstrap
}
post_install() {
vlicense README.md
vlicense LICENSE.md
}
ois-devel_package() {
@ -26,7 +23,8 @@ ois-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libOIS.a
vmove usr/lib/libOIS.so
# Compatibility with previous versions
ln -srv ${PKGDESTDIR}/usr/include/{ois,OIS}
}
}