ffa30aaa84
5.45 * New hacks, `covid19', `headroom', `sphereeversion' and `beats'. * Shader updates to `hypertorus'. * No more image-loading pause in `glslideshow'. * BSOD supports GNOME. * Image loaders support SVG. * macOS: Fixed text loading on 10.15. * X11: `xscreensaver-systemd' now allows video players to request that the screen not blank. * X11: -log implies -verbose -no-capture-stderr. * X11: Glade -> GtkBuilder. * Android: These hacks work now: `carousel', `juggler3d', `molecule', `photopile', `polyominoes'. * Various bug fixes. 5.44.1 * macOS: fixed some signing problems in the DMG.
73 lines
2 KiB
Text
73 lines
2 KiB
Text
# $NetBSD: Makefile.common,v 1.131 2021/01/04 12:23:32 wiz Exp $
|
|
#
|
|
# used by x11/xscreensaver/Makefile
|
|
# used by x11/xscreensaver-demo/Makefile
|
|
|
|
DISTNAME= xscreensaver-5.45
|
|
CATEGORIES= x11
|
|
MASTER_SITES= https://www.jwz.org/xscreensaver/
|
|
DIST_SUBDIR= xscreensaver
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.jwz.org/xscreensaver/
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_LANGUAGES= c99
|
|
USE_TOOLS+= gmake msgfmt perl pkg-config
|
|
|
|
CHECK_PORTABILITY_SKIP+= OSX/fuzztest.sh
|
|
CHECK_PORTABILITY_SKIP+= OSX/installer.sh
|
|
CHECK_PORTABILITY_SKIP+= android/Makefile
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-hackdir=${PREFIX}/libexec/xscreensaver
|
|
CONFIGURE_ARGS+= --with-jpeg=${JPEGBASE}
|
|
#CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
|
|
CONFIGURE_ARGS+= --without-motif
|
|
CONFIGURE_ARGS+= --with-pthread
|
|
|
|
CONFIGURE_ENV+= ac_cv_x_app_defaults="${PREFIX}/lib/X11/app-defaults"
|
|
CONFIGURE_ENV+= ac_cv_perl_version="${PERL_VERSION_cmd:sh}"
|
|
CONFIGURE_ENV+= INTLTOOL_PERL=${PERL5:Q}
|
|
.if defined(PKGREVISION)
|
|
CONFIGURE_ENV+= X_CFLAGS="-DPKGREVISION=${PKGREVISION}"
|
|
.endif
|
|
CONFIGURE_ARGS+= ac_cv_path_INTLTOOL_PERL=${PERL5:Q}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../x11/xscreensaver/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../x11/xscreensaver/patches
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PERL_VERSION_cmd= if ${TEST} -x ${PERL5}; then \
|
|
${PERL5} -e 'print $$]'; \
|
|
else \
|
|
${ECHO} "5.006"; \
|
|
fi
|
|
|
|
.if (${OPSYS} == "NetBSD")
|
|
CONFIGURE_ARGS+= --without-kerberos
|
|
.endif
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST_SRC+= PLIST.Darwin
|
|
.endif
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(CC_VERSION:Mgcc*)
|
|
CFLAGS+= -fno-strict-aliasing
|
|
.endif
|
|
|
|
.if !exists(/usr/bin/bc)
|
|
BUILD_DEPENDS+= bc-[0-9]*:../../math/bc
|
|
.endif
|
|
|
|
INSTALL_MAKE_FLAGS= install_prefix=${DESTDIR}
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.2
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|