From 386457433718ac89dc8fece6eef98e21264cbb32 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 23 Dec 2021 01:40:08 +0100 Subject: [PATCH] Remove kross-interpreters from subtitlecomposer dependencies This package has been removed. --- subtitlecomposer/default/PKGBUILD | 58 ++++++++++++++----------------- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/subtitlecomposer/default/PKGBUILD b/subtitlecomposer/default/PKGBUILD index b4e2e6b9..3d34050b 100644 --- a/subtitlecomposer/default/PKGBUILD +++ b/subtitlecomposer/default/PKGBUILD @@ -1,59 +1,53 @@ # Maintainer: Martchus # Contributor: Mladen Milinkovic -# You can install/update Subtitle Composer from repository -# if you add following to /etc/pacman.conf (x86_64 only) -# [subtitlecomposer] -# # Subtitle Composer -# SigLevel = PackageRequired -# Server = http://smoothware.net/$repo/$arch - # All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where # you also find the URL of (another) binary repository (i686 and x86_64). +# Official arch linux binaries: https://subtitlecomposer.kde.org/download.html + pkgname=subtitlecomposer pkgver=0.7.1 -pkgrel=1 +pkgrel=3 pkgdesc='Video subtitle editor' arch=('i686' 'x86_64') -url="https://invent.kde.org/kde/${pkgname}" +url="https://invent.kde.org/multimedia/${_name}" license=('GPL') -depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg') -makedepends=('extra-cmake-modules') +depends=('kcoreaddons' 'ktextwidgets' 'kio' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg' 'openal') +makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb') -# Comment/uncomment the following dependencies to disable/enable -# building the plugins for MPV and Xine player backends and pocketsphinx -makedepends+=('xine-lib') -makedepends+=('mpv') +# Comment/uncomment the following dependency to disable/enable +# building the pocketsphinx plugin makedepends+=('pocketsphinx') # For consistency, also enable/disable the corresponding optdepends -optdepends=('gstreamer: GStreamer videoplayer backend' - 'mpv: MPV videoplayer backend' - 'mplayer: MPlayer videoplayer backend' - 'phonon-qt5: Phonon videoplayer backend' - 'xine-lib: Xine videoplayer backend' - 'pocketsphinx: Pocketsphinx speech recognition backend' - 'kross-interpreters: Ruby and Python scripting support' +optdepends=('pocketsphinx: Pocketsphinx speech recognition backend' 'ruby: scripting' 'python: scripting') -source=("https://invent.kde.org/kde/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2") -sha256sums=('d7834346525813c3d5762c45fdbea2ef49c2db7d07af86b779b376e04c982e88') +_tar=${pkgname}-${pkgver} +source=("https://download.kde.org/stable/${pkgname}/${_tar}.tar.xz" + "https://download.kde.org/stable/${pkgname}/${_tar}.tar.xz.sig") +sha256sums=('ef9cb3c0c1fe1f40cf9d8e795859b9b28adf2da3be77a076d46bc28df4cd0255' + 'SKIP') +validpgpkeys=('76F79007A54A4B68F1547928E2418746EF9D9B26') build() { - cd "${srcdir}/${pkgname}-v${pkgver}" - cmake \ + cmake -S "${srcdir}/${_tar}" -B "${srcdir}/build" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ - -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - -DBUILD_TESTING=OFF \ - -DAPP_VERSION="${pkgver}" - make + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + cmake --build "${srcdir}/build" +} + +check() { + export DISPLAY=:99 + Xvfb :99 >& /dev/null & + trap "kill $! || true" EXIT + cmake --build "${srcdir}/build" --target test } package() { - cd "${srcdir}/${pkgname}-v${pkgver}" - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" cmake --install "${srcdir}/build" }