Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 10:27:38 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397048 - in head/devel: . libevdev
Message-ID:  <201509161027.t8GARcx2026670@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Sep 16 10:27:37 2015
New Revision: 397048
URL: https://svnweb.freebsd.org/changeset/ports/397048

Log:
  devel/libevdev: add new port
  
  PR:		196978
  Submitted by:	hselasky
  
  libevdev is a wrapper library for evdev devices. It moves the common
  tasks when dealing with evdev devices into a library and provides a
  library interface to the callers, thus avoiding erroneous ioctls, etc.
  
  The eventual goal is that libevdev wraps all ioctls available to evdev
  devices, thus making direct access unnecessary.
  
  http://www.freedesktop.org/wiki/Software/libevdev/

Added:
  head/devel/libevdev/
  head/devel/libevdev/Makefile   (contents, props changed)
  head/devel/libevdev/distinfo   (contents, props changed)
  head/devel/libevdev/pkg-descr   (contents, props changed)
  head/devel/libevdev/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Sep 16 10:27:05 2015	(r397047)
+++ head/devel/Makefile	Wed Sep 16 10:27:37 2015	(r397048)
@@ -1141,6 +1141,7 @@
     SUBDIR += libesedb
     SUBDIR += libestr
     SUBDIR += libev
+    SUBDIR += libevdev
     SUBDIR += libevent-hiphop
     SUBDIR += libevent2
     SUBDIR += libevt

Added: head/devel/libevdev/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libevdev/Makefile	Wed Sep 16 10:27:37 2015	(r397048)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	libevdev
+PORTVERSION=	1.4.4
+CATEGORIES=	devel
+MASTER_SITES=	http://freedesktop.org/software/${PORTNAME}/
+
+MAINTAINER=	hselasky@FreeBSD.org
+COMMENT=	Linux Event Device library
+
+LICENSE=	MIT # without linux/*.h
+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=		gmake libtool pathfix pkgconfig python:build tar:xz
+EXTRACT_AFTER_ARGS=	--exclude include # v4l_compat
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	ac_cv_path_DOXYGEN=""
+CPPFLAGS+=	-I${LOCALBASE}/include # v4l_compat
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e '/input\.h/s,top_srcdir,LOCALBASE,' \
+		${WRKSRC}/libevdev/Makefile.in
+# XXX tools require signalfd(2), test require /dev/uinput
+	@${REINPLACE_CMD} -e '/^SUBDIRS/s,tools test,,' \
+		${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>

Added: head/devel/libevdev/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libevdev/distinfo	Wed Sep 16 10:27:37 2015	(r397048)
@@ -0,0 +1,2 @@
+SHA256 (libevdev-1.4.4.tar.xz) = ed9979369b6a6e28f5897d099538549ecffb2b7c00c1b717eb77c31d85bc45a9
+SIZE (libevdev-1.4.4.tar.xz) = 409856

Added: head/devel/libevdev/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libevdev/pkg-descr	Wed Sep 16 10:27:37 2015	(r397048)
@@ -0,0 +1,8 @@
+libevdev is a wrapper library for evdev devices. It moves the common
+tasks when dealing with evdev devices into a library and provides a
+library interface to the callers, thus avoiding erroneous ioctls, etc.
+
+The eventual goal is that libevdev wraps all ioctls available to evdev
+devices, thus making direct access unnecessary.
+
+WWW: http://www.freedesktop.org/wiki/Software/libevdev/

Added: head/devel/libevdev/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libevdev/pkg-plist	Wed Sep 16 10:27:37 2015	(r397048)
@@ -0,0 +1,8 @@
+include/libevdev-1.0/libevdev/libevdev-uinput.h
+include/libevdev-1.0/libevdev/libevdev.h
+lib/libevdev.a
+lib/libevdev.so
+lib/libevdev.so.2
+lib/libevdev.so.2.1.10
+libdata/pkgconfig/libevdev.pc
+man/man3/libevdev.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509161027.t8GARcx2026670>