Package Details: collada2gltf-bin 2.1.5-2

Git Clone URL: https://aur.archlinux.org/collada2gltf-bin.git (read-only, click to copy)
Package Base: collada2gltf-bin
Description: A command-line tool to convert COLLADA (.dae) files to glTF
Upstream URL: https://github.com/KhronosGroup/COLLADA2GLTF
Licenses: custom
Conflicts: collada2gltf
Provides: collada2gltf
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 0
Popularity: 0.000000
First Submitted: 2024-05-05 14:31 (UTC)
Last Updated: 2025-02-07 23:57 (UTC)

Latest Comments

makinori commented on 2025-02-06 01:34 (UTC)

diff --git a/.SRCINFO b/.SRCINFO
index 2b2f128..e0e87f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = collada2gltf-bin
    url = https://github.com/KhronosGroup/COLLADA2GLTF
    arch = x86_64
    license = custom
+   depends = draco
    provides = collada2gltf
    conflicts = collada2gltf
    options = !strip
diff --git a/PKGBUILD b/PKGBUILD
index acf7203..6fd6b6c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,7 @@ license=("custom")
 arch=("x86_64")
 provides=("collada2gltf")
 conflicts=("collada2gltf")
+depends=("draco")
 source=("https://github.com/KhronosGroup/COLLADA2GLTF/releases/download/v$pkgver/COLLADA2GLTF-v$pkgver-linux.zip")
 b2sums=('dacabce6213841b310771ed30a1b4a28200f406ae31c3a5a2c2147007ae5884d9cc8e5cad2cd2c8c4f74b2d3d41ca63f5b17b7796a009d2654c4b4b671b86def')
 options=(!strip)
@@ -16,7 +17,7 @@ options=(!strip)
 package(){
  install -D -m 755 "COLLADA2GLTF-bin"  "$pkgdir/usr/bin/collada2gltf"
  install -D -m 755 "COLLADA2GLTF-test" "$pkgdir/usr/bin/collada2gltf-test"
- install -D -m 755 "draco_decoder"     "$pkgdir/usr/bin/draco_decoder"
- install -D -m 755 "draco_encoder"     "$pkgdir/usr/bin/draco_encoder"
+ # install -D -m 755 "draco_decoder"     "$pkgdir/usr/bin/draco_decoder"
+ # install -D -m 755 "draco_encoder"     "$pkgdir/usr/bin/draco_encoder"
  install -D -m 755 "GLTF-test"         "$pkgdir/usr/bin/gltf-test"
 }

xianjam commented on 2025-01-29 06:01 (UTC)

I'm not sure if collada2gltf comes with a separate version of draco, but this conflicts with the draco package because it overrides draco_encoder and draco_decoder. I solved it by removing those files from being copied in the PKGBUILD. If I'm not mistaken, either this package should have those files removed and have draco listed as a dependency, or it should be marked that this package provides draco.