From ccc722b7ed330198d82a3cf28ead76d6d107a70a Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Jun 2022 21:25:48 +0000 Subject: added java --- repo/qt5-qtmultimedia/qt5-qtmultimedia.xibuild | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/qt5-qtmultimedia/qt5-qtmultimedia.xibuild (limited to 'repo/qt5-qtmultimedia') diff --git a/repo/qt5-qtmultimedia/qt5-qtmultimedia.xibuild b/repo/qt5-qtmultimedia/qt5-qtmultimedia.xibuild new file mode 100644 index 0000000..40469f1 --- /dev/null +++ b/repo/qt5-qtmultimedia/qt5-qtmultimedia.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="qt5-qtmultimedia" +DESC="Qt5 - Multimedia support" + +MAKEDEPS="alsa-lib gst-plugins-base libxv qt5-qtbase qt5-qtdeclarative" + +PKG_VER=5.15.3_git20201130 +_commit="bd29c87027637a013f2c5e3b549fcda84e4d7545" +SOURCE="https://invent.kde.org/qt/qt/qtmultimedia/-/archive/$_commit/qtmultimedia-$_commit.tar.gz" + +prepare() { + 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-qtmultimedia +} + -- cgit v1.2.1