Bug 240041 - [NEW PORT] games/linux-unigine-superposition: Unigine Superposition Benchmark, basic version, linux binaries
Summary: [NEW PORT] games/linux-unigine-superposition: Unigine Superposition Benchmark...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2019-08-22 17:30 UTC by Hannes Hauswedell
Modified: 2019-09-13 09:26 UTC (History)
0 users

See Also:


Attachments
games/linux-unigine-superposition (14.38 KB, text/plain)
2019-08-22 17:30 UTC, Hannes Hauswedell
h2+fbsdports: maintainer-approval+
Details
Updated Port. (14.38 KB, text/plain)
2019-09-03 09:14 UTC, Hannes Hauswedell
no flags Details
Updated Port. (14.38 KB, text/plain)
2019-09-03 09:52 UTC, Hannes Hauswedell
no flags Details
New Makefile (1.57 KB, text/plain)
2019-09-12 19:56 UTC, Tijl Coosemans
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Hauswedell 2019-08-22 17:30:50 UTC
Created attachment 206792 [details]
games/linux-unigine-superposition

This is a split-off from 239783.

It contains the new port games/linux-unigine-superposition
Comment 1 Hannes Hauswedell 2019-09-03 09:14:11 UTC
Created attachment 207135 [details]
Updated Port.

Add USES= ssl
Comment 2 Hannes Hauswedell 2019-09-03 09:52:25 UTC
Created attachment 207136 [details]
Updated Port.

replace spaces with tab in line 17
Comment 3 Hannes Hauswedell 2019-09-03 09:53:22 UTC
# make describe passes.

# portlint
WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
0 fatal errors and 1 warning found.

# make check-plist
...
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

# make stage-qa
====> Running Q/A tests (stage-qa)
Warning: License is not auto-accepted, packages will not be built, ports depending on this one will be ignored.
Warning: License does not allow package to be distributed, ports depending on this one will be ignored
/!\ To run stage-qa automatically add DEVELOPER=yes to your environment /!\

# port test .

only (falsely?) complains about:
actual-package-depends: dependency on linux-c7-dri>0 not registered
pkg-static: No packages installed
actual-package-depends: dependency on linux-c7-openal-soft>0 not registered
pkg-static: No packages installed
actual-package-depends: dependency on linux-c7-xorg-libs>0 not registered
pkg-static: No packages installed
Comment 4 Tijl Coosemans freebsd_committer 2019-09-12 19:56:00 UTC
Created attachment 207429 [details]
New Makefile

Here's a new Makefile with the following changes:
- Add a .desktop entry.
- Install icons like the included postinstall.sh script does.
- Remove USES=ssl, it's for FreeBSD programs, not Linux.
- Add USE_LINUX=dbuslibs, needed by the included Qt5 libraries.
- Install Superposition launcher and replace the /usr/local/bin/linux-unigine-superposition script with a symlink to it.

The launcher needs the latest linux-c7-xorg-libs (7.7_7).

You still need to update pkg-plist and feel free to make other changes of course.
Comment 5 Tijl Coosemans freebsd_committer 2019-09-13 09:26:15 UTC
You may also want to replace '“' and '”' in pkg-license with ASCII '"', because the former don't display properly here.