svn commit: r531951 - in head/deskutils: . ydotool ydotool/files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 17 16:39:19 UTC 2020
Author: bapt
Date: Fri Apr 17 16:39:17 2020
New Revision: 531951
URL: https://svnweb.freebsd.org/changeset/ports/531951
Log:
New port deskutils/ydotool
Generic command-line automation tool (no X!)
Allows to emulate keyboard input or mouse activity
WWW: https://github.com/ReimuNotMoe/ydotool
For now no rc script provided for ydotoold until I figure out a sane way to
handle it in a generic way
Added:
head/deskutils/ydotool/
head/deskutils/ydotool/Makefile (contents, props changed)
head/deskutils/ydotool/distinfo (contents, props changed)
head/deskutils/ydotool/files/
head/deskutils/ydotool/files/patch-CMakeLists.txt (contents, props changed)
head/deskutils/ydotool/pkg-descr (contents, props changed)
Modified:
head/deskutils/Makefile
Modified: head/deskutils/Makefile
==============================================================================
--- head/deskutils/Makefile Fri Apr 17 16:38:15 2020 (r531950)
+++ head/deskutils/Makefile Fri Apr 17 16:39:17 2020 (r531951)
@@ -261,6 +261,7 @@
SUBDIR += xpostitPlus
SUBDIR += xrolo
SUBDIR += xwrits
+ SUBDIR += ydotool
SUBDIR += zanshin
SUBDIR += zim
SUBDIR += znotes
Added: head/deskutils/ydotool/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/ydotool/Makefile Fri Apr 17 16:39:17 2020 (r531951)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= ydotool
+PORTVERSION= 0.1.8
+DISTVERSIONPREFIX= v
+CATEGORIES= deskutils
+
+MAINTAINER= bapt at FreeBSD.org
+COMMENT= Generic command-line automation tool (no X!)
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/uinput.h:devel/evdev-proto
+LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
+ libuInputPlus.so:devel/libuInputPlus \
+ libboost_program_options.so:devel/boost-libs \
+ libevdevPlus.so:devel/libevdevPlus
+
+USES= cmake localbase
+
+CXXFLAGS+= -I${LOCALBASE}/include/libepoll-shim
+LDFLAGS+= -L${LOCALBASE}/lib -lepoll-shim
+
+USE_GITHUB= yes
+GH_ACCOUNT= ReimuNotMoe
+
+PLIST_FILES= bin/ydotool \
+ bin/ydotoold \
+ lib/libydotool.so \
+ lib/libydotool.so.0
+
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
Added: head/deskutils/ydotool/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/ydotool/distinfo Fri Apr 17 16:39:17 2020 (r531951)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1587107905
+SHA256 (ReimuNotMoe-ydotool-v0.1.8_GH0.tar.gz) = 6ebc4ede0a11aa7ced6b52637a4a59cc1528b4c5ed54478d38f0248a40b40a07
+SIZE (ReimuNotMoe-ydotool-v0.1.8_GH0.tar.gz) = 13362
Added: head/deskutils/ydotool/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/ydotool/files/patch-CMakeLists.txt Fri Apr 17 16:39:17 2020 (r531951)
@@ -0,0 +1,42 @@
+--- CMakeLists.txt.orig 2019-10-01 17:22:23 UTC
++++ CMakeLists.txt
+@@ -47,10 +47,12 @@ set(SOURCE_FILES_CLIENT
+
+ add_library(ydotool_library SHARED ${SOURCE_FILES_LIBRARY})
+ set_target_properties(ydotool_library PROPERTIES OUTPUT_NAME ydotool)
+-add_library(ydotool_library_static STATIC ${SOURCE_FILES_LIBRARY})
+-set_target_properties(ydotool_library_static PROPERTIES OUTPUT_NAME ydotool)
+-target_link_libraries(ydotool_library dl boost_program_options uInputPlus evdevPlus)
+-target_link_libraries(ydotool_library_static dl boost_program_options uInputPlus evdevPlus)
++set_target_properties(ydotool_library PROPERTIES VERSION ${PROJECT_VERSION})
++set_target_properties(ydotool_library PROPERTIES VERSION ${CPACK_PACKAGE_VERSION_MAJOR})
++#add_library(ydotool_library_static STATIC ${SOURCE_FILES_LIBRARY})
++#set_target_properties(ydotool_library_static PROPERTIES OUTPUT_NAME ydotool)
++#target_link_libraries(ydotool_library dl boost_program_options uInputPlus evdevPlus)
++#target_link_libraries(ydotool_library_static dl boost_program_options uInputPlus evdevPlus)
+
+ link_libraries(-L.)
+ add_executable(ydotoold ${SOURCE_FILES_DAEMON})
+@@ -60,9 +62,9 @@ add_executable(ydotool_client ${SOURCE_FILES_CLIENT})
+ target_link_libraries(ydotool_client ydotool_library boost_program_options pthread uInputPlus evdevPlus)
+ set_target_properties(ydotool_client PROPERTIES OUTPUT_NAME ydotool)
+
+-add_executable(ydotool_client_static ${SOURCE_FILES_CLIENT})
+-target_link_libraries(ydotool_client_static ydotool_library_static boost_program_options pthread uInputPlus evdevPlus -static)
+-set_target_properties(ydotool_client_static PROPERTIES OUTPUT_NAME ydotool_static)
++#add_executable(ydotool_client_static ${SOURCE_FILES_CLIENT})
++#target_link_libraries(ydotool_client_static ydotool_library_static boost_program_options pthread uInputPlus evdevPlus -static)
++#set_target_properties(ydotool_client_static PROPERTIES OUTPUT_NAME ydotool_static)
+
+ #add_library(mousemove SHARED Tools/MouseMove/MouseMove.hpp Tools/MouseMove/MouseMove.cpp)
+ #target_link_libraries(mousemove ydotool_library boost_program_options uInputPlus evdevPlus)
+@@ -80,6 +82,6 @@ set_target_properties(ydotool_client_static PROPERTIES
+ #target_link_libraries(recorder ydotool_library boost_program_options uInputPlus evdevPlus)
+
+
+-install(TARGETS ydotool_library ydotool_library_static DESTINATION lib)
++install(TARGETS ydotool_library DESTINATION lib)
+ #install(TARGETS mousemove key click type recorder DESTINATION lib/ydotool)
+-install(TARGETS ydotoold ydotool_client DESTINATION bin)
+\ No newline at end of file
++install(TARGETS ydotoold ydotool_client DESTINATION bin)
Added: head/deskutils/ydotool/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/ydotool/pkg-descr Fri Apr 17 16:39:17 2020 (r531951)
@@ -0,0 +1,5 @@
+Generic command-line automation tool (no X!)
+
+Allows to emulate keyboard input or mouse activity
+
+WWW: https://github.com/ReimuNotMoe/ydotool
More information about the svn-ports-all
mailing list