diff options
author | Adrià Cabello | 2023-09-15 17:50:03 +0200 |
---|---|---|
committer | Adrià Cabello | 2023-09-15 17:50:03 +0200 |
commit | 66e616a8090b1a936198d7afad1c3b93401fa177 (patch) | |
tree | 79eff089e58e6bbbdeb2283fd39fa119c734d9b3 | |
download | aur-66e616a8090b1a936198d7afad1c3b93401fa177.tar.gz |
Initial Upload
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 49 | ||||
-rwxr-xr-x | quiltix | 12 | ||||
-rwxr-xr-x | quiltix.desktop | 9 |
4 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9db260a5adf3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = quiltix + pkgdesc = QuiltiX is a graphical node editor to edit, and author MaterialX based materials of 3D assets + pkgver = 0.4.2 + pkgrel = 1 + url = https://github.com/PrismPipeline/QuiltiX + arch = any + license = Apache + depends = usd + depends = materialx + depends = python-qt.py + depends = python + depends = pyside2 + depends = python-pyqt5 + source = git+https://github.com/PrismPipeline/QuiltiX.git#tag=v0.4.2-beta + source = git+https://github.com/manuelkoester/NodeGraphQt.git#branch=develop + source = quiltix.desktop + source = quiltix + sha256sums = SKIP + sha256sums = SKIP + sha256sums = fb5049cbae6eefd067c50e3ae3aa85e45b7b94da10e6af267bdfe5f317e74eee + sha256sums = 15aec531df344870fe6a50bece2403a62a17aefcb7d7a2f70d5be584b8e469ee + +pkgname = quiltix diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6969db73295d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Adrià Cabello <adro.cc79 at protonmail dot com> + +pkgname=quiltix +_name=QuiltiX +pkgver=0.4.2 +pkgrel=1 +pkgdesc="QuiltiX is a graphical node editor to edit, and author MaterialX based materials of 3D assets" +arch=('x86_64') +url="https://github.com/PrismPipeline/QuiltiX" +license=('Apache') +arch=('any') +depends=(usd + materialx + python-qt.py + python + pyside2 + python-pyqt5 + ) + +source=(git+$url.git#tag=v$pkgver-beta + git+https://github.com/manuelkoester/NodeGraphQt.git#branch=develop + $pkgname.desktop + $pkgname) +sha256sums=('SKIP' + 'SKIP' + 'fb5049cbae6eefd067c50e3ae3aa85e45b7b94da10e6af267bdfe5f317e74eee' + '15aec531df344870fe6a50bece2403a62a17aefcb7d7a2f70d5be584b8e469ee') + +build() { + cd NodeGraphQt + python -m build --wheel --no-isolation + + cd ../$_name + python -m build --wheel --no-isolation +} + +package() { + python -m installer --destdir=${pkgdir} ${srcdir}/NodeGraphQt/dist/*.whl + python -m installer --destdir=${pkgdir} ${srcdir}/$_name/dist/*.whl + + cp -f ${srcdir}/$pkgname ${pkgdir}/usr/bin/$pkgname + + mkdir -p ${pkgdir}/usr/share/licenses/$pkgname + install -Dm644 ${srcdir}/$_name/{LICENSE,NOTICE,THIRD-PARTY.md} $_/ + install -Dm644 ${srcdir}/$_name/src/$_name/resources/icons/$pkgname-logo-x.png ${pkgdir}/usr/share/icons/hicolor/512x512/apps/$pkgname.png + install -Dm755 ${srcdir}/$pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop + mkdir -p ${pkgdir}/usr/share/doc + mv ${pkgdir}/usr/lib/python3.11/site-packages/examples $_/$_name +} diff --git a/quiltix b/quiltix new file mode 100755 index 000000000000..41de69f1da20 --- /dev/null +++ b/quiltix @@ -0,0 +1,12 @@ +#! /bin/sh + +# Environment Variables +export USDVIEW="/usr/bin/usdview" +export MATERIALX_VIEW="/usr/bin/MaterialXView" +export MATERIALX_EDITOR="/usr/bin/MaterialXGraphEditor" +export TEMP="/tmp" + +export LD_PRELOAD="/usr/lib/libjemalloc.so" + +# Run QuiltiX +python -c "from QuiltiX import quiltix; quiltix.launch()" diff --git a/quiltix.desktop b/quiltix.desktop new file mode 100755 index 000000000000..9c276539b591 --- /dev/null +++ b/quiltix.desktop @@ -0,0 +1,9 @@ +#!/usr/bin/env xdg-open +[Desktop Entry] +Comment=QuiltiX is a graphical node editor to edit, and author MaterialX based materials of 3D assets +Exec=env LD_LIBRARY_PATH=/opt/tbb2019/lib quiltix +Icon=quiltix.png +MimeType=model/materialx; +Name=QuiltiX +Terminal=false +Type=Application |