aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Duchateau <duchateau.olivier@gmail.com>2025-06-10 11:30:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2025-06-10 11:36:26 +0000
commit00c54c6aba5c954ae838ee3d1a10af85e27d9179 (patch)
treef1966b62c4e62979f7407655a7b8c7bb62955fe5
parentb658bb9cf7d6f4cc9395552a298a13c73a39fd50 (diff)
x11/tecla: new port
Tecla is a basic keyboard layout viewer for the GNOME desktop. PR: 286697
-rw-r--r--x11/Makefile1
-rw-r--r--x11/tecla/Makefile19
-rw-r--r--x11/tecla/distinfo3
-rw-r--r--x11/tecla/files/patch-meson.build10
-rw-r--r--x11/tecla/pkg-descr1
-rw-r--r--x11/tecla/pkg-plist51
6 files changed, 85 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 58b415a5160c..144eabd5d6b5 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -428,6 +428,7 @@
SUBDIR += sxpc
SUBDIR += tabbed
SUBDIR += taiga
+ SUBDIR += tecla
SUBDIR += temperature.app
SUBDIR += terminal.app
SUBDIR += terminator
diff --git a/x11/tecla/Makefile b/x11/tecla/Makefile
new file mode 100644
index 000000000000..a28065312212
--- /dev/null
+++ b/x11/tecla/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= tecla
+PORTVERSION= 47.0
+CATEGORIES= x11 gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Keyboard layout viewer for the GNOME desktop
+WWW= https://gitlab.gnome.org/GNOME/tecla
+
+LICENSE= GPLv2+
+
+LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \
+ libwayland-client.so:graphics/wayland
+
+USES= gettext gnome meson pkgconfig tar:xz
+USE_GNOME= glib20 gtk40 libadwaita
+
+.include <bsd.port.mk>
diff --git a/x11/tecla/distinfo b/x11/tecla/distinfo
new file mode 100644
index 000000000000..26eba616066b
--- /dev/null
+++ b/x11/tecla/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1744472395
+SHA256 (gnome/tecla-47.0.tar.xz) = 0790b99ec29137a54b546c510661a99aa6f039c8d75f10c08e928682c0804fe5
+SIZE (gnome/tecla-47.0.tar.xz) = 38072
diff --git a/x11/tecla/files/patch-meson.build b/x11/tecla/files/patch-meson.build
new file mode 100644
index 000000000000..9bb8b6e9e5f2
--- /dev/null
+++ b/x11/tecla/files/patch-meson.build
@@ -0,0 +1,10 @@
+--- meson.build.orig 2024-09-16 09:23:25 UTC
++++ meson.build
+@@ -58,6 +58,7 @@ pkg.generate(
+ name: 'tecla',
+ description: 'Keyboard layout previewer',
+ dataonly: true,
++ install_dir: get_option('prefix') / 'libdata' / 'pkgconfig',
+ variables: [
+ 'prefix=' + get_option('prefix'),
+ 'app=${prefix}' / get_option('bindir') / 'tecla',
diff --git a/x11/tecla/pkg-descr b/x11/tecla/pkg-descr
new file mode 100644
index 000000000000..150fd905a9eb
--- /dev/null
+++ b/x11/tecla/pkg-descr
@@ -0,0 +1 @@
+Tecla is a basic keyboard layout viewer for the GNOME desktop.
diff --git a/x11/tecla/pkg-plist b/x11/tecla/pkg-plist
new file mode 100644
index 000000000000..a1eaada9aaea
--- /dev/null
+++ b/x11/tecla/pkg-plist
@@ -0,0 +1,51 @@
+bin/tecla
+libdata/pkgconfig/tecla.pc
+share/applications/org.gnome.Tecla.desktop
+share/icons/hicolor/scalable/apps/org.gnome.Tecla.svg
+share/icons/hicolor/symbolic/apps/org.gnome.Tecla-symbolic.svg
+share/locale/ar/LC_MESSAGES/tecla.mo
+share/locale/be/LC_MESSAGES/tecla.mo
+share/locale/bg/LC_MESSAGES/tecla.mo
+share/locale/ca/LC_MESSAGES/tecla.mo
+share/locale/cs/LC_MESSAGES/tecla.mo
+share/locale/da/LC_MESSAGES/tecla.mo
+share/locale/de/LC_MESSAGES/tecla.mo
+share/locale/el/LC_MESSAGES/tecla.mo
+share/locale/en_GB/LC_MESSAGES/tecla.mo
+share/locale/eo/LC_MESSAGES/tecla.mo
+share/locale/es/LC_MESSAGES/tecla.mo
+share/locale/eu/LC_MESSAGES/tecla.mo
+share/locale/fa/LC_MESSAGES/tecla.mo
+share/locale/fi/LC_MESSAGES/tecla.mo
+share/locale/fr/LC_MESSAGES/tecla.mo
+share/locale/fur/LC_MESSAGES/tecla.mo
+share/locale/gl/LC_MESSAGES/tecla.mo
+share/locale/he/LC_MESSAGES/tecla.mo
+share/locale/hi/LC_MESSAGES/tecla.mo
+share/locale/hu/LC_MESSAGES/tecla.mo
+share/locale/id/LC_MESSAGES/tecla.mo
+share/locale/ie/LC_MESSAGES/tecla.mo
+share/locale/it/LC_MESSAGES/tecla.mo
+share/locale/ka/LC_MESSAGES/tecla.mo
+share/locale/kab/LC_MESSAGES/tecla.mo
+share/locale/ko/LC_MESSAGES/tecla.mo
+share/locale/lt/LC_MESSAGES/tecla.mo
+share/locale/lv/LC_MESSAGES/tecla.mo
+share/locale/ne/LC_MESSAGES/tecla.mo
+share/locale/nl/LC_MESSAGES/tecla.mo
+share/locale/oc/LC_MESSAGES/tecla.mo
+share/locale/pa/LC_MESSAGES/tecla.mo
+share/locale/pl/LC_MESSAGES/tecla.mo
+share/locale/pt/LC_MESSAGES/tecla.mo
+share/locale/pt_BR/LC_MESSAGES/tecla.mo
+share/locale/ro/LC_MESSAGES/tecla.mo
+share/locale/ru/LC_MESSAGES/tecla.mo
+share/locale/sk/LC_MESSAGES/tecla.mo
+share/locale/sl/LC_MESSAGES/tecla.mo
+share/locale/sr/LC_MESSAGES/tecla.mo
+share/locale/sr@latin/LC_MESSAGES/tecla.mo
+share/locale/sv/LC_MESSAGES/tecla.mo
+share/locale/tr/LC_MESSAGES/tecla.mo
+share/locale/uk/LC_MESSAGES/tecla.mo
+share/locale/zh_CN/LC_MESSAGES/tecla.mo
+share/locale/zh_TW/LC_MESSAGES/tecla.mo