[testing] -> [extra] 'qt6-multimedia-6.4.1-1' move
packagesQ/qt6-multimedia/pipeline/head This commit looks good Details

master
artist 2 months ago
parent af3acf2b11
commit be7ad3b12d
Signed by: artist
GPG Key ID: 73580DE2EDDFA6D6

@ -3,9 +3,9 @@
pkgbase=qt6-multimedia
pkgname=(qt6-multimedia qt6-multimedia-gstreamer qt6-multimedia-ffmpeg)
_qtver=6.4.0
_qtver=6.4.1
pkgver=${_qtver/-/}
pkgrel=2
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
@ -15,7 +15,7 @@ groups=(qt6)
options=(debug)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
sha256sums=('e82e8e847cae2a951a11db05b6d10a22b21e3a1d72e06a7781cce4bd197e796f')
sha256sums=('c086d43a026e6090971fd7a697ef8370c5c455115240609cd08d5e2f840dbaaf')
build() {
cmake -B build -S $_pkgfn -G Ninja -DCMAKE_INSTALL_PREFIX=/usr \

@ -1,61 +0,0 @@
# Maintainer: artist <artist@artixlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgbase=qt6-multimedia
pkgname=(qt6-multimedia qt6-multimedia-gstreamer qt6-multimedia-ffmpeg)
_qtver=6.4.1
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality'
makedepends=(cmake ninja qt6-declarative qt6-shadertools gst-plugins-base libpulse ffmpeg qt6-quick3d)
groups=(qt6)
options=(debug)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
sha256sums=('c086d43a026e6090971fd7a697ef8370c5c455115240609cd08d5e2f840dbaaf')
build() {
cmake -B build -S $_pkgfn -G Ninja -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
cmake --build build
}
package_qt6-multimedia() {
depends=(qt6-base qt6-multimedia-backend)
optdepends=('qt6-declarative: QML bindings'
'qt6-quick3d: for QtQuick3DAudio')
DESTDIR="$pkgdir" cmake --install build
# Split plugins
rm -r "$pkgdir"/usr/lib/qt6/plugins/
rm "$pkgdir"/usr/lib/cmake/Qt6Multimedia/Qt6Q{FFmpeg,Gstreamer}*
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}
package_qt6-multimedia-gstreamer() {
pkgdesc='Gstreamer backend for qt6-multimedia'
depends=(qt6-multimedia gst-plugins-base)
provides=(qt6-multimedia-backend)
groups=()
optdepends=('gst-plugins-good: camera support, additional plugins'
'gst-plugins-bad: camera support, additional plugins'
'gst-plugins-ugly: additional plugins'
'gst-libav: additional plugins')
DESTDIR="$pkgdir" cmake --install build/src/plugins/multimedia/gstreamer
}
package_qt6-multimedia-ffmpeg() {
pkgdesc='FFMpeg backend for qt6-multimedia'
depends=(qt6-multimedia ffmpeg libva)
provides=(qt6-multimedia-backend)
groups=()
DESTDIR="$pkgdir" cmake --install build/src/plugins/multimedia/ffmpeg
}
Loading…
Cancel
Save