Skip to content

Commit b53cc99

Browse files
author
Жунёва Мария Михайловна
committed
x11/libwacom: update to 2.12.1
Changes: https://github.com/linuxwacom/libwacom/releases Sponsored by: Serenity Cybersecurity, LLC
1 parent d6ca7ba commit b53cc99

File tree

4 files changed

+422
-13
lines changed

4 files changed

+422
-13
lines changed

x11/libwacom/Makefile

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
11
PORTNAME= libwacom
2-
DISTVERSION= 1.5
3-
PORTREVISION= 1
2+
DISTVERSION= 2.12.1
43
CATEGORIES= x11
54
MASTER_SITES= https://github.com/linuxwacom/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
65

76
MAINTAINER= [email protected]
87
COMMENT= Adds tablet support to libinput
98
WWW= https://github.com/linuxwacom/libwacom/wiki
109

11-
LICENSE= MIT
10+
LICENSE= HPND
11+
LICENSE_NAME= Historical Permission Notice and Disclaimer
1212
LICENSE_FILE= ${WRKSRC}/COPYING
13+
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
1314

14-
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
15-
LIB_DEPENDS= libgudev-1.0.so:devel/libgudev
15+
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
16+
${PYTHON_PKGNAMEPREFIX}libevdev>0:devel/py-libevdev \
17+
${PYTHON_PKGNAMEPREFIX}pyudev>0:devel/py-pyudev \
18+
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
19+
LIB_DEPENDS= libevdev.so:devel/libevdev \
20+
libgudev-1.0.so:devel/libgudev
21+
RUN_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
22+
${PYTHON_PKGNAMEPREFIX}libevdev>0:devel/py-libevdev
1623
TEST_DEPENDS= bash:shells/bash
1724

18-
USES= compiler:c++11-lang gnome meson pkgconfig tar:bz2
25+
USES= compiler:c++11-lang gnome meson pkgconfig python shebangfix \
26+
tar:xz
27+
1928
USE_GNOME= glib20
2029
USE_LDCONFIG= yes
21-
MESON_ARGS= -Ddocumentation=disabled
30+
31+
SHEBANG_FILES= tools/show-stylus.py tools/libwacom-update-db.py
32+
33+
BINARY_ALIAS= python3=${PYTHON_CMD}
34+
35+
post-patch:
36+
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
37+
${WRKSRC}/tools/libwacom-update-db.py
2238

2339
.include <bsd.port.mk>

x11/libwacom/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1601323778
2-
SHA256 (libwacom-1.5.tar.bz2) = 6b349fb73c8edcf0288d17c49049648214924846b6a58914c2ed3477ff36d47b
3-
SIZE (libwacom-1.5.tar.bz2) = 515548
1+
TIMESTAMP = 1718794752
2+
SHA256 (libwacom-2.12.1.tar.xz) = 5b047a28d20b01dd744e194c56c1ba5db54b5d6ee3a8b2d820a1ad6e33d85572
3+
SIZE (libwacom-2.12.1.tar.xz) = 152880
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
--- tools/libwacom-update-db.py.orig 2024-06-19 10:34:43 UTC
2+
+++ tools/libwacom-update-db.py
3+
@@ -189,7 +189,7 @@ if __name__ == "__main__":
4+
"path",
5+
nargs="?",
6+
type=Path,
7+
- default="/etc/libwacom",
8+
+ default="%%PREFIX%%/etc/libwacom",
9+
help="Directory to load .tablet files from",
10+
)
11+
# buildsystem-mode is what we use from meson, it changes the
12+
@@ -203,7 +203,7 @@ if __name__ == "__main__":
13+
parser.add_argument(
14+
"--skip-systemd-hwdb-update",
15+
action="store_true",
16+
- default=False,
17+
+ default=True,
18+
help="Do not run systemd-hwdb --update (Note: updates to tablet files will not be reflected in udev)",
19+
)
20+
parser.add_argument(

0 commit comments

Comments
 (0)