summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgustawho2017-11-30 13:31:03 -0600
committergustawho2017-11-30 13:31:03 -0600
commit0d2bd0a3dc25cf9552e5d3b93f3d8ab75cab14cc (patch)
tree7d1ebde025b46e8c694677314e2e877741d0a307
parent5a03a6efe5452dec46bef568b7efad5fbeee8364 (diff)
downloadaur-0d2bd0a3dc25cf9552e5d3b93f3d8ab75cab14cc.tar.gz
Added *.desktop files and small fixes
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD28
-rw-r--r--org.qt-project.qt3dstudio.desktop11
3 files changed, 31 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b3223e615d2..b673b4e70c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,10 +2,10 @@ pkgbase = qt3dstudio-git
pkgdesc = A world class 3D User Interface design tool.
pkgver = 2b75758
pkgrel = 1
- url = https://www.qt.io
+ url = https://doc.qt.io/qt3dstudio
arch = i686
arch = x86_64
- license = GPL
+ license = GPL3
makedepends = git
depends = fbx-sdk
depends = qt5-base
@@ -20,11 +20,13 @@ pkgbase = qt3dstudio-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
+ source = org.qt-project.qt3dstudio.desktop
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
md5sums = SKIP
+ md5sums = 5ca69792d762955d3aa36e7015d0ec49
pkgname = qt3dstudio-git
diff --git a/PKGBUILD b/PKGBUILD
index 329c33b626c..75fa8dc5f12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@ pkgver=2b75758
pkgrel=1
pkgdesc='A world class 3D User Interface design tool.'
arch=('i686' 'x86_64')
-url='https://www.qt.io'
-license=('GPL')
+url='https://doc.qt.io/qt3dstudio'
+license=('GPL3')
depends=('fbx-sdk' 'qt5-base' 'qt5-multimedia' 'qt5-declarative' 'qt5-tools')
makedepends=('git')
options=('docs')
@@ -17,12 +17,14 @@ 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')
+ 'git+https://code.qt.io/qt3dstudio/qt3dstudio-pcre.git'
+ 'org.qt-project.qt3dstudio.desktop')
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
- 'SKIP')
+ 'SKIP'
+ '5ca69792d762955d3aa36e7015d0ec49')
pkgver() {
cd qt3dstudio
@@ -33,12 +35,12 @@ prepare() {
[[ -d build ]] && rm -r build
mkdir build
- cd "$srcdir"/qt3dstudio
+ 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 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
}
@@ -46,7 +48,7 @@ build() {
cd build
qmake QMAKE_CFLAGS_ISYSTEM=-I \
- "$srcdir"/qt3dstudio/qt3dstudio.pro
+ "${srcdir}"/qt3dstudio/qt3dstudio.pro
make
make docs
}
@@ -54,6 +56,8 @@ build() {
package() {
cd build
- make INSTALL_ROOT="${pkgdir}/usr/" install
- make INSTALL_ROOT="${pkgdir}/usr/" install_docs
+ make INSTALL_ROOT="${pkgdir}/" install
+ make INSTALL_ROOT="${pkgdir}/" install_docs
+ mkdir -p "${pkgdir}"/usr/share/applications
+ install -Dm644 "${srcdir}"/org.qt-project.qt3dstudio.desktop "${pkgdir}"/usr/share/applications/org.qt-project.qt3dstudio.desktop
}
diff --git a/org.qt-project.qt3dstudio.desktop b/org.qt-project.qt3dstudio.desktop
new file mode 100644
index 00000000000..fc6d0e137f6
--- /dev/null
+++ b/org.qt-project.qt3dstudio.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Exec=Qt3DStudio %F
+Name=Qt 3D Studio
+GenericName=3D User Interface design tool
+X-KDE-StartupNotify=true
+Icon=QtProject-qt3dstudio
+Terminal=false
+Categories=Development;IDE;Qt;
+#MimeType= text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;
+