Package Details: 0ad-data-git 1:A26.r1310.g899a956de4-1

Git Clone URL: https://aur.archlinux.org/0ad-git.git (read-only, click to copy)
Package Base: 0ad-git
Description: Data package for 0ad built from git development version.
Upstream URL: http://play0ad.com/
Licenses: CCPL, GPL-2.0-or-later
Conflicts: 0ad-data
Provides: 0ad-data
Submitter: fusion809
Maintainer: tuxayo (micwoj92)
Last Packager: micwoj92
Votes: 7
Popularity: 0.000166
First Submitted: 2016-09-09 11:31 (UTC)
Last Updated: 2024-04-09 21:30 (UTC)

Required by (2)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

micwoj92 commented on 2023-08-21 21:31 (UTC)

Updated, I have removed circular dependency.

@FabioLolix I am not sure if that second point would have worked. I think it was done because (I didn't test, just guessing) 0ad-data-git would not be compatible with normal 0ad and vice versa. I removed it for now, I don't think there is elegant solution to this problem.

Also I have noticed that spidermonkey build does not utilize all cores, so if anyone knwos how to force it (preferably using MAKEFLAGS value from makepkg.conf) then let me know. Or even better, to skip building it and use system js91 package if possible at all.

FabioLolix commented on 2023-07-04 21:33 (UTC)

Idea for improving things for AUR helpers

  • There is a circular dependency between 0ad-data-git and 0ad-git, try to remove depends=('0ad-git') from package_0ad-data-git(), Arch's 0ad-data don't depends on 0ad
  • (for this I'm less sure) in package_0ad-git() remove 0ad-data-git from depends and add depends+=(0ad-data-git)

micwoj92 commented on 2023-06-05 18:32 (UTC)

I only ever used makepkg for this package, because the download is huge, so I keep that outside of my aur helper (pikaur) cache which I clean sometimes.

VitalyR commented on 2023-06-05 16:32 (UTC)

@tuxayo @micwoj92 Yes, I was meeting the same problem as @tuxayo. I'm using paru. Maybe these AUR helpers can't get metadata from a function? Should an AUR helper support PKGBUILD like this?

tuxayo commented on 2023-06-05 16:19 (UTC) (edited on 2023-06-05 16:20 (UTC) by tuxayo)

This is already there in package step for each package

Indeed it's there so the issue isn't that. But maybe VitalyR has the same weird thing that I have:

[build, success, removing build deps...]
Reading local package database...
loading packages...
resolving dependencies...
warning: cannot resolve "0ad-git", a dependency of "0ad-data-git"
:: The following package cannot be upgraded due to unresolvable dependencies:
      0ad-data-git

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency '0ad-git' required by 0ad-data-git
Command 'sudo pacman --color=always --upgrade --asdeps /home/MIA_UZANTO/.cache/pikaur/pkg/0ad-data-git-1:A26.r726.g9ca03bdb9b-1-x86_64.pkg.tar.zst' failed to execute.
Do you want to retry? [Y/n] 
loading packages...
resolving dependencies...
warning: cannot resolve "0ad-git", a dependency of "0ad-data-git"
:: The following package cannot be upgraded due to unresolvable dependencies:
      0ad-data-git

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
 there is nothing to do
loading packages...
resolving dependencies...
warning: cannot resolve "0ad-data-git", a dependency of "0ad-git"
:: The following package cannot be upgraded due to unresolvable dependencies:
      0ad-git

:: Do you want to skip the above package for this upgrade? [y/N] 

Even after removing the stable packages there is the same error.

I had use pacman -U

sudo pacman -U  ~/.cache/pikaur/pkg/0ad-git-1:A26.r726.g9ca03bdb9b-1-x86_64.pkg.tar.zst ~/.cache/pikaur/pkg/0ad-data-git-1:A26.r726.g9ca03bdb9b-1-x86_64.pkg.tar.zst

Maybe the AUR helper (pikaur in my case) is wrongly chocking on something or there is indeed something wrong in the packages.

@VitalyR, @micwoj92 (if you tried in the last week) did you use a helper and which one?

micwoj92 commented on 2023-06-02 20:29 (UTC)

This is already there in package step for each package. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=0ad-git#n63

VitalyR commented on 2023-06-02 18:50 (UTC) (edited on 2023-06-02 18:51 (UTC) by VitalyR)

Please add provides and conflicts to the PKGBUILD:

provides=('0ad' '0ad-data')
conflicts=('0ad' '0ad-data')

micwoj92 commented on 2022-10-16 20:03 (UTC)

Synced the package with 0ad from community, updated pkgver to use tags, launched and runs fine, I'm still bad at RTS games.

tuxayo commented on 2021-07-04 16:19 (UTC) (edited on 2021-07-04 16:21 (UTC) by tuxayo)

Thanks Brenton for trusting me with the package and for the past work.

So I just pushed the following main changes:

  • various fixes so package builds again
  • keep debug symbols
  • add the option for a debug build

Tell me if I broke something. Feel free to review the changes, feedback very welcome about AUR and C++ build best practices.

Enjoy the game and thanks for testing the upcoming release :)