New packages: ois-1.3
This commit is contained in:
parent
48e21fd088
commit
508d381cd8
|
@ -2104,3 +2104,4 @@ libgtkimageview.so.0 gtkimageview-1.6.4_1
|
|||
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
||||
libplatform.so.1.0 platform-1.0.10_1
|
||||
libfacter.so.3.0.2 facter-3.0.2_1
|
||||
libOIS-1.3.0.so ois-1.3_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ois
|
|
@ -0,0 +1,40 @@
|
|||
--- 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>
|
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'ois'
|
||||
pkgname=ois
|
||||
version=1.3
|
||||
revision=1
|
||||
wrksrc=${pkgname}-v${version/./-}
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="libXaw-devel"
|
||||
short_desc="Object oriented input system"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="ZLIB"
|
||||
homepage="http://sourceforge.net/projects/wgois/"
|
||||
distfiles="${SOURCEFORGE_SITE}/project/wgois/Source%20Release/${version}/${pkgname}_v${version/./-}.tar.gz"
|
||||
checksum=50fa76d827e119a80e2c86a5196ac4354e556f80b0a4fa440f69e1057b37faa1
|
||||
|
||||
pre_configure() {
|
||||
. bootstrap
|
||||
}
|
||||
post_install() {
|
||||
vlicense ReadMe.txt
|
||||
}
|
||||
|
||||
ois-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/libOIS.a
|
||||
vmove usr/lib/libOIS.so
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue