Package Details: devilutionx-git 1.2.1.r711.g7fbcfeb3-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
Provides: devilutionx=1.2.1.r711.g7fbcfeb3
Submitter: LinRs
Maintainer: LinRs
Last Packager: LinRs
Votes: 5
Popularity: 0.009046
First Submitted: 2019-01-25 13:23
Last Updated: 2021-05-16 03:12

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

robertfoster commented on 2021-05-16 08:40

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

sdl2_mixer is not required anymore

fmt is a new required runtime dep

robertfoster commented on 2021-03-13 10:03

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

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

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

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

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?

FredBezies commented on 2019-10-14 10:52

updated PKGBUILD:

# Maintainer: LIN Rs <20455421+LinRs [dot] users.noreply.github.com>

pkgbase=devilutionx-git
pkgname=( 'devilutionx-git' 'devilutionx-multilib-git' )
_pkgname=devilutionx
pkgver=0.5.0.r35.g141bffe1
pkgrel=1
pkgdesc="Diablo devolved for linux (git version)"
arch=('x86_64')
url="https://github.com/diasurgical/devilutionX"
license=('custom:unlicense')
makedepends=('git' 'cmake' 'lib32-gcc-libs' 'lib32-sdl2_mixer' 
'sdl2_ttf' 'sdl2_ttf' 'lib32-sdl2_ttf'  'lib32-libsodium' 'libsodium')
#provides=("${pkgname}"="${pkgver}")
install="${_pkgname}".install
source=(
  "${_pkgname}::git+https://github.com/diasurgical/devilutionX.git"
  LICENSE::https://raw.githubusercontent.com/diasurgical/devilutionX/master/LICENSE
)
sha256sums=('SKIP'
            '88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd')
pkgver() {
  cd "${_pkgname}"
  git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


build() {
  cd "${_pkgname}"
  rm -rf build32 build64
  mkdir -p build64 && cd build64
  cmake .. 
  make
  cd "${srcdir}/${_pkgname}"
  mkdir -p build32 && cd build32
  export CC="gcc -m32"                                                                                                   
  export CXX="g++ -m32"                                                                                                  
  cmake .. 
##    -DCMAKE_TOOLCHAIN_FILE=../CMake/32bit.cmake 
  make
}
package_devilutionx-git() {
  pkgdesc="Diablo devolved for linux (native build)"
  provides=("${_pkgname}"="${pkgver}")
  depends=('sdl2_mixer' 'sdl2_ttf' 'libsodium')
  makedepends=('git' 'cmake')
  cd "${_pkgname}"
  install -vDm755 build64/"${_pkgname}" "${pkgdir}"/usr/bin/"${_pkgname}_native"
  install -vDm644 LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"
}
package_devilutionx-multilib-git() {
  pkgdesc="Diablo devolved for linux (multilib build)"
  provides=("${_pkgname}"="${pkgver}")
  depends=('lib32-gcc-libs' 'lib32-sdl2_mixer' 'sdl2_ttf' 'lib32-sdl2_ttf'  'lib32-libsodium' 'libsodium')
  makedepends=('git' 'cmake')

  cd "${_pkgname}"   
  install -vDm755 build32/"${_pkgname}" "${pkgdir}"/usr/bin/"${_pkgname}_multilib"
  install -vDm644 LICENSE -t "${pkgdir}"/usr/share/licenses/"${pkgname}"
}

LinRs commented on 2019-03-29 11:53

dvb23:

There are two versions of the devilutionx build, both native build and multilib(32-bit building on 64-bit platforms) build.

> unfortunately it locks as soon as I enter the cathedral.

The 64bit builds currently are not playable and always crashed when entering the church(upstream confirmed in https://github.com/diasurgical/devilutionX/issues/53);

It's recommended to use the multilib version and you may travel in the cathedral (you just missed the information from file named "devilutionx.install" ).

The whole devolved project is still in early development. If you have any other problems except the packaging issue(issue about packaging => leave comment here), feel free to report to the upstream(https://github.com/diasurgical/devilutionX/issues);

Given enough eyeballs, all bugs are shallow.

dvb23 commented on 2019-03-28 02:26

Works for me, i made a video here https://youtu.be/yPMvsx9A8Ek, unplayable...unfortunately it locks as soon as I enter the cathedral.