Bug 240041

Summary: [NEW PORT] games/linux-unigine-superposition: Unigine Superposition Benchmark, basic version, linux binaries
Product: Ports & Packages Reporter: Hannes Hauswedell <h2+fbsdports>
Component: Individual Port(s)Assignee: Tijl Coosemans <tijl>
Status: Open ---    
Severity: Affects Only Me Keywords: feature, needs-qa
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239783
Description Flags
h2+fbsdports: maintainer-approval+
Updated Port.
Updated Port.
New Makefile none

Description Hannes Hauswedell 2019-08-22 17:30:50 UTC
Created attachment 206792 [details]

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.