Files
2026-10-04 04:07:15 +00:00

37 lines
1.0 KiB
Makefile

PORTNAME= libpillowfight
DISTVERSION= 0.3.1
CATEGORIES= graphics python
MAINTAINER= yuri@FreeBSD.org
COMMENT= Library containing various image processing algorithms
WWW= https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= gmake:devel/gmake
TEST_DEPENDS= gmake:devel/gmake \
tox:devel/py-tox@${PY_FLAVOR}
USES= cmake python:test
USE_LDCONFIG= yes
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org/World
GL_ACCOUNT= OpenPaperwork
CMAKE_ARGS= -DCMAKE_POLICY_VERSION_MINIMUM=3.5 # CMake 4.5 compatibility, see https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/-/work_items/27
PLIST_FILES= include/pillowfight/pillowfight.h \
include/pillowfight/util.h \
lib/libpillowfight.so \
lib/libpillowfight.so.0
pre-configure:
@cd ${WRKSRC} && ${GMAKE} version
do-test: # many tests fail due to various reasons: https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/issues/18#note_279228
@cd ${WRKSRC} && ${GMAKE} test
.include <bsd.port.mk>