@HurricanePootis Nice catch, I've added your changes.
Search Criteria
Package Details: spacecadetpinball-git 2.0.1.r27.g8017734-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/spacecadetpinball-git.git (read-only, click to copy) |
---|---|
Package Base: | spacecadetpinball-git |
Description: | Reverse engineered port of "3D Pinball for Windows – Space Cadet" to Linux |
Upstream URL: | https://github.com/k4zmu2a/SpaceCadetPinball |
Keywords: | game mspinball pinball |
Licenses: | MIT, proprietary |
Conflicts: | spacecadetpinball |
Provides: | spacecadetpinball |
Submitter: | nulldev |
Maintainer: | nulldev |
Last Packager: | nulldev |
Votes: | 20 |
Popularity: | 0.42 |
First Submitted: | 2021-09-30 16:58 (UTC) |
Last Updated: | 2022-06-11 02:13 (UTC) |
Dependencies (6)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- sdl2_mixer
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (make)
- freepats-general-midi (optional) – Soundfont for playing background music
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2
nulldev commented on 2021-12-13 00:10 (UTC)
HurricanePootis commented on 2021-12-08 16:47 (UTC) (edited on 2021-12-08 16:48 (UTC) by HurricanePootis)
Your PKGBUILD, with the release type set to none
is not respecting the C++ and C flags listed in my /etc/makepkg.conf
.
Therefore, I propose the following change
_pkgname=spacecadetpinball
pkgname=$_pkgname-git
pkgdesc='Reverse engineered port of "3D Pinball for Windows – Space Cadet" to Linux
-pkgver=1.1.1.r45.g5947727
+pkgver=2.0.r21.g3400ea4
pkgrel=1
arch=('x86_64' 'i686' 'pentium4' 'aarch64' 'armv7h' 'armv6h')
depends=('sdl2' 'sdl2_mixer')
@@ -37,7 +37,9 @@ build() {
LDFLAGS="-DNDEBUG" CXXFLAGS="-DNDEBUG" cmake -B "$pkgname/build" -S "$pkgname" \
-Wno-dev \
-DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS"
make -C "$pkgname/build"
}
We can still keep the release type to none, but respect the flags set by the user in /etc/makepkg.conf
by setting -DCMAKE_C_FLAGS="$CFLAGS"
and -DCMAKE_CXX_FLAGS="$CXXFLAGS"
nulldev commented on 2021-10-13 14:55 (UTC)
@katt Thanks for the advice, fixed!
katt commented on 2021-10-13 12:19 (UTC) (edited on 2021-10-13 12:20 (UTC) by katt)
Needs git as makedepend:
==> ERROR: Cannot find the git package needed to handle git sources.
Also should provide and conflict with spacecadetpinball
Pinned Comments
nulldev commented on 2022-01-17 01:40 (UTC) (edited on 2022-01-17 01:41 (UTC) by nulldev)
This package now installs both the low-res graphics used in "3D Pinball for Windows" as well as the high-res graphics used in "Full Tilt! Pinball".
The full tilt graphics are used by default, however you can switch to the low-res graphics by selecting
Options > Game Data > Prefer 3DPB Data
in game.Thank you @lightspot21 and @afontenot for the help! I've also included your soundfont fixes afontenot, thanks for those as well.