Re-import subtitlecomposer-git from AUR

This commit is contained in:
Martchus 2019-12-15 20:35:05 +01:00
parent 00880979f3
commit 3080034c03
1 changed files with 14 additions and 13 deletions

View File

@ -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
}