pkgsrc/x11/xscreensaver/Makefile.common
hauke 00ca3edcba Update x11/xscreensaver to 5.29.
From the changelog:

5.29    * Downgraded to Xcode 5.0.2 to make it possible to build savers
          that will still run on 10.6 and 10.7.  Sigh.
        * Updated `webcollage' for recent changes.

5.28    * Fixed some compilation problems and intermittent crashes.
        * Turned off the OSX 10.6 enable_gc hack. It didn't work.

5.27    * New hacks, `tessellimage' and `projectiveplane'.
        * Added support for pthreads, because Dave Odell is a madman.
        * Updated `webcollage' for recent changes.
        * Minor iOS tweaks to the `analogtv' hacks.
        * X11: Don't assume Suspend = 0 implies "No DPMS".
        * Minor updates to `boxed' and `klein'.
        * Fixed possible crash in `apple2', `noseguy', `xmatrix', `shadebobs'.
        * Fixed possible crash in OSX preferences.
        * OSX Performance improvements.
        * Plugged some leaks.

5.26    * More auto-updater tweaks.

5.25    * Try harder to bypass Quarrantine and Gatekeeper in OSX installer.
        * Some files were missing from the tarball.

5.24    * Added "Automatically check for updates" option on OSX.
        * Updated feed-loading for recent Flickr changes.
        * Updated `webcollage' for recent Google changes.
        * Added Instagram and Bing as `webcollage' image sources.
        * Updated to latest autoconf.
        * Bug fixes.

5.23    * New hack, `geodesic'.
        * iOS and OSX: huge XCopyArea performance improvements.
        * More heuristics for using RSS feeds as image sources.
        * Improved Wikipedia parser.
        * Updated `webcollage' for recent Flickr changes.
        * Added Android to `bsod'.
        * OSX: Added a real installer.
        * iOS and OSX: fixed a font-metrics bug.
        * iOS: Fixed aspect ratio bug in non-rotating apps when launched in
          landscape mode.
        * Made `quasicrystal' work on weak graphics cards.
        * iOS: fixed `ifs'.
        * Better compression on icons, plists and XML files: smaller
          distribution and installation footprint.
        * Reverted that DEACTIVATE change. Bad idea.
        * `Phosphor' now supports amber as well as green.
2014-08-12 15:57:13 +00:00

76 lines
2 KiB
Text

# $NetBSD: Makefile.common,v 1.114 2014/08/12 15:57:13 hauke Exp $
#
# used by x11/xscreensaver/Makefile
# used by x11/xscreensaver-demo/Makefile
# When updating the package,
# please check kdeartwork3 -- it installs some extra
# files depending on which screensavers it finds.
DISTNAME= xscreensaver-5.29
CATEGORIES= x11
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jwz.org/xscreensaver/
BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.2
USE_PKGLOCALEDIR= yes
USE_X11= yes
USE_TOOLS+= msgfmt perl
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")
. if defined(KERBEROS)
CFLAGS+= -I/usr/include/kerberosIV
. else
CONFIGURE_ARGS+= --without-kerberos
. endif
.endif
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc*)
CFLAGS+= -fno-strict-aliasing
.endif
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 2.95.3
.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 "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"