gb4me-git
LOW
maintainer mAmineChniti
0 votes
scanned 2026-09-20 07:32:26.301293
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: mAmineChniti <emin.chniti@esprit.tn>
2
pkgname=gb4me-git
3
pkgver=r2.0a3b686
4
pkgrel=1
5
pkgdesc='Nintendo Game Boy / Game Boy Color emulator in C++23 (SDL3 + Vulkan)'
6
arch=('x86_64')
7
url='https://github.com/mAmineChniti/GB4ME'
8
license=('custom:unknown')
9
depends=('sdl3' 'vulkan-icd-loader')
10
makedepends=('cmake' 'git' 'shaderc' 'vulkan-headers')
11
provides=('gb4me')
12
conflicts=('gb4me')
13
source=('git+https://github.com/mAmineChniti/GB4ME.git')
14
sha256sums=('SKIP')
15
16
pkgver() {
17
cd "$srcdir/GB4ME"
18
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
19
}
20
21
build() {
22
cd "$srcdir/GB4ME"
23
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
24
cmake --build build -j"$(nproc)"
25
}
26
27
package() {
28
cd "$srcdir/GB4ME"
29
DESTDIR="$pkgdir" cmake --install build
30
31
# Compiled SPIR-V shaders (glslc emits these POST_BUILD into build/bin/shaders).
32
# The renderer searches /usr/share/GB4ME/shaders (see vulkan_renderer.cpp).
33
install -Dm644 build/bin/shaders/quad.vert.spv "$pkgdir/usr/share/GB4ME/shaders/quad.vert.spv"
34
install -Dm644 build/bin/shaders/quad.frag.spv "$pkgdir/usr/share/GB4ME/shaders/quad.frag.spv"
35
install -Dm644 build/bin/shaders/gui.vert.spv "$pkgdir/usr/share/GB4ME/shaders/gui.vert.spv"
36
install -Dm644 build/bin/shaders/gui.frag.spv "$pkgdir/usr/share/GB4ME/shaders/gui.frag.spv"
37
38
# Console photo texture for the menu shell (see create_body_texture).
39
install -Dm644 assets/gbc_body.png "$pkgdir/usr/share/GB4ME/assets/gbc_body.png"
40
41
# Window/app icon (512x512) and desktop entry (Icon=GB4ME resolves via hicolor).
42
install -Dm644 assets/GB4ME.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/GB4ME.png"
43
install -Dm644 GB4ME.desktop "$pkgdir/usr/share/applications/GB4ME.desktop"
44
}
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-20 07:32:26 | Low | 1 |