View | Details | Raw Unified | Return to bug 232801 | Differences between
and this patch

Collapse All | Expand All

(-)deskutils/Makefile (+1 lines)
Lines 230-235 Link Here
230
    SUBDIR += preferences
230
    SUBDIR += preferences
231
    SUBDIR += projectlibre
231
    SUBDIR += projectlibre
232
    SUBDIR += puush
232
    SUBDIR += puush
233
    SUBDIR += py-autokey
233
    SUBDIR += py-bugwarrior
234
    SUBDIR += py-bugwarrior
234
    SUBDIR += py-khal
235
    SUBDIR += py-khal
235
    SUBDIR += py-khard
236
    SUBDIR += py-khard
(-)deskutils/py-autokey/Makefile (+55 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	autokey
4
DISTVERSION=	0.95.4
5
CATEGORIES=	deskutils python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	daniel@shafer.cc
10
COMMENT=	Desktop automation utility for Linux and X11
11
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR}
18
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}pyinotify>0:devel/py-pyinotify@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR}
22
23
USES=		desktop-file-utils python:3.5+ shebangfix
24
USE_PYTHON=	autoplist distutils
25
26
INSTALLS_ICONS=	yes
27
NO_ARCH=	yes
28
29
OPTIONS_MULTI=	UI
30
OPTIONS_MULTI_UI=	GTK3 QT5
31
OPTIONS_DEFAULT=	GTK3
32
33
GTK3_RUN_DEPENDS=	libappindicator>0:devel/libappindicator
34
GTK3_USES=	gnome
35
GTK3_USE=	GNOME=gtk30,gtksourceview3,pygobject3
36
37
QT5_USES=	pyqt:5 qt:5
38
QT5_USE=	PYQT=qscintilla2,sip,svg,xml
39
40
post-patch:
41
	${REINPLACE_CMD} 's|share/man|man|g' ${WRKSRC}/setup.py
42
	# Remove dbus-python from reqs as its the wrong dep name, devs will fix next release.
43
	${REINPLACE_CMD} "/install_requires=/s|'dbus-python', ||g" ${WRKSRC}/setup.py
44
45
# setup.py installs both gtk and qt files no matter what, need to clean that up.
46
post-install-GTK3-off:
47
	${RM} ${STAGEDIR}${PREFIX}/share/applications/autokey-gtk.desktop
48
	${RM} ${STAGEDIR}${PREFIX}/bin/autokey-gtk
49
	${RM} ${STAGEDIR}${PREFIX}/man/man1/autokey-gtk.1
50
post-install-QT5-off:
51
	${RM} ${STAGEDIR}${PREFIX}/share/applications/autokey-qt.desktop
52
	${RM} ${STAGEDIR}${PREFIX}/bin/autokey-qt
53
	${RM} ${STAGEDIR}${PREFIX}/man/man1/autokey-qt.1
54
55
.include <bsd.port.mk>
(-)deskutils/py-autokey/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1543643976
2
SHA256 (autokey-0.95.4.tar.gz) = 0e46d27727cd611ddf5a23a5a88924fc614662bd797db4fa177cabbe63448206
3
SIZE (autokey-0.95.4.tar.gz) = 263627
(-)deskutils/py-autokey/pkg-descr (+3 lines)
Added Link Here
1
Desktop automation utility for Linux and X11 written in Python 3.
2
3
WWW: https://github.com/autokey-py3/autokey
(-)deskutils/py-autokey/pkg-message (+5 lines)
Added Link Here
1
*Important*
2
3
This is an X11 application, and as such will not function 100% on 
4
distributions that default to using Wayland instead of Xorg.
5

Return to bug 232801