From nobody Thu Aug 10 09:31:56 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RM1sT1FqBz4Tt1C; Thu, 10 Aug 2023 09:31:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RM1sT0d6Pz4Zch; Thu, 10 Aug 2023 09:31:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691659917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hw3E70zkAIkAqT977zdDtgHsqcogF+TRTt3LAjRCsGw=; b=fmt7BterB6RZ3Tsrw3QjtgfYEQPTqGVd9gxVHegjMLbv00K2wP4S3FNeXKrP0jtGEa47SF JpLHGBCz5s8L8O0iej64PI2FmbcVdXnv3wWKBfUKsC07Kr+7ihlTY1qDmjBGOP8fXtxpbG Ce4zqsUa7bQvQvhRDm4piTsMKtAqJSwDeSvp+Jb6DBobwO+hX6/XzSW8I/Nk/nZgOrFX1z oDzZKukd2zLg5CY+DiTnTRuVVhXDRkog+GUc9EVpr4FwjYFHoNv/pKDKi3B7W1jvTGer/a LWSgwHWKGPAJoNZRSCUung9My1S7z+RlEfXwjVgs9foLGLfmwKHFRizTG5jiiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691659917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hw3E70zkAIkAqT977zdDtgHsqcogF+TRTt3LAjRCsGw=; b=dAvXDIAdi0oRSi7Pen2hRM2xWGvtzbeK1TYnH8UQWHuJDQyRc3rsVKo3Drx9WU78BV4k4o i1QpZ/BFfm5bNdawNxjSjK3bszm7a2G7y4IPdjutMNa1jrrOzax2X008v7w63k7rB4qPAJ 3QsTbC+FYgemM99PWjFk5CvsinIP9cymPUCJgRfsIxQ4U93d7fjHFMxt/5x7p07+fu5sMt btXFCoHlmAGU3AVZOIpbxDBLHYLARsBQ749jje2u0dUoXaEKtl/xsiqhzptZ37AEtszXS0 H0CebuHEQnepLHrfcQ1x+QG4XJfruP/O+VymDAomNlNwAivo9x5TdzTQ6ULOZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691659917; a=rsa-sha256; cv=none; b=nly8qIOufBw4s4jDyTQGuN7d7toDUSha4q9qabJsqiIHqVnD6HvUSz/km10ImFefIDeG4W 2+Jwac+vX7SV9a0+3ebjuKSrnIKBRUGlJWkN24C9R09lChhOLxKk/YLyZsdCQka/S+HIwq ZbZgRa0mMa6YVgYA1HinjDA9ifa1hpOOnt3EAz1cZ4RuAlS08qhbtn/Jtp9o7M/1WLJg7I e+CvUxXpthSmTxS0oSPKbnukmrCTXsM10LzPEqubTl+Puj276wvJlg2wMMt9oWN0ha0zAF OXZDFuJ481ZCKzclbAAiHPimVF3t3FQvK7zt9xH6HKlxOZM1wHE4Qb6zjWuZTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RM1sS6q1Czs5s; Thu, 10 Aug 2023 09:31:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37A9Vus0039358; Thu, 10 Aug 2023 09:31:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37A9Vuof039355; Thu, 10 Aug 2023 09:31:56 GMT (envelope-from git) Date: Thu, 10 Aug 2023 09:31:56 GMT Message-Id: <202308100931.37A9Vuof039355@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: bec734ebf9c8 - main - x11/antimicrox: New port to map gamepad keys to keyboard, mouse, scripts and macros List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bec734ebf9c87c964411edaa2687ae65b7092f64 Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=bec734ebf9c87c964411edaa2687ae65b7092f64 commit bec734ebf9c87c964411edaa2687ae65b7092f64 Author: Rodrigo Osorio AuthorDate: 2023-08-10 08:35:51 +0000 Commit: Rodrigo Osorio CommitDate: 2023-08-10 08:57:45 +0000 x11/antimicrox: New port to map gamepad keys to keyboard, mouse, scripts and macros AntiMicroX is a graphical program used to map gamepad keys to keyboard, mouse, scripts and macros. You can use this program to control any desktop application with a gamepad on Linux, Windows and FreeBSD. It can be also used for generating SDL2 configuration (useful for mapping atypical gamepads to generic ones like xbox360). This port is a suggested replacement for x11/antimicro which is unmaintained since 2017. --- x11/Makefile | 1 + x11/antimicrox/Makefile | 28 ++++++++++++++++++++++++++++ x11/antimicrox/distinfo | 3 +++ x11/antimicrox/pkg-descr | 5 +++++ x11/antimicrox/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index a0c9f2610c40..da07c7a3bbc4 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -10,6 +10,7 @@ SUBDIR += alttab SUBDIR += aminal SUBDIR += antimicro + SUBDIR += antimicrox SUBDIR += appmenu-registrar SUBDIR += appres SUBDIR += apwal diff --git a/x11/antimicrox/Makefile b/x11/antimicrox/Makefile new file mode 100644 index 000000000000..555bfe37f5b3 --- /dev/null +++ b/x11/antimicrox/Makefile @@ -0,0 +1,28 @@ +PORTNAME= antimicrox +PORTVERSION= 3.3.4 +CATEGORIES= x11 + +MAINTAINER= rodrigo@FreeBSD.org +COMMENT= Program to map gamepad keys to keyboard, mouse, scripts and macros +WWW= https://github.com/AntiMicroX/antimicrox + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ + itstool:textproc/itstool \ + msgfmt:devel/gettext-tools + +USES= cmake desktop-file-utils kde:5 pkgconfig qt:5 sdl \ + shared-mime-info xorg +USE_GITHUB= yes +GH_ACCOUNT= AntimicroX +USE_KDE= ecm +USE_QT= concurrent core gui widgets buildtools:build qmake:build +USE_SDL= sdl2 +USE_XORG= x11 xi xtst + +CMAKE_ARGS= -DINSTALL_UINPUT_UDEV_RULES:BOOL=FALSE + +LDFLAGS+= -lexecinfo + +.include diff --git a/x11/antimicrox/distinfo b/x11/antimicrox/distinfo new file mode 100644 index 000000000000..ee647eb28e10 --- /dev/null +++ b/x11/antimicrox/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691584387 +SHA256 (AntimicroX-antimicrox-3.3.4_GH0.tar.gz) = c5e8d7c827f64b0a162133f9cac2ddc8dc0c9243541fae1a8ced5424b4fb7b3c +SIZE (AntimicroX-antimicrox-3.3.4_GH0.tar.gz) = 2002552 diff --git a/x11/antimicrox/pkg-descr b/x11/antimicrox/pkg-descr new file mode 100644 index 000000000000..6c4da08111b1 --- /dev/null +++ b/x11/antimicrox/pkg-descr @@ -0,0 +1,5 @@ +AntiMicroX is a graphical program used to map gamepad keys to keyboard, mouse, +scripts and macros. You can use this program to control any desktop application +with a gamepad on Linux, Windows and FreeBSD. It can be also used for generating +SDL2 configuration (useful for mapping atypical gamepads to generic ones like +xbox360). diff --git a/x11/antimicrox/pkg-plist b/x11/antimicrox/pkg-plist new file mode 100644 index 000000000000..6119fd1a8886 --- /dev/null +++ b/x11/antimicrox/pkg-plist @@ -0,0 +1,37 @@ +bin/antimicrox +%%DATADIR%%/CHANGELOG.md +%%DATADIR%%/LICENSE_SDL_GameControllerDB +%%DATADIR%%/gamecontrollerdb.txt +%%DATADIR%%/translations/antimicrox.qm +%%DATADIR%%/translations/antimicrox_br.qm +%%DATADIR%%/translations/antimicrox_de.qm +%%DATADIR%%/translations/antimicrox_en.qm +%%DATADIR%%/translations/antimicrox_es.qm +%%DATADIR%%/translations/antimicrox_fi.qm +%%DATADIR%%/translations/antimicrox_fr.qm +%%DATADIR%%/translations/antimicrox_it.qm +%%DATADIR%%/translations/antimicrox_ja.qm +%%DATADIR%%/translations/antimicrox_ko.qm +%%DATADIR%%/translations/antimicrox_nb_NO.qm +%%DATADIR%%/translations/antimicrox_pl.qm +%%DATADIR%%/translations/antimicrox_pt.qm +%%DATADIR%%/translations/antimicrox_pt_BR.qm +%%DATADIR%%/translations/antimicrox_ru.qm +%%DATADIR%%/translations/antimicrox_rue.qm +%%DATADIR%%/translations/antimicrox_sr.qm +%%DATADIR%%/translations/antimicrox_sv.qm +%%DATADIR%%/translations/antimicrox_uk.qm +%%DATADIR%%/translations/antimicrox_zh_CN.qm +share/applications/io.github.antimicrox.antimicrox.desktop +share/icons/breeze/48x48/apps/antimicrox_trayicon.png +share/icons/hicolor/128x128/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/16x16/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/24x24/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/32x32/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/48x48/apps/antimicrox_trayicon.png +share/icons/hicolor/48x48/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/64x64/apps/io.github.antimicrox.antimicrox.png +share/icons/hicolor/scalable/apps/io.github.antimicrox.antimicrox.svg +share/man/man1/antimicrox.1.gz +share/metainfo/io.github.antimicrox.antimicrox.appdata.xml +share/mime/packages/io.github.antimicrox.antimicrox.xml