Package Details: devilutionx-git 1.4.0.r1542.fa0147cfa-1

Git Clone URL: https://aur.archlinux.org/devilutionx-git.git (read-only, click to copy)
Package Base: devilutionx-git
Description: Diablo devolved for linux (git version)
Upstream URL: https://github.com/diasurgical/devilutionX
Licenses: custom:UNLICENSE
Conflicts: devilutionx
Provides: devilutionx
Submitter: LinRs
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 6
Popularity: 0.000057
First Submitted: 2019-01-25 13:23 (UTC)
Last Updated: 2023-04-26 21:17 (UTC)

Latest Comments

1 2 3 Next › Last »

EndlessEden commented on 2023-11-30 07:14 (UTC)

Fails to build:

+ pcx2clx --transparent-color 1 --num-sprites 256 --output-dir build/fonts --quiet --crop-widths 17 assets/fonts/12-30.pcx --crop-widths: unknown argument ==> ERROR: A failure occurred in package_devilutionx-assets-git().

robertfoster commented on 2021-09-24 10:20 (UTC) (edited on 2021-10-01 11:13 (UTC) by robertfoster)

Doesn't work. Below a working PKGBUILD

# Maintainer: LIN Rs <LinRs[d]users.noreply.github.com>
# Contributor: robertfoster

pkgname=devilutionx-git
pkgver=1.2.1.r2063.9f7c69f4f
pkgrel=1
pkgdesc="Diablo devolved for linux (git version)"
arch=('x86_64')
url="https://github.com/diasurgical/devilutionX"
license=('custom:unlicense')
depends=('fmt' 'libpng' 'libsodium' 'sdl2')
makedepends=('git' 'cmake' 'gettext' 'smpq')
conflicts=("${pkgname%-git}")
provides=("${pkgname%-git}")
source=("${pkgname%-git}::git+${url}")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
  cd "${pkgname%-git}"
  cd build
  cmake .. \
    -DCMAKE_INSTALL_PREFIX="/usr"
  make
}

package() {
  cd "${pkgname%-git}"
  install -Dm644 LICENSE \
    -t "${pkgdir}"/usr/share/licenses/"${pkgname}"
  cd build
  make install DESTDIR="${pkgdir}"
}

robertfoster commented on 2021-05-16 08:40 (UTC)

Why no fmt dependency? I know that its also compiled by devilutionx, but why not to relay on a just available library?

ldd /usr/bin/devilutionx
libfmt.so.7 => /usr/lib/libfmt.so.7 (0x00007f05c0d4e000)

robertfoster commented on 2021-05-09 17:35 (UTC) (edited on 2021-05-09 17:39 (UTC) by robertfoster)

sdl2_mixer is not required anymore

fmt is a new required runtime dep

robertfoster commented on 2021-03-13 10:03 (UTC)

latest update fails with:

make: *** No rule to make target

need to enter the build folder in package()

robertfoster commented on 2021-03-08 09:27 (UTC) (edited on 2021-03-11 11:16 (UTC) by robertfoster)

Please could you update with this?

# Maintainer: LIN Rs <LinRs[d]users.noreply.github.com>

pkgname=devilutionx-git
pkgver=1.1.0.r1158.f97adef2
pkgrel=1
pkgdesc="Diablo devolved for linux (git version)"
arch=('armv6h' 'armv7h' 'arm' 'aarch64' 'i686' 'x86_64')
url="https://github.com/diasurgical/devilutionX"
license=('custom:unlicense')
depends=('graphite' 'libsodium' 'sdl2_mixer' 'sdl2_ttf')
makedepends=('git' 'cmake')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
install="${pkgname%-git}".install
source=(
  "${pkgname%-git}::git+https://github.com/diasurgical/devilutionX.git"
)

prepare() {
  cd "${srcdir}/${pkgname%-git}"
  if [ -d build ]; then
    rm -rf build
  fi
  mkdir build
}

pkgver() {
  cd "${srcdir}/${pkgname%-git}"
  printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
  cd "${srcdir}/${pkgname%-git}/build"
  cmake .. \
  -DCMAKE_INSTALL_PREFIX="/usr" \
  -DBINARY_RELEASE=ON \
  -DVERSION_NUM="${pkgver%.r*}"

  cmake --build .

}
package() {
  cd "${srcdir}/${pkgname%-git}/build"
  DESTDIR="${pkgdir}" cmake --install .
}

sha256sums=('SKIP')

This will fix also CharisSILB.ttf requirement and upcoming .desktop resources with related icons.

EndlessEden commented on 2020-10-18 04:47 (UTC) (edited on 2020-10-18 04:56 (UTC) by EndlessEden)

upstream update to icon set: 16.png renamed to "icon.png" the other icons were replaced/moved. Hellfire expansion icons were added.

Also, CharisSILB.ttf needs to be installed to /usr/share/fonts/truetype/CharisSILB.ttf

KingofToasters commented on 2020-03-21 07:28 (UTC)

DevilutionX can now supports a x86_64 target, meaning the package can be a native build and not multiarch.

winstonsmith commented on 2019-10-28 02:13 (UTC)

having trouble getting this running...during install with trizen, i get errors:

==> ERROR: makedepends can not be set inside a package function
==> ERROR: makedepends can not be set inside a package function
:: makepkg --printsrcinfo exited with code: 12

so i commented out the offending lines in the pkgbuild. the same make deps were declared in the pkgbuild itself, so i figured whatever.

so then it builds and installs devilutionx_multilib into /usr/bin. i copied that binary and diabdat.mpq and to ~/.local/share/diasurgical/devilution, and then run the binary.

now i'm getting an error:

SDL Error
Could not initialize UDEV
The error occured at: SourceX/miniwin/misc.cpp line 122

tips?