mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/qt-creator: new aport
Lightweight and cross-platform IDE for Qt http://developer.qt.nokia.com/wiki/Category:Tools::QtCreator
This commit is contained in:
parent
d09efed349
commit
8d7276ceeb
43
testing/qt-creator/APKBUILD
Normal file
43
testing/qt-creator/APKBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=qt-creator
|
||||
pkgver=2.5.0
|
||||
pkgrel=0
|
||||
pkgdesc="Lightweight and cross-platform IDE for Qt"
|
||||
url="http://developer.qt.nokia.com/wiki/Category:Tools::QtCreator"
|
||||
arch="all"
|
||||
license="LGPLv2 with exceptions"
|
||||
depends=""
|
||||
depends_dev=""
|
||||
makedepends="$depends_dev qt-dev"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="http://get.qt.nokia.com/qtcreator/qt-creator-$pkgver-src.tar.gz
|
||||
qtcreator.desktop"
|
||||
|
||||
_builddir="$srcdir"/qt-creator-$pkgver-src
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
qmake -r IDE_LIBRARY_BASENAME=/usr/lib || return 1
|
||||
make CXX="${CXX:-g++}"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make install INSTALL_ROOT="$pkgdir"/usr || return 1
|
||||
install -Dm 644 "$srcdir"/qtcreator.desktop \
|
||||
"$pkgdir"/usr/share/applications/qtcreator.desktop
|
||||
}
|
||||
|
||||
md5sums="31e26cdd1e3eeb8c406382ebe886dcc5 qt-creator-2.5.0-src.tar.gz
|
||||
f8b1f18e8d62cd4734bb676a97cee1dc qtcreator.desktop"
|
||||
10
testing/qt-creator/qtcreator.desktop
Normal file
10
testing/qt-creator/qtcreator.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=qtcreator %F
|
||||
Name=Qt Creator
|
||||
GenericName=C++ IDE for developing Qt applications
|
||||
X-KDE-StartupNotify=true
|
||||
Icon=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;
|
||||
Loading…
x
Reference in New Issue
Block a user