From owner-svn-ports-head@freebsd.org Thu Sep 5 10:23:57 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9FA6FE2516; Thu, 5 Sep 2019 10:23:57 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46PGxn3Zsxz4Y0j; Thu, 5 Sep 2019 10:23:57 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E62B29EA; Thu, 5 Sep 2019 10:23:57 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x85ANvai059034; Thu, 5 Sep 2019 10:23:57 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x85ANubw059031; Thu, 5 Sep 2019 10:23:56 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201909051023.x85ANubw059031@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Thu, 5 Sep 2019 10:23:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511168 - head/games/linux-unigine-heaven X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: head/games/linux-unigine-heaven X-SVN-Commit-Revision: 511168 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2019 10:23:57 -0000 Author: tijl Date: Thu Sep 5 10:23:56 2019 New Revision: 511168 URL: https://svnweb.freebsd.org/changeset/ports/511168 Log: - Make fetchable again. The checksum has changed. Since this is a binary only port it's not known what that means. A timestamp in the selfextractor script is now a couple of hours after the previous one so it may simply be a release+facepalm+fix+rerelease. At least it is downloaded from the official site now. - Fix portlint warnings. - Add a .desktop file. - Change startup script so it runs the 64-bit version on amd64. PR: 239783 Submitted by: Hannes Hauswedell (maintainer) Modified: head/games/linux-unigine-heaven/Makefile head/games/linux-unigine-heaven/distinfo head/games/linux-unigine-heaven/pkg-plist Modified: head/games/linux-unigine-heaven/Makefile ============================================================================== --- head/games/linux-unigine-heaven/Makefile Thu Sep 5 10:16:53 2019 (r511167) +++ head/games/linux-unigine-heaven/Makefile Thu Sep 5 10:23:56 2019 (r511168) @@ -3,13 +3,9 @@ PORTNAME= unigine-heaven PORTVERSION= 4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games benchmarks linux -MASTER_SITES= http://de1-dl.techpowerup.com/Benchmarking/ \ - http://nl1-dl.techpowerup.com/Benchmarking/ \ - http://uk1-dl.techpowerup.com/Benchmarking/ \ - http://us1-dl.techpowerup.com/Benchmarking/ \ - http://us2-dl.techpowerup.com/Benchmarking/ +MASTER_SITES= https://assets.unigine.com/d/ PKGNAMEPREFIX= linux- DISTNAME= Unigine_Heaven-${PORTVERSION} EXTRACT_SUFX= .run @@ -22,23 +18,29 @@ LICENSE_NAME= Unigine "Basic" License LICENSE_TEXT= Binary only, License text not available. Free-to-use + no-redistribution implied from homepage LICENSE_PERMS= no-dist-sell no-pkg-sell no-dist-mirror no-pkg-mirror -ONLY_FOR_ARCHS= i386 amd64 -USES= linux -USE_LINUX= dri openal-soft xorglibs +ONLY_FOR_ARCHS= amd64 i386 +USES= linux shebangfix +USE_LINUX= dri xorglibs USE_LDCONFIG= yes NO_BUILD= yes +SHEBANG_FILES= heaven +bash_CMD= ${LINUXBASE}/bin/bash + +DESKTOP_ENTRIES="Unigine Heaven" "${COMMENT}" "${DATADIR}/data/launcher/icon.png" \ + "${PKGNAMEPREFIX}${PORTNAME}" "Game;" false + do-extract: @${MKDIR} ${WRKSRC} - cd ${WRKSRC} && ${TAIL} -n 1098568 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - - ${PRINTF} "#\!/bin/sh\ncd ${DATADIR}/bin/\n" > ${WRKDIR}/${PORTNAME} - ${ECHO} 'export LD_LIBRARY_PATH=./x86:$$LD_LIBRARY_PATH' >> ${WRKDIR}/${PORTNAME} - ${ECHO} './browser_x86 -config ../data/launcher/launcher.xml' >> ${WRKDIR}/${PORTNAME} + cd ${WRKSRC} && ${TAIL} -n 1097642 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - + ${PRINTF} '#!/bin/sh\ncd ${DATADIR}\nexec\ + ${LINUXBASE}/bin/bash ./heaven\n' > ${WRKDIR}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME} cd ${WRKSRC} && ${COPYTREE_SHARE} ./data ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ./bin ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ./documentation ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/heaven ${STAGEDIR}${DATADIR}/heaven .include Modified: head/games/linux-unigine-heaven/distinfo ============================================================================== --- head/games/linux-unigine-heaven/distinfo Thu Sep 5 10:16:53 2019 (r511167) +++ head/games/linux-unigine-heaven/distinfo Thu Sep 5 10:23:56 2019 (r511168) @@ -1,2 +1,3 @@ -SHA256 (Unigine_Heaven-4.0.run) = 90e6f95bb3c0d92f557a948ca6754b1b1bead07a063ec2af0ce03ef8e7ac74f3 -SIZE (Unigine_Heaven-4.0.run) = 286329188 +TIMESTAMP = 1565539326 +SHA256 (Unigine_Heaven-4.0.run) = 1bb0204a9bd9b0bdbf2fe23aa0c32129905cb387040098b815332ddb396f36a7 +SIZE (Unigine_Heaven-4.0.run) = 286326725 Modified: head/games/linux-unigine-heaven/pkg-plist ============================================================================== --- head/games/linux-unigine-heaven/pkg-plist Thu Sep 5 10:16:53 2019 (r511167) +++ head/games/linux-unigine-heaven/pkg-plist Thu Sep 5 10:23:56 2019 (r511168) @@ -4,6 +4,7 @@ bin/linux-unigine-heaven %%DATADIR%%/bin/browser_x86 %%DATADIR%%/bin/heaven_x64 %%DATADIR%%/bin/heaven_x86 +%%DATADIR%%/heaven @mode %%DATADIR%%/bin/libAppStereo_x64.so %%DATADIR%%/bin/libAppStereo_x86.so