diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
commit | 873665024ebfaa761ee49b508a79db7178aeb778 (patch) | |
tree | 6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/qt5-qtx11extras | |
parent | 4445f6e15185f58dc599390ab74df3ca19b437b7 (diff) |
added gnupg
Diffstat (limited to 'repo/qt5-qtx11extras')
-rw-r--r-- | repo/qt5-qtx11extras/qt5-qtx11extras.xibuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/repo/qt5-qtx11extras/qt5-qtx11extras.xibuild b/repo/qt5-qtx11extras/qt5-qtx11extras.xibuild new file mode 100644 index 0000000..a587cc5 --- /dev/null +++ b/repo/qt5-qtx11extras/qt5-qtx11extras.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="qt5-qtx11extras" +DESC="Provides platform-specific APIs for X11" + +MAKEDEPS=" qt5-qtbase" + +PKG_VER=5.15.3_git20201027 +_commit="3898f5484fd4864b047729bfeda9a1222f32364f" +SOURCE="https://invent.kde.org/qt/qt/qtx11extras/-/archive/$_commit/qtx11extras-$_commit.tar.gz" + +prepare() { + # We need to make the build system think we're running in a git repository + # so it correctly symlinks during the build + mkdir .git +} + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +package() { + make INSTALL_ROOT="$PKG_DEST" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$PKG_DEST/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$PKG_DEST"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$PKG_DEST"/usr/share/licenses/qt5-qtx11extras +} + |