mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
devel/libmtdev: add new port
PR: 196978 Approved by: hselasky mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See Linux kernel documentation for further details. http://bitmath.org/code/mtdev/
This commit is contained in:
parent
ca7b738107
commit
da5c6b0587
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397049
6 changed files with 54 additions and 0 deletions
|
@ -1214,6 +1214,7 @@
|
||||||
SUBDIR += libmpsse
|
SUBDIR += libmpsse
|
||||||
SUBDIR += libmsiecf
|
SUBDIR += libmsiecf
|
||||||
SUBDIR += libmsocket
|
SUBDIR += libmsocket
|
||||||
|
SUBDIR += libmtdev
|
||||||
SUBDIR += libmtrie
|
SUBDIR += libmtrie
|
||||||
SUBDIR += libnaji
|
SUBDIR += libnaji
|
||||||
SUBDIR += libnfc
|
SUBDIR += libnfc
|
||||||
|
|
24
devel/libmtdev/Makefile
Normal file
24
devel/libmtdev/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= mtdev
|
||||||
|
PORTVERSION= 1.1.5
|
||||||
|
CATEGORIES= devel
|
||||||
|
MASTER_SITES= http://bitmath.org/code/${PORTNAME}/
|
||||||
|
PKGNAMEPREFIX= lib
|
||||||
|
|
||||||
|
MAINTAINER= hselasky@FreeBSD.org
|
||||||
|
COMMENT= Multitouch Protocol Translation Library
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
|
BUILD_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat
|
||||||
|
RUN_DEPENDS= v4l_compat>=1.0.20110603:${PORTSDIR}/multimedia/v4l_compat
|
||||||
|
|
||||||
|
USES= libtool pathfix tar:bz2
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
CPPFLAGS+= -I${LOCALBASE}/include # v4l_compat
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
devel/libmtdev/distinfo
Normal file
2
devel/libmtdev/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (mtdev-1.1.5.tar.bz2) = 6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f
|
||||||
|
SIZE (mtdev-1.1.5.tar.bz2) = 274162
|
11
devel/libmtdev/files/patch-src_common.h
Normal file
11
devel/libmtdev/files/patch-src_common.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/common.h.orig 2013-07-31 17:25:50 UTC
|
||||||
|
+++ src/common.h
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
#include <mtdev-mapping.h>
|
||||||
|
#include <mtdev-plumbing.h>
|
||||||
|
-#include <malloc.h>
|
||||||
|
+#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
7
devel/libmtdev/pkg-descr
Normal file
7
devel/libmtdev/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
mtdev is a stand-alone library which transforms all variants of kernel
|
||||||
|
MT events to the slotted type B protocol. The events put into mtdev
|
||||||
|
may be from any MT device, specifically type A without contact
|
||||||
|
tracking, type A with contact tracking, or type B with contact
|
||||||
|
tracking. See Linux kernel documentation for further details.
|
||||||
|
|
||||||
|
WWW: http://bitmath.org/code/mtdev/
|
9
devel/libmtdev/pkg-plist
Normal file
9
devel/libmtdev/pkg-plist
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
bin/mtdev-test
|
||||||
|
include/mtdev-mapping.h
|
||||||
|
include/mtdev-plumbing.h
|
||||||
|
include/mtdev.h
|
||||||
|
lib/libmtdev.a
|
||||||
|
lib/libmtdev.so
|
||||||
|
lib/libmtdev.so.1
|
||||||
|
lib/libmtdev.so.1.0.0
|
||||||
|
libdata/pkgconfig/mtdev.pc
|
Loading…
Add table
Reference in a new issue