Index: games/Makefile =================================================================== --- games/Makefile +++ games/Makefile @@ -472,6 +472,7 @@ SUBDIR += libkmahjongg SUBDIR += liblcf SUBDIR += libmaitretarot + SUBDIR += libmanette SUBDIR += libmt_client SUBDIR += libretro SUBDIR += libretro-2048 Index: games/libmanette/Makefile =================================================================== --- /dev/null +++ games/libmanette/Makefile @@ -0,0 +1,32 @@ +PORTNAME= libmanette +DISTVERSION= 0.2.6 +CATEGORIES= games gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Simple GObject game controller library + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= vapigen:lang/vala \ + evdev-proto>0:devel/evdev-proto +LIB_DEPENDS= libevdev.so:devel/libevdev \ + libgudev-1.0.so:devel/libgudev + +USES= gnome meson pkgconfig tar:xz +USE_GNOME= glib20 introspection +USE_LDCONFIG= yes + +MESON_ARGS= -Dgudev=enabled + +OPTIONS_DEFINE= DOCS EXAMPLES TEST +OPTIONS_SUB= yes + +DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc +DOCS_MESON_TRUE= doc +EXAMPLES_MESON_TRUE= demos +TEST_MESON_TRUE= build-tests + +.include Index: games/libmanette/distinfo =================================================================== --- /dev/null +++ games/libmanette/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620989598 +SHA256 (gnome/libmanette-0.2.6.tar.xz) = 63653259a821ec7d90d681e52e757e2219d462828c9d74b056a5f53267636bac +SIZE (gnome/libmanette-0.2.6.tar.xz) = 43236 Index: games/libmanette/pkg-descr =================================================================== --- /dev/null +++ games/libmanette/pkg-descr @@ -0,0 +1,13 @@ +libmanette offers painless access to game controllers, from any +programming language and with little dependencies. + +It supports the de-facto standard gamepad, as defined by the W3C +standard gamepad specification or as implemented by the SDL +GameController. Convertion of raw gamepad events into usable ones +is handled transparently using an embedded library of mappings in +the popular SDL mapping string format. + +The API is inspired by the device and event handling of GDK, so +anybody used to GTK should feel right at home. + +WWW: https://gnome.pages.gitlab.gnome.org/libmanette/ Index: games/libmanette/pkg-plist =================================================================== --- /dev/null +++ games/libmanette/pkg-plist @@ -0,0 +1,35 @@ +%%EXAMPLES%%bin/manette-test +include/libmanette/libmanette.h +include/libmanette/manette-device.h +include/libmanette/manette-event.h +include/libmanette/manette-monitor-iter.h +include/libmanette/manette-monitor.h +include/libmanette/manette-version.h +lib/girepository-1.0/Manette-0.2.typelib +lib/libmanette-0.2.so +lib/libmanette-0.2.so.0 +libdata/pkgconfig/manette-0.2.pc +share/gir-1.0/Manette-0.2.gir +%%DOCS%%share/gtk-doc/html/manette/ManetteDevice.html +%%DOCS%%share/gtk-doc/html/manette/ManetteEvent.html +%%DOCS%%share/gtk-doc/html/manette/ManetteMonitor.html +%%DOCS%%share/gtk-doc/html/manette/ManetteMonitorIter.html +%%DOCS%%share/gtk-doc/html/manette/annotations-glossary.html +%%DOCS%%share/gtk-doc/html/manette/api-index-full.html +%%DOCS%%share/gtk-doc/html/manette/core-api.html +%%DOCS%%share/gtk-doc/html/manette/deprecated-api-index.html +%%DOCS%%share/gtk-doc/html/manette/home.png +%%DOCS%%share/gtk-doc/html/manette/index.html +%%DOCS%%share/gtk-doc/html/manette/left-insensitive.png +%%DOCS%%share/gtk-doc/html/manette/left.png +%%DOCS%%share/gtk-doc/html/manette/manette-Version.html +%%DOCS%%share/gtk-doc/html/manette/manette.devhelp2 +%%DOCS%%share/gtk-doc/html/manette/object-tree.html +%%DOCS%%share/gtk-doc/html/manette/overview.html +%%DOCS%%share/gtk-doc/html/manette/right-insensitive.png +%%DOCS%%share/gtk-doc/html/manette/right.png +%%DOCS%%share/gtk-doc/html/manette/style.css +%%DOCS%%share/gtk-doc/html/manette/up-insensitive.png +%%DOCS%%share/gtk-doc/html/manette/up.png +share/vala/vapi/manette-0.2.deps +share/vala/vapi/manette-0.2.vapi