Update dependencies based on the Arch repo package
This commit is contained in:
38
.SRCINFO
38
.SRCINFO
@@ -1,36 +1,36 @@
|
|||||||
pkgbase = qtcreator-git
|
pkgbase = qtcreator-git
|
||||||
pkgdesc = Lightweight, cross-platform integrated development environment
|
pkgdesc = Lightweight, cross-platform integrated development environment
|
||||||
pkgver = v3.6.0.beta1.r111.ga1f2b8c
|
pkgver = v4.3.0.r274.gee17a71a1f
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://wiki.qt.io/Category:Tools::QtCreator
|
url = https://www.qt.io/ide/
|
||||||
install = qtcreator-git.install
|
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = LGPL
|
license = LGPL
|
||||||
makedepends = git
|
makedepends = git
|
||||||
|
makedepends = llvm
|
||||||
makedepends = mesa
|
makedepends = mesa
|
||||||
makedepends = clang
|
depends = clang
|
||||||
depends = qt5-quick1
|
depends = qbs
|
||||||
|
depends = qt5-svg
|
||||||
depends = qt5-tools
|
depends = qt5-tools
|
||||||
depends = qt5-quickcontrols
|
depends = qt5-webengine
|
||||||
optdepends = qt5-doc: for the integrated Qt documentation
|
optdepends = bzr: bazaar support
|
||||||
optdepends = gdb: for the debugger
|
optdepends = cmake: cmake project support
|
||||||
optdepends = cmake: for cmake project support
|
optdepends = cvs: cvs support
|
||||||
optdepends = openssh-askpass: for ssh support
|
optdepends = gdb: debugger
|
||||||
optdepends = git: for git support
|
optdepends = git: git support
|
||||||
optdepends = mercurial: for mercurial support
|
optdepends = mercurial: mercurial support
|
||||||
optdepends = bzr: for bazaar support
|
optdepends = qt5-doc: integrated Qt documentation
|
||||||
optdepends = clang: Clang code model
|
optdepends = qt5-examples: welcome page examples
|
||||||
optdepends = valgrind: for analyze support
|
optdepends = qt5-translations: other languages
|
||||||
|
optdepends = subversion: subversion support
|
||||||
|
optdepends = valgrind: analyze support
|
||||||
|
optdepends = x11-ssh-askpass: ssh support
|
||||||
provides = qtcreator
|
provides = qtcreator
|
||||||
conflicts = qtcreator
|
conflicts = qtcreator
|
||||||
options = docs
|
options = docs
|
||||||
source = git://code.qt.io/qt-creator/qt-creator.git
|
source = git://code.qt.io/qt-creator/qt-creator.git
|
||||||
source = git://code.qt.io/qt-labs/qbs.git
|
|
||||||
source = qtcreator.desktop
|
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
md5sums = SKIP
|
|
||||||
md5sums = 800c94165c547b64012a207d9830250a
|
|
||||||
|
|
||||||
pkgname = qtcreator-git
|
pkgname = qtcreator-git
|
||||||
|
|
||||||
|
79
PKGBUILD
79
PKGBUILD
@@ -8,68 +8,63 @@
|
|||||||
# Contributor: Tobias Hunger <tobias dot hunger at gmail dot com>
|
# Contributor: Tobias Hunger <tobias dot hunger at gmail dot com>
|
||||||
|
|
||||||
pkgname=qtcreator-git
|
pkgname=qtcreator-git
|
||||||
pkgver=v4.0.0.rc1.r117.g03acd1f
|
pkgver=v4.3.0.r274.gee17a71a1f
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Lightweight, cross-platform integrated development environment'
|
pkgdesc='Lightweight, cross-platform integrated development environment'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://wiki.qt.io/Category:Tools::QtCreator'
|
url='https://www.qt.io/ide/'
|
||||||
license=('GPL')
|
license=('LGPL')
|
||||||
depends=('qt5-script' 'qt5-tools' 'qt5-quickcontrols' 'qt5-svg')
|
depends=('clang' 'qbs' 'qt5-svg' 'qt5-tools' 'qt5-webengine')
|
||||||
makedepends=('git' 'mesa' 'clang')
|
makedepends=('git' 'llvm' 'mesa')
|
||||||
options=('docs')
|
options=('docs')
|
||||||
optdepends=('qt5-doc: for the integrated Qt documentation'
|
optdepends=('bzr: bazaar support'
|
||||||
'gdb: for the debugger'
|
'cmake: cmake project support'
|
||||||
'cmake: for cmake project support'
|
'cvs: cvs support'
|
||||||
'openssh-askpass: for ssh support'
|
'gdb: debugger'
|
||||||
'git: for git support'
|
'git: git support'
|
||||||
'mercurial: for mercurial support'
|
'mercurial: mercurial support'
|
||||||
'bzr: for bazaar support'
|
'qt5-doc: integrated Qt documentation'
|
||||||
'clang: Clang code model'
|
'qt5-examples: welcome page examples'
|
||||||
'valgrind: for analyze support'
|
'qt5-translations: other languages'
|
||||||
'subversion: for subversion support'
|
'subversion: subversion support'
|
||||||
'cvs: for cvs support'
|
'valgrind: analyze support'
|
||||||
'valgrind: for valgrind support')
|
'x11-ssh-askpass: ssh support')
|
||||||
provides=('qtcreator')
|
provides=('qtcreator')
|
||||||
conflicts=('qtcreator')
|
conflicts=('qtcreator')
|
||||||
install='qtcreator-git.install'
|
source=("git://code.qt.io/qt-creator/qt-creator.git")
|
||||||
source=("git://code.qt.io/qt-creator/qt-creator.git"
|
md5sums=('SKIP')
|
||||||
"git://code.qt.io/qt-labs/qbs.git"
|
|
||||||
'qtcreator.desktop')
|
|
||||||
md5sums=('SKIP'
|
|
||||||
'SKIP'
|
|
||||||
'800c94165c547b64012a207d9830250a')
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd qt-creator
|
cd qt-creator
|
||||||
|
|
||||||
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd qt-creator
|
[[ -d build ]] && rm -r build
|
||||||
|
mkdir build
|
||||||
|
|
||||||
git submodule init
|
# fix hardcoded libexec path
|
||||||
git config submodule.qbs.url $srcdir/qbs
|
sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qt-creator/qtcreator.pri
|
||||||
git submodule update
|
# use system qbs
|
||||||
|
rm -r qt-creator/src/shared/qbs
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
[[ -d build ]] && rm -r build
|
cd build
|
||||||
mkdir build && cd build
|
|
||||||
|
|
||||||
LLVM_INSTALL_DIR=/usr qmake CONFIG+=journald -r ../qt-creator/qtcreator.pro
|
qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \
|
||||||
make
|
DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator/qtcreator.pro
|
||||||
make docs -j1
|
make
|
||||||
|
make docs
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
make INSTALL_ROOT="${pkgdir}/usr/" install
|
make INSTALL_ROOT="${pkgdir}/usr/" install
|
||||||
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
make INSTALL_ROOT="${pkgdir}/usr/" install_docs
|
||||||
|
|
||||||
install -Dm644 "${srcdir}/qtcreator.desktop" \
|
install -Dm644 "${srcdir}/qt-creator/LICENSE.GPL3-EXCEPT" \
|
||||||
"${pkgdir}/usr/share/applications/qtcreator.desktop"
|
"${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT"
|
||||||
install -Dm644 "${srcdir}/qt-creator/LICENSE.GPL3-EXCEPT" \
|
|
||||||
"${pkgdir}/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT"
|
|
||||||
}
|
}
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
update-desktop-database -q
|
|
||||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
post_install
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
post_install
|
|
||||||
}
|
|
@@ -1,10 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Exec=qtcreator %F
|
|
||||||
Name=Qt Creator
|
|
||||||
GenericName=C++ IDE for developing Qt applications
|
|
||||||
X-KDE-StartupNotify=true
|
|
||||||
Icon=QtProject-qtcreator
|
|
||||||
Terminal=false
|
|
||||||
Categories=Development;IDE;Qt;
|
|
||||||
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;
|
|
Reference in New Issue
Block a user