Package Details: vvvvvv-git 20230402.c88f249f-1

Git Clone URL: https://aur.archlinux.org/vvvvvv-git.git (read-only, click to copy)
Package Base: vvvvvv-git
Description: A retro-styled 2D platformer
Upstream URL: https://thelettervsixtim.es/
Licenses: custom
Conflicts: vvvvvv
Provides: vvvvvv
Submitter: Xesxen
Maintainer: Xesxen
Last Packager: Xesxen
Votes: 4
Popularity: 0.000000
First Submitted: 2020-01-10 19:01 (UTC)
Last Updated: 2023-04-03 20:08 (UTC)

Latest Comments

1 2 Next › Last »

hexcoder commented on 2024-11-30 17:23 (UTC) (edited on 2024-11-30 17:27 (UTC) by hexcoder)

As reported by Stutonk I had to adapt it like that:


diff --git a/PKGBUILD b/PKGBUILD
index 580da7e..be51e61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgname=vvvvvv-git
 binname=vvvvvv
-pkgver=20230402.c88f249f
+pkgver=20241117.d4e472db
 _pkgver=git
 pkgrel=1
 pkgdesc='A retro-styled 2D platformer'
@@ -21,6 +21,7 @@ source=(
     "git+https://github.com/leethomason/tinyxml2/"
     "git+https://github.com/FNA-XNA/FAudio"
     "git+https://github.com/Mashpoe/c-hashmap"
+    "git+https://github.com/Tehreer/SheenBidi"
     "${binname}.desktop"
     "${binname}.sh"
     "https://thelettervsixtim.es/makeandplay/data.zip"
@@ -31,6 +32,7 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
             '8c704e92e6abc8172d7d9fe726f1a0bba4b8630682745d6daf1f34ce12e0e3e4'
             '883913125c4630d16fe0081d9a96bf65f2bc08ace7fa345613669d827a8ea7c1'
             'c767809594f6472da9f56136e76657e38640d584164a46112250ac6293ecc0ea')
@@ -48,7 +50,7 @@ prepare() {
   echo "See also: /usr/share/licenses/vvvvvv-git/LICENSE.md and https://thelettervsixtim.es/makeandplay/"

   git submodule init
-  for submodule in lodepng physfs tinyxml2 FAudio c-hashmap; do
+  for submodule in lodepng physfs tinyxml2 FAudio c-hashmap SheenBidi; do
     git config "submodule.third_party/$submodule.url" "$srcdir/$submodule"
   done
   git -c protocol.allow=never -c protocol.file.allow=always submodule update

Stutonk commented on 2024-07-21 03:16 (UTC) (edited on 2024-07-21 03:17 (UTC) by Stutonk)

Build was broken for me. Had to add git+https://github.com/Tehreer/SheenBidi to sources with an accompanying 'SKIP' and then SheenBidi to the for .. in list in prepare().

lithium_sulfate commented on 2022-04-13 08:32 (UTC) (edited on 2022-04-13 12:29 (UTC) by lithium_sulfate)

On March 14, 2022, upstream has migrated the external 3rd party libraries to git submodules, which has broken compilation with the current PKGBUILD. I modified it to accommodate the upstream change and fix the build (on my end, at least):

--- PKGBUILD.old        2022-04-13 10:22:21.891833693 +0200
+++ PKGBUILD    2022-04-13 10:27:50.464368320 +0200
@@ -3,9 +3,9 @@

pkgname=vvvvvv-git
binname=vvvvvv
-pkgver=20201123.9f5f697
+pkgver=20220410.e16c1557
_pkgver=git
-pkgrel=2
+pkgrel=1
pkgdesc='A retro-styled 2D platformer'
arch=('i686' 'x86_64')
url='https://thelettervsixtim.es/'
@@ -16,12 +16,22 @@
conflicts=('vvvvvv')
source=(
    "git+https://github.com/TerryCavanagh/VVVVVV.git"
+    "git+https://github.com/FNA-XNA/FAudio.git"
+    "git+https://github.com/lvandeve/lodepng.git"
+    "git+https://github.com/icculus/physfs.git"
+    "git+https://github.com/leethomason/tinyxml2.git"
+    "git+https://github.com/nemtrif/utfcpp.git"
    "${binname}.desktop"
    "${binname}.sh"
    "https://thelettervsixtim.es/makeandplay/data.zip"
)
sha256sums=(
    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
    '8c704e92e6abc8172d7d9fe726f1a0bba4b8630682745d6daf1f34ce12e0e3e4'
    '883913125c4630d16fe0081d9a96bf65f2bc08ace7fa345613669d827a8ea7c1'
    '6fae3cdec06062d05827d4181c438153f3ea3900437a44db73bcd29799fe57e0'
@@ -34,7 +44,15 @@
}

prepare() {
-  cd VVVVVV/desktop_version
+  # Initialize submodules
+  cd VVVVVV
+  git submodule init
+  for submod in FAudio lodepng physfs tinyxml2 utfcpp; do
+    git config submodule.$submod.url "$srcdir/$submod"
+  done
+  git submodule update
+
+  cd desktop_version

echo "Please note: the retrieved data.zip is for personal use only without redistribution"
echo "See also: /usr/share/licenses/vvvvvv-git/LICENSE.md and https://thelettervsixtim.es/makeandplay/"

Xesxen commented on 2020-11-30 00:21 (UTC)

Fixed, apparently I forgot to clean my own build directory when doing the final compile check. Sorry for that

rien333 commented on 2020-11-30 00:11 (UTC) (edited on 2020-11-30 00:11 (UTC) by rien333)

The following change to the PKGBUILD seems to break the package() phase on my end:

-   source = http://www.flibitijibibo.com/vvvvvv-mp-11192019-bin
+   source = https://thelettervsixtim.es/makeandplay/data.zip

This results in the error:

yay -Sy vvvvvv-git
...
==> Making package: vvvvvv-git 20201123.9f5f697-1 (Mon 30 Nov 2020 12:58:20 AM CET)
... (all goes well)
[100%] Built target VVVVVV
==> Entering fakeroot environment...
==> Starting package()...
/home/rw/.cache/yay/vvvvvv-git/PKGBUILD: line 60: cd: /tmp/makepkg/vvvvvv-git/src/data: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: vvvvvv-git

I think the problem here is that contrary to what the offending line 60 seems to assume (i.e. cd "${srcdir}/data"), there is no data directory, but only a data.zip file in $srcdir. You should probably ensure this file is unpacked, I guess.

abouvier commented on 2020-10-14 19:35 (UTC)

You should use /usr/lib instead of /opt, just like mame.

abouvier commented on 2020-10-03 14:46 (UTC)

dbus is needed for building.

Xesxen commented on 2020-01-12 00:44 (UTC) (edited on 2020-01-12 00:59 (UTC) by Xesxen)

The binary name apparently changed in commit a977f497250ba218e6c8b4722205df22348cc3fc, so I've updated the PKGBUILD to reflect this.

I also ran into an issue where -Werror was always enabled, so I've fixed this in 833b2fbf1d14b6d85b97ddeb3ae830f1988ae2c2. (this fixes the issue with edentity[testeditor])

rien333 commented on 2020-01-11 23:38 (UTC) (edited on 2020-01-11 23:38 (UTC) by rien333)

I found out that my previous problem came about from the inclusion of -O2 in my CXXFLAGS. Upstream is aware of the offending code.

However, I'm experiencing a different, unrelated problem during the package() stage:

==> Starting package()...
install: cannot stat 'vvvvvv.x86_64': No such file or directory
==> ERROR: A failure occurred in package().

Indeed, there is no such file in ${srcdir}/VVVVVV/desktop_version/build. There is a working binary called VVVVVV in that folder, however.

rien333 commented on 2020-01-11 20:28 (UTC) (edited on 2020-01-11 22:25 (UTC) by rien333)

@kleintux Upstream says it's more likely a problem with the PKGBUILD. Indeed, if I do everything in build() manually in a fresh repo, it builds fine.

Kind of sounds like a bug in my setup (although my /etc/makepkg.conf is relatively vanilla). In the fresh repo, I've manually exported all env vars in makepkg.conf, and then ran make clean + make, but then it also builds fine. Anyone has an idea whats up? How could only makepkg produce this error?

EDIT: See also the comments in the github thread I linked above. Might be upstream anyway.