void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

New package: alexvsbus

Open M374LX opened this issue 1 year ago • 5 comments

Closes #48647

Testing the changes

  • I tested the changes in this PR: yes

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64)

More information

Tested and confirmed to run on my x86_64-glibc host system and also on x86_64 (both glibc and musl) virtual machines containing a newly installed Void system and an X server, even without a window manager.

The game can run without alsa-lib, albeit without audio.

M374LX avatar Feb 13 '24 01:02 M374LX

You can try adding raylib: https://github.com/void-linux/void-packages/pull/41218/files (do it in a separate commit on the same Pull request)

Eloitor avatar Feb 13 '24 09:02 Eloitor

The game's sources bundle raylib already.

It looks like xbps-src is overriding the Makefile's CFLAGS. If so, what should I do when the Makefile contains its own CFLAGS?

Update: Adding custom do_build() and do_install() functions seems to fix the problems. I am now able to build the package from xbps-src.

M374LX avatar Feb 13 '24 18:02 M374LX

I think you should put whatever you need into CFLAGS, look at some examples https://github.com/search?q=repo%3Avoid-linux%2Fvoid-packages%20CFLAGS%3D&type=code

Eloitor avatar Feb 13 '24 23:02 Eloitor

@Eloitor Creating custom do_build() and do_install() functions instead of relying on build_style=gnu-makefile seems to have finally fixed the problems.

M374LX avatar Feb 13 '24 23:02 M374LX

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

github-actions[bot] avatar May 19 '24 01:05 github-actions[bot]

It looks like this PR has become staled and closed automatically.

Is it a better idea to reopen this one or to open a new one?

M374LX avatar Jun 05 '24 02:06 M374LX