summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2017-11-30 13:03:17 -0600
committergustawho2017-11-30 13:03:17 -0600
commit5a03a6efe5452dec46bef568b7efad5fbeee8364 (patch)
tree277d5599c7ad71b10997211e880de3131bd9f9b7
downloadaur-5a03a6efe5452dec46bef568b7efad5fbeee8364.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD59
2 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b3223e615d2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = qt3dstudio-git
+ pkgdesc = A world class 3D User Interface design tool.
+ pkgver = 2b75758
+ pkgrel = 1
+ url = https://www.qt.io
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = fbx-sdk
+ depends = qt5-base
+ depends = qt5-multimedia
+ depends = qt5-declarative
+ depends = qt5-tools
+ provides = qt3dstudio
+ conflicts = qt3studio
+ options = docs
+ source = git+https://code.qt.io/qt3dstudio/qt3dstudio.git
+ source = git+https://code.qt.io/qt3dstudio/qt3dstudio-collada-dom.git
+ source = git+https://code.qt.io/qt3dstudio/qt3dstudio-eastl.git
+ source = git+https://code.qt.io/qt3dstudio/qt3dstudio-lua.git
+ source = git+https://code.qt.io/qt3dstudio/qt3dstudio-pcre.git
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = qt3dstudio-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..329c33b626c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,59 @@
+# Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com >
+
+pkgname=qt3dstudio-git
+pkgver=2b75758
+pkgrel=1
+pkgdesc='A world class 3D User Interface design tool.'
+arch=('i686' 'x86_64')
+url='https://www.qt.io'
+license=('GPL')
+depends=('fbx-sdk' 'qt5-base' 'qt5-multimedia' 'qt5-declarative' 'qt5-tools')
+makedepends=('git')
+options=('docs')
+optdepends=()
+provides=('qt3dstudio')
+conflicts=('qt3studio')
+source=('git+https://code.qt.io/qt3dstudio/qt3dstudio.git'
+ 'git+https://code.qt.io/qt3dstudio/qt3dstudio-collada-dom.git'
+ 'git+https://code.qt.io/qt3dstudio/qt3dstudio-eastl.git'
+ 'git+https://code.qt.io/qt3dstudio/qt3dstudio-lua.git'
+ 'git+https://code.qt.io/qt3dstudio/qt3dstudio-pcre.git')
+md5sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd qt3dstudio
+ git describe --always --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+prepare() {
+ [[ -d build ]] && rm -r build
+ mkdir build
+
+ cd "$srcdir"/qt3dstudio
+ git submodule init
+ git config submodule.src/3rdparty/ColladaDOM.url "$srcdir"/qt3dstudio-collada-dom
+ git config submodule.src/3rdparty/EASTL.url "$srcdir"/qt3dstudio-eastl
+ git config submodule.src/3rdparty/Lua.url "$srcdir"/qt3dstudio-lua
+ git config submodule.src/3rdparty/pcre.url "$srcdir"/qt3dstudio-pcre
+ git submodule update
+}
+
+build() {
+ cd build
+
+ qmake QMAKE_CFLAGS_ISYSTEM=-I \
+ "$srcdir"/qt3dstudio/qt3dstudio.pro
+ make
+ make docs
+}
+
+package() {
+ cd build
+
+ make INSTALL_ROOT="${pkgdir}/usr/" install
+ make INSTALL_ROOT="${pkgdir}/usr/" install_docs
+}