Qt-Creator
This commit is contained in:
1 parent
54be62ad94
commit
c6fbaf4502
2 files changed
+79
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='qt6-5compat'
|
||||
release='1'
|
||||
version='6.7.0'
|
||||
url='https://www.qt.io'
|
||||
description='Module that contains unsupported Qt 5 APIs'
|
||||
email='brkt8khn@gmailmail.com'
|
||||
maintainer='brkt8khn'
|
||||
license=('GPLv3')
|
||||
source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz")
|
||||
depends=(icu qt6-base qt6-shadertools)
|
||||
makedepends=(ninja qt6-declarative)
|
||||
sha256sums=('9d49d4fd8345d8a40b63e0b65cd49c1d8286e33a7f1409bf1316763f654e19f5')
|
||||
group=(dev.qt)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd "qt5compat-everywhere-src-"${version}
|
||||
export PATH=/usr/bin/qt6:$PATH
|
||||
|
||||
setup() {
|
||||
cmake -B build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
|
||||
}
|
||||
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
name='qtcreator'
|
||||
release='1'
|
||||
version='13.0.0'
|
||||
url='https://www.qt.io'
|
||||
description='Lightweight, cross-platform integrated development environment'
|
||||
email='brkt8khn@gmailmail.com'
|
||||
maintainer='brkt8khn'
|
||||
license=('GPLv3')
|
||||
source=("https://download.qt.io/official_releases/qtcreator/${version%.*}/$version/qt-creator-opensource-src-$version.tar.gz")
|
||||
depends=(qt6-5compat qt6-base qt6-declarative qt6-quick3d qt6-tools qt6-serialport qt6-svg qt6-webengine yaml-cpp zstd)
|
||||
makedepends=(cmake llvm python)
|
||||
sha256sums=('31bff5da429eb7437168637cdd67dc5616c5706e5023a4aa19257dc668f0456e')
|
||||
group=(dev.qt)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
export PATH=/usr/bin/qt6:$PATH
|
||||
|
||||
setup () {
|
||||
cmake -B build -S qt-creator-opensource-src-$version \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DWITH_DOCS=ON \
|
||||
-DBUILD_DEVELOPER_DOCS=ON \
|
||||
-DBUILD_QBS=OFF \
|
||||
-DQTC_CLANG_BUILDMODE_MATCH=ON \
|
||||
-DCLANGTOOLING_LINK_CLANG_DYLIB=ON \
|
||||
-DQT_DEBUG_FIND_PACKAGE=ON
|
||||
}
|
||||
|
||||
build () {
|
||||
cmake --build build
|
||||
cmake --build build --target docs
|
||||
}
|
||||
|
||||
package () {
|
||||
DESTDIR="$DESTDIR" cmake --install build
|
||||
# Install docs
|
||||
cp -r build/share/doc "$DESTDIR"/usr/share
|
||||
|
||||
DESTDIR="$DESTDIR" cmake --install build --component Devel
|
||||
}
|
||||
Reference in new issue
Block a user