Bug 282691 - [NEW PORT] emulators/flycast: Multi-platform Sega Dreamcast emulator
Summary: [NEW PORT] emulators/flycast: Multi-platform Sega Dreamcast emulator
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://github.com/flyinghead/flycast
Keywords:
Depends on: 282692
Blocks:
  Show dependency treegraph
 
Reported: 2024-11-11 11:34 UTC by Stefan Schlosser
Modified: 2024-11-14 08:56 UTC (History)
2 users (show)

See Also:


Attachments
new port emulators/flycast (14.57 KB, patch)
2024-11-11 11:34 UTC, Stefan Schlosser
bsdcode: maintainer-approval+
Details | Diff
new port emulators/flycast v2 (15.55 KB, patch)
2024-11-12 21:03 UTC, Stefan Schlosser
bsdcode: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schlosser 2024-11-11 11:34:49 UTC
Created attachment 255096 [details]
new port emulators/flycast

Flycast is a multi-platform Sega Dreamcast, Naomi, Naomi 2, and Atomiswave
emulator derived from reicast.

https://github.com/flyinghead/flycast


Handling of git submodules with Makefile.tuples and files/gen_gh_tuple.sh is derived from emulators/dolphin-emu and emulators/pcsx2.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2024-11-12 12:52:56 UTC
Patch looks reasonable.
Please extend pkg-descr to at least three lines.  This file should explain to the user why the port is interesting and what advantages it has over other ports for the same purpose, so try to put useful information in!
Please unbundle libchdr now that a port for it (bug #282692) is slated to be committed.

Long term, we might want to put the Makefile.tuples logic into a reusable script in the ports tree.
Comment 2 Stefan Schlosser 2024-11-12 13:19:00 UTC
(In reply to Robert Clausecker from comment #1)
> Please extend pkg-descr to at least three lines.  This file should explain to the
> user why the port is interesting and what advantages it has over other ports for
> the same purpose, so try to put useful information in!
> Please unbundle libchdr now that a port for it (bug #282692) is slated to be
> committed.
Alright, I'll be working on it and provide an updated patch soon.

> Long term, we might want to put the Makefile.tuples logic into a reusable script in
> the ports tree.
This would be really great!
Comment 3 Stefan Schlosser 2024-11-12 21:03:47 UTC
Created attachment 255123 [details]
new port emulators/flycast v2

As requested, the new patch has a more flavored pkg-descr and unbundles libchdr.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-14 08:45:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd40da67a627a917f2cfaacced2e1403685a6d16

commit dd40da67a627a917f2cfaacced2e1403685a6d16
Author:     Stefan Schlosser <bsdcode@disroot.org>
AuthorDate: 2024-10-24 13:07:37 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:43:27 +0000

    emulators/flycast: New Port: Multi-platform Sega Dreamcast emulator

    Flycast is a multi-platform Sega Dreamcast, Naomi, Naomi 2, and Atomiswave
    emulator derived from reicast.

    WWW: https://github.com/flyinghead/flycast

    PR:             282691

 emulators/Makefile                                 |  1 +
 emulators/flycast/Makefile (new)                   | 66 ++++++++++++++++++++++
 emulators/flycast/Makefile.tuples (new)            |  4 ++
 emulators/flycast/distinfo (new)                   |  9 +++
 emulators/flycast/files/gen_gh_tuple.sh (new)      | 29 ++++++++++
 emulators/flycast/files/patch-CMakeLists.txt (new) | 57 +++++++++++++++++++
 .../patch-core_rend_vulkan_vmallocator.cpp (new)   |  9 +++
 .../patch-core_rend_vulkan_vmallocator.h (new)     | 38 +++++++++++++
 ...atch-core_rend_vulkan_vulkan__context.cpp (new) | 19 +++++++
 emulators/flycast/pkg-descr (new)                  | 14 +++++
 emulators/flycast/pkg-plist (new)                  | 17 ++++++
 11 files changed, 263 insertions(+)
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-11-14 08:56:49 UTC
Thank you for your contribution.