I'm now maintaining a package at https://codeberg.org/myself600/aur/src/branch/main/re3-git.
Search Criteria
Package Details: re3-git 1.0.r294.g3233ffe-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/re3-git.git (read-only, click to copy) |
---|---|
Package Base: | re3-git |
Description: | Grand Theft Auto III reverse engineered |
Upstream URL: | https://github.com/GTAmodding/re3 |
Keywords: | gta |
Licenses: | LicenseRef-None |
Conflicts: | re3 |
Provides: | re3 |
Submitter: | hazelnot |
Maintainer: | eugene |
Last Packager: | eugene |
Votes: | 9 |
Popularity: | 0.000017 |
First Submitted: | 2020-10-16 15:27 (UTC) |
Last Updated: | 2024-03-13 23:12 (UTC) |
Dependencies (10)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glfw (glfw-wayland-minecraft-cursorfixAUR, glfw-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- mpg123 (mpg123-svnAUR, mpg321AUR, mpg321-binAUR)
- openal (openal-gitAUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- zenity (qarma-gitAUR, zenity-gtk3AUR, zenity-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR) (make)
- premake (premake-gitAUR) (make)
Required by (0)
Sources (9)
myself601 commented on 2024-02-05 21:38 (UTC) (edited on 2024-02-10 00:45 (UTC) by myself601)
Shatur commented on 2023-05-14 09:39 (UTC) (edited on 2023-05-14 09:44 (UTC) by Shatur)
Okay, no problem!
Package should be usable without further manual interventions
Makes sense, but you need to obtain a copy of GTA anyway, so manual intervention is unavoidable. This is why I think that copy files too game folder is fine. Having to install zenity
for one time dialog is kinda too much for me.
no updates expected, so you will build it just once per package
Still need to build it twice.
2. if build time is concern to you, you can use ccache
But it requires manual intervention that could be avoided.
3. project uses special version of librw, pinned by sub-module config, and I do not plan to resolve any potential breakage caused by version update of librw
librw tailored for re3 and reVC. I doubt that there will be any breakage.
But it's easy to edit revc-git
to build re3-git
the way @myself600 suggested, so no problem here, just wanted to share my opinion (and files in case someone finds it useful).
eugene commented on 2023-05-13 23:03 (UTC) (edited on 2023-05-13 23:05 (UTC) by eugene)
I hear you @Shatur, but I have different thoughts on that manner. Package should be usable without further manual interventions so I would keep current approach with re3-launcher. Upstream is essentially gone at this point. So: 1. no updates expected, so you will build it just once per package 2. if build time is concern to you, you can use ccache 3. project uses special version of librw, pinned by sub-module config, and I do not plan to resolve any potential breakage caused by version update of librw
Shatur commented on 2023-05-13 22:44 (UTC) (edited on 2023-05-13 22:44 (UTC) by Shatur)
What @myself600 suggested is how packages are usually created in Arch.
I especially like using the system libraries because it can take a long time to double compile librw
for re3 and reVC on an Arm based device.
So I just copied revc-git
and adjusted it to build re3 instead. Here are the files: PKGBUILD, re3.install, re3.desktop.
eugene commented on 2023-05-12 17:01 (UTC)
@Shatur, sorry but I see no point implementing those suggestions. Do you have any objections?
Shatur commented on 2023-05-12 15:06 (UTC)
@eugene could you please apply suggestions from @myself600 to make it consistent with revc-git
?
myself600 commented on 2022-10-25 19:28 (UTC) (edited on 2022-11-01 09:06 (UTC) by myself600)
Please move to using system libraries with the following:
- add librw-git to
depends
(as we want the Git version) -
replace premake with cmake in
makedepends
andbuild()
:cmake -DRE3_VENDORED_LIBRW= . make
-
delete submodule related stuff from
source
,sha256sums
andprepare()
- replace "bin/linux-amd64-librw_gl3_glfw-oal/Release/re3" with "src/re3" in
package()
Others:
- <del>add aarch64 to
arch
as it's supported</del> merged - <del>
license
should be custom:none since it's stated in the README</del> merged - include release in
pkgver()
withgit describe --tags|sed 's/.*_//;s/-\(.*\)-g/+r\1./'
- use simpler "Grand Theft Auto III reverse engineered" in
pkgdesc()
(most of the packages are "open-source" anyway) - replace broken
url
with https://github.com/td512/re3 - While re3-launcher seems nice, it's too complex of a solution for
cp -r /usr/share/re3/* ~/.re3
. A simple note inpost_install()
script should be enough (just a suggestion tho). - general cleanup of the code: removing unneeded quotation marks, simplified syntax, dependencies, files, paths, etc., etc. ... (https://aur.archlinux.org/packages/revc-git#comment-886672)
kellerman commented on 2021-12-04 18:55 (UTC)
yes, all works after changing the repo
feral_hedgehog commented on 2021-09-05 22:05 (UTC)
Hello! I've just built the package using glfw-wayland and the game is running without issues so far (on SwayWM). Could you change the dependency to glfw instead of glfw-x11?
Thank you for this package!
katt commented on 2021-08-17 10:49 (UTC)
Fails to package with:
==> Starting package()...
install: cannot stat 'logo.png': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Pinned Comments