Date: Monday, November 18, 2019 @ 00:16:47 Author: arojas Revision: 369153
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: kdenlive/repos/kde-unstable-x86_64/ kdenlive/repos/kde-unstable-x86_64/PKGBUILD (from rev 369152, kdenlive/kde-unstable/PKGBUILD) kdenlive/repos/kde-unstable-x86_64/kdenlive-qt-5.14.patch (from rev 369152, kdenlive/kde-unstable/kdenlive-qt-5.14.patch) ------------------------+ PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++++++++++++ kdenlive-qt-5.14.patch | 17 +++++++++++++++ 2 files changed, 67 insertions(+) Copied: kdenlive/repos/kde-unstable-x86_64/PKGBUILD (from rev 369152, kdenlive/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2019-11-18 00:16:47 UTC (rev 369153) @@ -0,0 +1,50 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Zuf <kontakt....@gmail.com> +# Contributor: Darwin Bautista <djclue...@gmail.com> +# Contributor: Gustavo Alvarez <sl1pk...@gmail.com> + +pkgname=kdenlive +pkgver=19.11.80 +pkgrel=1 +pkgdesc="A non-linear video editor for Linux using the MLT video framework" +arch=(x86_64) +url="https://www.kdenlive.org/" +license=(GPL) +groups=(kde-applications kdemultimedia) +depends=(knewstuff knotifyconfig kfilemetadata purpose mlt rttr breeze-icons frei0r-plugins) +makedepends=(extra-cmake-modules kdoctools v4l-utils) +optdepends=('ffmpeg: for FFmpeg plugin' + 'cdrtools: for creation of DVD ISO images' + 'dvdauthor: for creation of DVD' + 'dvgrab: for firewire capture' + 'recordmydesktop: for screen capture' + 'xine-ui: for DVD preview' + 'vlc: for DVD preview' + 'plasma-desktop: theme configuration') +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} + kdenlive-qt-5.14.patch) +sha256sums=('8de6ea6ffe6194241f4b2561cb2f3cf7d3237dd988fc30d57820daf955451a3b' + 'SKIP' + 'fd42abab891383b3e640e9c8056fa87ba41262240afd9052effa2e8d21654760') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -p1 -i ../kdenlive-qt-5.14.patch # Fix build with Qt 5.14 +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Copied: kdenlive/repos/kde-unstable-x86_64/kdenlive-qt-5.14.patch (from rev 369152, kdenlive/kde-unstable/kdenlive-qt-5.14.patch) =================================================================== --- kde-unstable-x86_64/kdenlive-qt-5.14.patch (rev 0) +++ kde-unstable-x86_64/kdenlive-qt-5.14.patch 2019-11-18 00:16:47 UTC (rev 369153) @@ -0,0 +1,17 @@ +diff --git a/src/definitions.h b/src/definitions.h +index c82b64efc..10cf52d29 100644 +--- a/src/definitions.h ++++ b/src/definitions.h +@@ -252,10 +252,12 @@ QDebug operator<<(QDebug qd, const ItemInfo &info); + + // we provide hash function for qstring and QPersistentModelIndex + namespace std { ++#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) + template <> struct hash<QString> + { + std::size_t operator()(const QString &k) const { return qHash(k); } + }; ++#endif + template <> struct hash<QPersistentModelIndex> + { + std::size_t operator()(const QPersistentModelIndex &k) const { return qHash(k); }