34 lines
811 B
Makefile
34 lines
811 B
Makefile
# $OpenBSD: Makefile,v 1.2 2021/02/15 17:13:29 rsadowski Exp $
|
|
|
|
COMMENT = screenshot tool with annotations features
|
|
|
|
GH_ACCOUNT = ksnip
|
|
GH_PROJECT = ksnip
|
|
GH_TAGNAME = v1.8.1
|
|
|
|
CATEGORIES = graphics
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Network
|
|
WANTLIB += Qt5PrintSupport Qt5Svg Qt5Widgets Qt5X11Extras Qt5Xml
|
|
WANTLIB += X11 c kColorPicker kImageAnnotator m xcb xcb-render
|
|
WANTLIB += xcb-shape xcb-xfixes
|
|
|
|
EXTRACT_SUFX = .tar.gz
|
|
|
|
MODULES = devel/kf5
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
|
|
LIB_DEPENDS = graphics/kcolorpicker \
|
|
graphics/kimageannotator>=0.4.1 \
|
|
x11/qt5/qtx11extras
|
|
|
|
CONFIGURE_ARGS += -DCMAKE_CXX_FLAGS="-I${LOCALBASE}/include"
|
|
CONFIGURE_ENV += LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|