Date: Wed, 13 Jan 2021 08:46:58 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561442 - head/games/lbreakout2 Message-ID: <202101130846.10D8kwH8019571@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Wed Jan 13 08:46:58 2021 New Revision: 561442 URL: https://svnweb.freebsd.org/changeset/ports/561442 Log: games/lbreakout2: use a pre-generated png version of the desktop icon Pre-generating the desktop icon has two advantages: - this port no longer depends on the expired graphics/gif2png - the port is no longer broken on powerpc64, as that was related to gif2png Idea from the gif2png maintainer PR: 249693 Submitted by: swills Modified: head/games/lbreakout2/Makefile head/games/lbreakout2/distinfo Modified: head/games/lbreakout2/Makefile ============================================================================== --- head/games/lbreakout2/Makefile Wed Jan 13 08:39:53 2021 (r561441) +++ head/games/lbreakout2/Makefile Wed Jan 13 08:46:58 2021 (r561442) @@ -3,8 +3,13 @@ PORTNAME= lbreakout2 PORTVERSION= 2.6.5 +PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= SF/lgames/${PORTNAME}/${PORTVERSION:R} +MASTER_SITES= SF/lgames/${PORTNAME}/${PORTVERSION:R}:1 \ + LOCAL/rene/${PORTNAME}:2 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:1 \ + ${PORTNAME}.png:2 +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Breakout-style arcade game @@ -12,11 +17,8 @@ COMMENT= Breakout-style arcade game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= gif2png:graphics/gif2png LIB_DEPENDS= libpng.so:graphics/png -BROKEN_powerpc64= fails to build: gif2png: error in reading DataBlock: Segmentation fault (core dumped) - USES= gmake sdl USE_SDL= mixer net sdl GNU_CONFIGURE= yes @@ -47,8 +49,7 @@ post-patch: '/LDADD =/s|$$| @INTLLIBS@|' ${WRKSRC}/server/Makefile.in pre-build: - (cd ${WRKSRC} && ${CAT} lbreakout48.gif | gif2png -O -f \ - > lbreakout2.png) + ${CP} ${DISTDIR}/${PORTNAME}.png ${WRKSRC} post-install: (cd ${WRKSRC}/client && ${INSTALL_DATA} empty.hscr \ Modified: head/games/lbreakout2/distinfo ============================================================================== --- head/games/lbreakout2/distinfo Wed Jan 13 08:39:53 2021 (r561441) +++ head/games/lbreakout2/distinfo Wed Jan 13 08:46:58 2021 (r561442) @@ -1,2 +1,5 @@ +TIMESTAMP = 1610490449 SHA256 (lbreakout2-2.6.5.tar.gz) = 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f SIZE (lbreakout2-2.6.5.tar.gz) = 3491519 +SHA256 (lbreakout2.png) = 8941051e9a43104625cc271c2ea9c8f2c4f0065f4ac54f66415798e9c79fbc5e +SIZE (lbreakout2.png) = 1673
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101130846.10D8kwH8019571>