|
1 | 1 | PORTNAME= libwacom
|
2 |
| -DISTVERSION= 1.5 |
3 |
| -PORTREVISION= 1 |
| 2 | +DISTVERSION= 2.12.1 |
4 | 3 | CATEGORIES= x11
|
5 | 4 | MASTER_SITES= https://github.com/linuxwacom/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
|
6 | 5 |
|
7 | 6 |
|
8 | 7 | COMMENT= Adds tablet support to libinput
|
9 | 8 | WWW= https://github.com/linuxwacom/libwacom/wiki
|
10 | 9 |
|
11 |
| -LICENSE= MIT |
| 10 | +LICENSE= HPND |
| 11 | +LICENSE_NAME= Historical Permission Notice and Disclaimer |
12 | 12 | LICENSE_FILE= ${WRKSRC}/COPYING
|
| 13 | +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept |
13 | 14 |
|
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 |
16 | 23 | TEST_DEPENDS= bash:shells/bash
|
17 | 24 |
|
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 | + |
19 | 28 | USE_GNOME= glib20
|
20 | 29 | 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 |
22 | 38 |
|
23 | 39 | .include <bsd.port.mk>
|
0 commit comments