(old patches got merged) Added support for accessing the contents of the previous frame in a texture - motion blur, feedback effects, state machines, GO GO GO! Additional syntax colouring options Also HDR texture support and a number of other fixes
55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.4 2021/02/04 17:01:26 kn Exp $
|
|
|
|
ONLY_FOR_ARCHS = amd64
|
|
|
|
COMMENT = tool for live-coding pixel shaders
|
|
|
|
GH_ACCOUNT = Gargaj
|
|
GH_PROJECT = Bonzomatic
|
|
GH_TAGNAME = 2021-01-29
|
|
PKGNAME = bonzomatic-${GH_TAGNAME:S/-//g}
|
|
|
|
CATEGORIES = graphics
|
|
|
|
MAINTAINER = Klemens Nanni <kn@openbsd.org>
|
|
|
|
# public domain, with ${WRKSRC}/external/ components:
|
|
# GLEW: modified BSD, MIT
|
|
# GLFW: Zlib
|
|
# Scintilla: MIT
|
|
# jsonxx: MIT
|
|
# kiss_fft: Unlicense
|
|
# miniaudio: public domain
|
|
# stb: public domain
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL X11 c fontconfig m
|
|
|
|
MODULES = devel/cmake
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
x11/gtk+3,-guic
|
|
|
|
# C++
|
|
COMPILER = base-clang
|
|
|
|
NO_TEST = Yes
|
|
|
|
# ${WRKSRC}/src/platform_x11/Misc.cpp:11:10:
|
|
# fatal error: 'fontconfig/fontconfig.h' file not found
|
|
CONFIGURE_ARGS = -DBZC_PROJECT_INCLUDES=${X11BASE}/include
|
|
|
|
# ${WRKSRC}/external/glew/GL/glew.h:1202:14:
|
|
# fatal error: 'GL/glu.h' file not found
|
|
CFLAGS += -I${X11BASE}/include
|
|
|
|
.if DEBUG
|
|
MODCMAKE_DEBUG = Yes
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/bonzomatic/
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/bonzomatic/
|
|
|
|
.include <bsd.port.mk>
|