Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 10:33:35 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518492 - in head/sysutils/jstest-gtk: . files
Message-ID:  <201911271033.xARAXZcu058542@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Nov 27 10:33:34 2019
New Revision: 518492
URL: https://svnweb.freebsd.org/changeset/ports/518492

Log:
  sysutils/jstest-gtk: Remove bundled evdev headers and use evdev-proto instead
  
  - While here add missing dependency on libX11
  
  PR:		241351
  Submitted by:	rozhuk.im@gmail.com (maintainer)

Deleted:
  head/sysutils/jstest-gtk/files/
Modified:
  head/sysutils/jstest-gtk/Makefile

Modified: head/sysutils/jstest-gtk/Makefile
==============================================================================
--- head/sysutils/jstest-gtk/Makefile	Wed Nov 27 10:19:30 2019	(r518491)
+++ head/sysutils/jstest-gtk/Makefile	Wed Nov 27 10:33:34 2019	(r518492)
@@ -2,7 +2,7 @@
 
 PORTNAME=	jstest-gtk
 PORTVERSION=	20180710
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	rozhuk.im@gmail.com
@@ -11,27 +11,17 @@ COMMENT=	Simple joystick tester based on Gtk+
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
+
 USES=		cmake compiler:c++11-lang gnome libtool localbase:ldflags \
-		pkgconfig
+		pkgconfig xorg
 USE_GNOME=	gtkmm30 libsigc++20
-
 INSTALLS_ICONS=	yes
+USE_XORG=	x11
 
 # gitlab variables
 USE_GITLAB=	yes
 GL_ACCOUNT=	jstest-gtk
 GL_COMMIT=	62f6e2d7d44620e503149510c428df9e004c9f3b
-
-post-extract:
-	@${MKDIR} ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/input.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/input-event-codes.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/joystick.h ${WRKSRC}/src/linux/
-	@${CP} -f ${FILESDIR}/types.h ${WRKSRC}/src/linux/
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-	    's|include_directories(SYSTEM|include_directories("$${CMAKE_CURRENT_SOURCE_DIR}/src" SYSTEM|g' \
-		${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>



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