Package Details: armorpaint-git 0.9.r2900.gef390132-1

Git Clone URL: https://aur.archlinux.org/armorpaint-git.git (read-only, click to copy)
Package Base: armorpaint-git
Description: ArmorPaint is a software for 3D PBR texture painting
Upstream URL: https://armorpaint.org/
Keywords: 3D gamedev graphics painting PBR
Licenses: zlib
Conflicts: armorpaint
Provides: armorpaint
Submitter: juliotux
Maintainer: paterabach
Last Packager: juliotux
Votes: 10
Popularity: 0.005717
First Submitted: 2020-03-22 18:08 (UTC)
Last Updated: 2022-03-26 14:13 (UTC)

Latest Comments

1 2 Next › Last »

sem.z commented on 2024-03-06 13:32 (UTC) (edited on 2024-03-06 13:47 (UTC) by sem.z)

Fixed pkgver build error:

# $Id$
# Maintainer: Julio Campagnolo <juliocampagnolo@gmail.com>

pkgname=('armorpaint-git')
_pkgname='armortools'
pkgver=1.0.alpha.r3637.g15ad4901
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="ArmorPaint is a software for 3D PBR texture painting"
url="https://armorpaint.org/"
license=('ZLIB')
depends=('mesa' 'alsa-lib' 'libxinerama' 'gcc-libs' 'nodejs')
makedepends=('git' 'nodejs' 'clang' 'make' 'gcc' 'gtk3' 'vulkan-headers')
provides=('armorpaint')
conflicts=('armorpaint')
source=("git+https://github.com/armory3d/armortools"
    "armorpaint.sh"
    "armorpaint.desktop"
    "armorpaint.png")
md5sums=(SKIP
    "74001d6c572fc79c96d0bee24427f7ba"
    "dd5d97aadd39966ff7d9dda68b5ae29a"
    "67cf4a0cb08c66c4a68c677885e8ac99")

pkgver() {
    cd "$srcdir/$_pkgname"
    ver="$(grep -oP 'version = "\K[^"]+' armorpaint/Sources/manifest.ts | sed 's/ /./')"
    printf "%s.r%s.g%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "$srcdir/$_pkgname"
    git submodule update --init --recursive
}

build() {
    cd "$srcdir/$_pkgname/armorpaint"
    ../armorcore/Kinc/make --from ../armorcore -g opengl --compiler clang --compile
    cd ../armorcore/Deployment
    strip ArmorPaint
}

package() {
    cd "$srcdir/$_pkgname"
    mkdir -p ${pkgdir}/usr/{bin,share,lib}
    mkdir -p ${pkgdir}/usr/lib/armorpaint
    install -Dm755 ${srcdir}/armorpaint.sh ${pkgdir}/usr/bin/armorpaint
    install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
    install -Dm755 armorcore/Deployment/ArmorPaint ${pkgdir}/usr/lib/armorpaint/
    install -Dm644 ${srcdir}/armorpaint.desktop ${pkgdir}/usr/share/applications/armorpaint.desktop
    mkdir -p ${pkgdir}/usr/share/armorpaint
    cp -r build/krom ${pkgdir}/usr/share/armorpaint/krom
    install -Dm644 ${srcdir}/armorpaint.png ${pkgdir}/usr/share/icons/armorpaint.png
}

But unfortunately still unable to build. Some people right now also have troubles, see - https://github.com/armory3d/armortools/issues/1671.

xiota commented on 2023-10-14 08:36 (UTC)

Clean chroot.

==> Starting pkgver()...
grep: Sources/Main.hx: No such file or directory
==> ERROR: A failure occurred in pkgver().

juliotux commented on 2023-09-14 15:42 (UTC)

Hi @AmonDeShir, I orphaned the package. Feel free to adopt it.

AmonDeShir commented on 2023-09-14 00:40 (UTC) (edited on 2023-09-14 00:43 (UTC) by AmonDeShir)

I fixed build errors:

# $Id$
# Maintainer: Julio Campagnolo <juliocampagnolo@gmail.com>

pkgname=('armorpaint-git')
_pkgname='armortools'
pkgver=1.0.alpha.r3477.g56793906
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="ArmorPaint is a software for 3D PBR texture painting"
url="https://armorpaint.org/"
license=('ZLIB')
depends=('mesa' 'alsa-lib' 'libxinerama' 'gcc-libs')
makedepends=('git' 'make' 'gcc' 'gtk3' 'vulkan-headers')
provides=('armorpaint')
conflicts=('armorpaint')
source=("git+https://github.com/armory3d/armortools"
        "armorpaint.sh"
        "armorpaint.desktop"
        "armorpaint.png")
md5sums=(SKIP
         "74001d6c572fc79c96d0bee24427f7ba"
         "dd5d97aadd39966ff7d9dda68b5ae29a"
         "67cf4a0cb08c66c4a68c677885e8ac99")

pkgver() {
  cd "${srcdir}/${_pkgname}"
  ver="$(grep -oP 'version = "\K[^"]+' armorpaint/Sources/Manifest.hx | sed 's/ /./')"
  printf "%s.r%s.g%s" "$ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd "${srcdir}/${_pkgname}"
    git submodule update --init --recursive
}

build() {
    cd "$srcdir/${_pkgname}/armorpaint"
    ../armorcore/Kinc/make --from ../armorcore -g opengl --compile
    cd ../armorcore/Deployment
    strip ArmorPaint
}

package() {
    cd "$srcdir"/"$_pkgname"
    mkdir -p ${pkgdir}/usr/{bin,share,lib}
    mkdir -p ${pkgdir}/usr/lib/armorpaint
    install -Dm755 ${srcdir}/armorpaint.sh ${pkgdir}/usr/bin/armorpaint
    install -Dm644 LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
    install -Dm755 armorcore/Deployment/ArmorPaint ${pkgdir}/usr/lib/armorpaint/
    install -Dm644 ${srcdir}/armorpaint.desktop ${pkgdir}/usr/share/applications/armorpaint.desktop
    mkdir -p ${pkgdir}/usr/share/armorpaint
    cp -r armorpaint/build/krom ${pkgdir}/usr/share/armorpaint/krom
    install -Dm644 ${srcdir}/armorpaint.png ${pkgdir}/usr/share/icons/armorpaint.png
}

I changed GitHub URL because main repo was renamed to armortools. I also removed nodejs from dependencies (armorpaint has build-in v8). Furthermore, I had troubles with compilation using clang: "incompatible pointer to integer conversion passing 'zui_node_socket_t ' (aka 'struct zui_node_socket ') to parameter of type 'int' [-Wint-conversion]", in clang14 it was only a warning, but since clang15 it is an error now, unfortunately arch uses clang16. I failed to get kmake to use clang14 instead of the default clang16, so as a workaround, I changed clang to GCC.

mbway commented on 2023-02-11 17:56 (UTC) (edited on 2023-02-11 17:57 (UTC) by mbway)

The package fails to build.

  • Sources/Main.hx has moved to armorpaint/Sources/Main.hx
  • build/krom has moved to armorpaint/build/krom

lehthanis commented on 2021-11-03 18:14 (UTC)

I'm using an Nvidia RTX 2080 and I get incredible gpu usage spike and overheat and a framerate of about 1 frame every 1-3 seconds....it's bad...what am I doing wrong? Should I submit this to the devs?

juliotux commented on 2021-08-28 14:23 (UTC)

@Blaster84x package fixed.

Blaster84x commented on 2021-08-27 15:48 (UTC)

The file Deployment/Krom was renamed to Deployment/ArmorPaint. PKGBUILD and armorpaint.sh need to be updated.

oldherl commented on 2020-11-05 16:28 (UTC)

gtk3 should be depends, not makedepends. It can't run without gtk3 at runtime.

Please run ldd /usr/lib/armorpaint/Krom to check for any runtime dependencies.

juliotux commented on 2020-11-01 15:53 (UTC)

Thanks @alexfreyre and @oldherl. Package updated.