Package Details: sameboy-git 1266.9e8b4345-1

Git Clone URL: https://aur.archlinux.org/sameboy-git.git (read-only, click to copy)
Package Base: sameboy-git
Description: An accuracy-focused Game Boy/Game Boy Color emulator
Upstream URL: https://github.com/LIJI32/SameBoy
Licenses: MIT
Provides: sameboy
Submitter: NieDzejkob
Maintainer: NieDzejkob
Last Packager: NieDzejkob
Votes: 1
Popularity: 0.000067
First Submitted: 2018-11-10 15:38
Last Updated: 2020-05-31 23:44

Latest Comments

JL2210 commented on 2020-06-06 01:41

This should conflict with and provide the sameboy package.

Arvedui commented on 2020-05-17 14:36

Instead of trying to patch out certain flags you could just tell the build system you are using gcc. Here is a patch doing exactly that.

diff --git a/PKGBUILD b/PKGBUILD
index eade375..a85c2f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,10 +13,6 @@ makedepends=(rgbds make git)
 source=(git+https://github.com/LIJI32/SameBoy)
 sha1sums=(SKIP)

-prepare(){
-   sed -i 's/-Werror //' SameBoy/Makefile
-   sed -i 's/-Wpartial-availability //' SameBoy/Makefile
-}

 pkgver(){
    cd SameBoy
@@ -25,7 +21,7 @@ pkgver(){

 build(){
    cd SameBoy
-   make sdl CONF=release DATA_DIR=/usr/share/games/sameboy/
+   make sdl CONF=release DATA_DIR=/usr/share/games/sameboy/ CC=gcc
 }

 package(){

BlueInk commented on 2020-04-22 10:35

I had to install clang for it to compile.

capnhawkbill commented on 2020-04-17 09:39

It's better to use https for git because ssh doesn't always work

Also it wont compile with the -Wpartial-availability flag in the MakeFile I suggest adding: sed -i 's/-Wpartial-availability//' SameBoy/Makefile to the prepare routine until it is fixed upstream