From 3080034c033cd7c1c5049f2f32d58684dca8a493 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 15 Dec 2019 20:35:05 +0100 Subject: [PATCH] Re-import subtitlecomposer-git from AUR --- subtitlecomposer/git/PKGBUILD | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/subtitlecomposer/git/PKGBUILD b/subtitlecomposer/git/PKGBUILD index 423f29a3..28374287 100644 --- a/subtitlecomposer/git/PKGBUILD +++ b/subtitlecomposer/git/PKGBUILD @@ -11,13 +11,13 @@ # 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). -_name=SubtitleComposer -pkgname=${_name,,}-git +_name=subtitlecomposer +pkgname=${_name}-git pkgver=0.7.0 pkgrel=1 pkgdesc="A KDE subtitle editor (git version)" arch=('i686' 'x86_64') -url="https://github.com/maxrd2/${_name}" +url="https://invent.kde.org/kde/${_name}" license=('GPL') depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg') makedepends=('extra-cmake-modules' 'git') @@ -29,18 +29,20 @@ makedepends+=('mpv') makedepends+=('pocketsphinx') # For consistency, also enable/disable the corresponding optdepends -optdepends=('mplayer: MPlayer backend' - 'mpv: MPV backend' - 'xine-lib: Xine backend' - 'pocketsphinx: speech recognition' - 'kross-interpreters: for ruby and python scripting support' +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' 'ruby: scripting' 'python: scripting') -conflicts=($_name) -provides=($_name) +conflicts=(${_name}) +provides=(${_name}) -source=("git+https://github.com/maxrd2/${_name}.git") +source=("git+https://invent.kde.org/kde/${_name}.git") sha256sums=('SKIP') pkgver() { @@ -55,8 +57,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ - -DBUILD_TESTING=OFF \ - -DAPP_VERSION="${pkgver}" + -DBUILD_TESTING=OFF make }