2015-09-03 01:54:40 +02:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# Contributor: Mladen Milinkovic <maxrd2@smoothware.net>
|
|
|
|
|
2016-05-06 21:28:05 +02:00
|
|
|
# You can install/update Subtitle Composer from repository
|
|
|
|
# if you add following to /etc/pacman.conf (x86_64 only)
|
2015-09-03 01:54:40 +02:00
|
|
|
# [subtitlecomposer]
|
|
|
|
# # Subtitle Composer
|
|
|
|
# SigLevel = PackageRequired
|
|
|
|
# Server = http://smoothware.net/$repo/$arch
|
|
|
|
|
2016-03-25 21:43:59 +01:00
|
|
|
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
|
2016-05-06 21:28:05 +02:00
|
|
|
# you also find the URL of (another) binary repository (i686 and x86_64).
|
2016-03-25 21:43:59 +01:00
|
|
|
|
2019-12-15 20:35:51 +01:00
|
|
|
pkgname=subtitlecomposer
|
2019-06-27 20:59:45 +02:00
|
|
|
pkgver=0.7.0
|
2020-05-01 20:37:53 +02:00
|
|
|
pkgrel=4
|
2019-12-15 20:35:51 +01:00
|
|
|
pkgdesc='A KDE subtitle editor'
|
2015-09-03 01:54:40 +02:00
|
|
|
arch=('i686' 'x86_64')
|
2019-12-15 20:35:51 +01:00
|
|
|
url="https://invent.kde.org/kde/${pkgname}"
|
2015-09-03 01:54:40 +02:00
|
|
|
license=('GPL')
|
2019-06-27 20:59:45 +02:00
|
|
|
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg')
|
2016-02-07 21:39:57 +01:00
|
|
|
makedepends=('extra-cmake-modules')
|
2016-05-10 17:21:14 +02:00
|
|
|
|
2016-03-15 13:22:24 +01:00
|
|
|
# Comment/uncomment the following dependencies to disable/enable
|
2016-05-10 17:21:14 +02:00
|
|
|
# building the plugins for MPV and Xine player backends and pocketsphinx
|
2016-03-15 13:22:24 +01:00
|
|
|
makedepends+=('xine-lib')
|
|
|
|
makedepends+=('mpv')
|
2019-06-27 20:59:45 +02:00
|
|
|
makedepends+=('pocketsphinx')
|
2016-05-10 17:21:14 +02:00
|
|
|
|
|
|
|
# For consistency, also enable/disable the corresponding optdepends
|
2019-06-27 20:59:45 +02:00
|
|
|
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'
|
2016-05-10 17:21:14 +02:00
|
|
|
'ruby: scripting'
|
|
|
|
'python: scripting')
|
|
|
|
|
2019-12-15 20:35:51 +01:00
|
|
|
source=("https://invent.kde.org/kde/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2")
|
|
|
|
sha256sums=('5292006e551793f63d0db68c775eb63030c863f9815fabb0387ca0db5cdbfd77')
|
2015-09-03 01:54:40 +02:00
|
|
|
|
|
|
|
build() {
|
2019-12-15 20:35:51 +01:00
|
|
|
cd "${srcdir}/${pkgname}-v${pkgver}"
|
2016-03-15 13:22:24 +01:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2017-12-29 20:48:33 +01:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2016-03-15 13:22:24 +01:00
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
2019-06-27 20:59:45 +02:00
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DAPP_VERSION="${pkgver}"
|
2015-12-24 16:50:30 +01:00
|
|
|
make
|
2015-09-03 01:54:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-12-15 20:35:51 +01:00
|
|
|
cd "${srcdir}/${pkgname}-v${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2016-03-25 21:43:59 +01:00
|
|
|
}
|