Update deps of subtitlecomposer for kf5 package renaming
This commit is contained in:
parent
0ff9c0527d
commit
41f247ccbc
|
@ -8,12 +8,12 @@
|
||||||
|
|
||||||
pkgname=subtitlecomposer
|
pkgname=subtitlecomposer
|
||||||
pkgver=0.7.1
|
pkgver=0.7.1
|
||||||
pkgrel=7
|
pkgrel=8
|
||||||
pkgdesc='Video subtitle editor'
|
pkgdesc='Video subtitle editor'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://invent.kde.org/multimedia/${_name}"
|
url="https://invent.kde.org/multimedia/${_name}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kcoreaddons' 'ktextwidgets' 'kio' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg' 'openal')
|
depends=('kcoreaddons5' 'ktextwidgets5' 'kio5' 'sonnet5' 'kcodecs5' 'kross' 'kxmlgui5' 'ki18n5' 'ffmpeg' 'openal')
|
||||||
makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb')
|
makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb')
|
||||||
|
|
||||||
# Comment/uncomment the following dependency to disable/enable
|
# Comment/uncomment the following dependency to disable/enable
|
||||||
|
|
|
@ -1,67 +1,57 @@
|
||||||
# Maintainer: Mladen Milinkovic <maxrd2@smoothware.net>
|
# Maintainer: Mladen Milinkovic <maxrd2@smoothware.net>
|
||||||
# Contributor: Martchus <martchus@gmx.net>
|
# Contributor: Martchus <martchus@gmx.net>
|
||||||
|
|
||||||
# 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
|
# 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).
|
# you also find the URL of (another) binary repository (i686 and x86_64).
|
||||||
|
|
||||||
|
# Official arch linux binaries: https://subtitlecomposer.kde.org/download.html
|
||||||
|
|
||||||
_name=subtitlecomposer
|
_name=subtitlecomposer
|
||||||
pkgname=${_name}-git
|
pkgname=${_name}-git
|
||||||
pkgver=0.7.0
|
pkgver=0.7.1+git298.fe1477b5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A KDE subtitle editor (git version)"
|
pkgdesc="A KDE subtitle editor (git version)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://invent.kde.org/kde/${_name}"
|
url="https://invent.kde.org/multimedia/${_name}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg')
|
depends=('kcoreaddons5' 'ktextwidgets5' 'kio5' 'sonnet5' 'kcodecs5' 'kxmlgui5' 'ki18n5' 'ffmpeg' 'openal')
|
||||||
makedepends=('extra-cmake-modules' 'git')
|
makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb')
|
||||||
|
|
||||||
# Comment/uncomment the following dependencies to disable/enable
|
# Comment/uncomment the following dependency to disable/enable
|
||||||
# building the plugins for MPV and Xine player backends and pocketsphinx
|
# building the speech recognition plugin
|
||||||
makedepends+=('xine-lib')
|
|
||||||
makedepends+=('mpv')
|
|
||||||
makedepends+=('pocketsphinx')
|
makedepends+=('pocketsphinx')
|
||||||
|
|
||||||
# For consistency, also enable/disable the corresponding optdepends
|
# For consistency, also enable/disable the corresponding optdepends
|
||||||
optdepends=('gstreamer: GStreamer videoplayer backend'
|
optdepends=('pocketsphinx: Pocketsphinx speech recognition 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})
|
conflicts=(${_name})
|
||||||
provides=(${_name})
|
provides=(${_name})
|
||||||
|
|
||||||
source=("git+https://invent.kde.org/kde/${_name}.git")
|
# gitlab mirrors https://invent.kde.org/multimedia/subtitlecomposer.git#branch=master + i18n
|
||||||
|
source=("git+https://invent.kde.org/multimedia/${_name}.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd ${srcdir}/${_name}
|
cd ${srcdir}/${_name}
|
||||||
git describe --always --abbrev=8 | sed 's/-g/./;s/-/./;s/^v//g'
|
git describe --always --abbrev=8 | sed 's/-g/./;s/-/+git/;s/^v//g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${_name}
|
cmake -S "${srcdir}/${_name}" -B "${srcdir}/build" \
|
||||||
cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DKDE_INSTALL_LIBDIR=lib \
|
-DKDE_INSTALL_LIBDIR=lib \
|
||||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||||||
-DBUILD_TESTING=OFF
|
cmake --build "${srcdir}/build"
|
||||||
make
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export DISPLAY=:99
|
||||||
|
Xvfb :99 >& /dev/null &
|
||||||
|
trap "kill $! || true" EXIT
|
||||||
|
cmake --build "${srcdir}/build" --target test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${_name}
|
DESTDIR="${pkgdir}" cmake --install "${srcdir}/build"
|
||||||
make DESTDIR=${pkgdir} install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue