Package Details: revc-git 1.0.r870.ga16fcd8d-1

Git Clone URL: https://aur.archlinux.org/revc-git.git (read-only, click to copy)
Package Base: revc-git
Description: Grand Theft Auto: Vice City reverse engineered
Upstream URL: https://github.com/halpz/re3/tree/miami
Keywords: gta
Licenses: custom:none
Submitter: pac85
Maintainer: eugene
Last Packager: eugene
Votes: 8
Popularity: 0.088097
First Submitted: 2021-02-14 17:01 (UTC)
Last Updated: 2024-04-13 22:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

loathingkernel commented on 2021-07-29 06:51 (UTC) (edited on 2021-07-29 06:54 (UTC) by loathingkernel)

@7hePow change this line from

    'git://github.com/GTAmodding/re3.git#branch=miami'

to

    'git+https://github.com/GTAmodding/re3.git#branch=miami'

It is irrelevant to having re3-git installed or the directory it is using, as $srcdir contains $pkgname, ergo they are different. The error message tells you as much.

7hePow commented on 2021-07-29 05:45 (UTC) (edited on 2021-07-29 05:46 (UTC) by 7hePow)

Having re3-git installed conflicts with building revc-git as both use the same "$srcdir/re3": ==> ERROR: /home/user/Builds/sources/re3 is not a clone of git://github.com/GTAmodding/re3.git

eugene commented on 2021-06-20 13:28 (UTC)

@mokman with this patch package builds fine:

diff --git a/PKGBUILD b/PKGBUILD
index 6f8bb09..d083a88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
 pkgname=revc-git
-pkgver=1
+pkgver=4262.040c6f90
 pkgrel=1
 pkgdesc="Grand Theft Auto Vice City reverse engineered"
 arch=('x86_64')
 depends=('openal' 'glew' 'glfw' 'libsndfile' 'mpg123')
-makedepends=('git' 'cmake' 'premake')
+makedepends=('git' 'premake' 'clang')
 provides=('revc')
 license=('none')

 install=$pkgname.install
 source=(
-    'git://github.com/GTAmodding/re3.git#branch=miami'
+    'git+https://github.com/halpz/re3.git#branch=miami'
     'git+https://github.com/aap/librw.git'
     'git+https://github.com/xiph/ogg.git'
     'git+https://github.com/xiph/opus.git'
@@ -46,9 +46,8 @@ build() {
     cd "$srcdir/re3"

     premake5 --with-librw gmake2
-    cd "build"
-    "./../printHash.sh" "./../src/extras/GitSHA1.cpp"
-    make O=. config=release_linux-amd64-librw_gl3_glfw-oal
+    ./printHash.sh src/extras/GitSHA1.cpp
+    CC=clang CXX=clang++ make -C build config=release_linux-amd64-librw_gl3_glfw-oal
 }

 package() {

mokman commented on 2021-06-20 07:42 (UTC) (edited on 2021-06-20 07:46 (UTC) by mokman)

changing the repository to one that ist online did not help, here's the output:

make[1]: *** [reVC.make:1056: obj/linux-amd64-librw_gl3_glfw-oal/Release/reVC/re3.o] Error 1
make: *** [Makefile:78: reVC] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'revc-git-1-1':
:: Packages failed to build: revc-git-1-1

Redi commented on 2021-06-11 15:20 (UTC) (edited on 2021-06-11 15:20 (UTC) by Redi)

Yeah this thing doesn't work...

fatal: remote error:

Repository unavailable due to DMCA takedown.

See the takedown notice for more details:

https://github.com/github/dmca/blob/master/2021/02/2021-02-19-take-two.md.

==> ERROR: Failure while downloading re3 git repo

Aborting...

mokman commented on 2021-06-07 20:04 (UTC) (edited on 2021-06-07 20:04 (UTC) by mokman)

the repository is back online here:
https://github.com/halpz/re3
i edited the pkgbuild accordingly, but couldn't build it.

loathingkernel commented on 2021-02-16 18:31 (UTC)

I'd say yes as you make sure premake keeps working in the future despite whatever version is in repo.

pac85 commented on 2021-02-16 18:22 (UTC)

I've added the dependencies and changed handling of submodules. Has for premake, the repo comes with it, should I ignore it and instead add premake as a makedep and use the one from the system?

loathingkernel commented on 2021-02-16 17:40 (UTC) (edited on 2021-02-16 17:51 (UTC) by loathingkernel)

Your prepare() is wrong. Don't pull git modules in prepare, do it using the source array and then sync them from the srcdir. Also don't checkout branches in there. Use the sources arrays again for that. And another thing, premake is available in the arch repos.

https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_submodules

https://man.archlinux.org/man/PKGBUILD.5#USING_VCS_SOURCES

PedroHLC commented on 2021-02-15 15:55 (UTC)

Please, add the same dependencies as "re3-git"

depends=('openal' 'glew' 'glfw' 'libsndfile' 'mpg123')
makedepends=('git' 'cmake')

I build all packages in a clean-chroot (I'm not alone), and without explicitly listing the deps in PKGBUILD it won't work...