openbsd-ports/x11/qtfm/Makefile
bcallah b230d700f5 Update to qtfm-6.2.1
Changelog: https://github.com/rodlie/qtfm/releases/tag/6.2.1
Remove some patches that have been addressed in this update.
2021-07-22 21:01:58 +00:00

41 lines
952 B
Makefile

# $OpenBSD: Makefile,v 1.3 2021/07/22 21:01:58 bcallah Exp $
COMMENT = desktop-independent Unix file manager
CATEGORIES = x11
GH_ACCOUNT = rodlie
GH_PROJECT = qtfm
GH_TAGNAME = 6.2.1
HOMEPAGE = https://qtfm.eu/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2 only
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} GL Qt5Concurrent Qt5Core Qt5DBus
WANTLIB += Qt5Gui Qt5Widgets c lib/inotify/inotify m
MODULES = devel/qmake \
x11/qt5
LIB_DEPENDS = devel/libinotify
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
MAKE_ENV = CXXOPTS="-I${LOCALBASE}/include/inotify" \
LIBS="-L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath,${LOCALBASE}/lib/inotify"
NO_TEST = Yes
SUBST_VARS += GH_TAGNAME
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qtfm/xdg/autostart
mv ${WRKINST}/etc/xdg/autostart/qtfm-tray.desktop \
${PREFIX}/share/examples/qtfm/xdg/autostart
@rm -rf ${WRKINST}/etc/xdg
.include <bsd.port.mk>