PORTNAME= aseprite DISTVERSIONPREFIX= v DISTVERSION= 1.2.9 PORTREVISION= 10 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= Animated sprite editor and pixel art tool WWW= https://www.aseprite.org/ LICENSE= EULA LICENSE_NAME= END-USER LICENSE AGREEMENT FOR ASEPRITE LICENSE_FILE= ${WRKSRC}/EULA.txt LICENSE_PERMS= dist-mirror auto-accept BROKEN_armv6= fails to compile: undefined reference to __va_copy BROKEN_armv7= fails to compile: undefined reference to __va_copy EXTRACT_DEPENDS= ${NONEXISTENT}:x11/pixman:extract LIB_DEPENDS= liballeg.so:devel/allegro \ libcmark.so:textproc/cmark \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ liblz4.so:archivers/liblz4 \ libnettle.so:security/nettle \ libpng.so:graphics/png \ libtinyxml.so:textproc/tinyxml \ libzstd.so:archivers/zstd USES= cmake compiler:c++11-lib gnome iconv:wchar_t jpeg \ localbase:ldflags pkgconfig ssl xorg USE_GITHUB= yes GH_TUPLE= aseprite:libarchive:c51dbfc:libarchive/third_party/libarchive GH_TUPLE+= aseprite:clip:964a64a:clip/src/clip GH_TUPLE+= aseprite:flic:65a6072:flic/src/flic GH_TUPLE+= aseprite:fmt:933a33a:fmt/third_party/fmt GH_TUPLE+= aseprite:json11:ec4e452:json11/third_party/json11 GH_TUPLE+= aseprite:laf:60e6ad7:laf/laf GH_TUPLE+= aseprite:mujs:34cb617:mujs/third_party/mujs GH_TUPLE+= aseprite:observable:59c3862:observable/src/observable GH_TUPLE+= aseprite:simpleini:0687587:simpleini/third_party/simpleini GH_TUPLE+= aseprite:tinyexpr:ca50544:tinyexpr/third_party/tinyexpr GH_TUPLE+= aseprite:stringencoders:e1448a9:stringencoders/laf/third_party/stringencoders GH_TUPLE+= aseprite:undo:93fc81d:undo/src/undo USE_GNOME= libxml2 USE_XORG= x11 xcb xcursor xext xpm ice pixman sm xxf86dga xxf86vm CMAKE_ON= USE_SHARED_ALLEGRO4 \ USE_SHARED_CMARK \ USE_SHARED_CURL \ USE_SHARED_FREETYPE \ USE_SHARED_GIFLIB \ USE_SHARED_HARFBUZZ \ USE_SHARED_JPEGLIB \ USE_SHARED_LIBLOADPNG \ USE_SHARED_LIBPNG \ USE_SHARED_PIXMAN \ USE_SHARED_TINYXML \ USE_SHARED_ZLIB CMAKE_ARGS= -DFREEBSD_LIB_PATH=${LOCALBASE}/lib OPTIONS_DEFINE= STEAM WEBP OPTIONS_DEFAULT= WEBP STEAM_DESC= Compile with Steam library STEAM_CMAKE_BOOL= ENABLE_STEAM WEBP_CMAKE_BOOL= WITH_WEBP_SUPPORT WEBP_LIB_DEPENDS= libwebp.so:graphics/webp post-extract: @${RM} -r ${WRKSRC}/src/allegro @${MKDIR} ${WRKSRC}/third_party/pixman/pixman @${CP} `${MAKE} -C ${PORTSDIR}/x11/pixman -V WRKSRC`/pixman/pixman-combine32.h \ ${WRKSRC}/third_party/pixman/pixman/ post-patch: @${REINPLACE_CMD} -e 's|1.3-dev|${PORTVERSION}|' ${WRKSRC}/src/config.h ${WRKSRC}/data/gui.xml post-install: @cd ${STAGEDIR}${PREFIX} && ${RM} -r bin/bsd* include lib libdata share/man # see https://github.com/aseprite/aseprite/issues/1602 .include