Update subtitlecomposer to 0.7.0
This commit is contained in:
parent
a10eb6b27d
commit
429a43fc6b
|
@ -11,53 +11,57 @@
|
||||||
# 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).
|
||||||
|
|
||||||
pkgname=subtitlecomposer
|
_name=SubtitleComposer
|
||||||
pkgver=0.6.6
|
pkgname=${_name,,}
|
||||||
pkgrel=6
|
pkgver=0.7.0
|
||||||
|
pkgrel=1
|
||||||
pkgdesc="A KDE subtitle editor"
|
pkgdesc="A KDE subtitle editor"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/maxrd2/${pkgname}"
|
url="https://github.com/maxrd2/${_name}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'gstreamer')
|
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg')
|
||||||
makedepends=('extra-cmake-modules')
|
makedepends=('extra-cmake-modules')
|
||||||
|
|
||||||
# Comment/uncomment the following dependencies to disable/enable
|
# Comment/uncomment the following dependencies to disable/enable
|
||||||
# building the plugins for MPV and Xine player backends and pocketsphinx
|
# building the plugins for MPV and Xine player backends and pocketsphinx
|
||||||
makedepends+=('xine-lib')
|
makedepends+=('xine-lib')
|
||||||
makedepends+=('mpv')
|
makedepends+=('mpv')
|
||||||
#makedepends+=('pocketsphinx')
|
makedepends+=('pocketsphinx')
|
||||||
|
|
||||||
# For consistency, also enable/disable the corresponding optdepends
|
# For consistency, also enable/disable the corresponding optdepends
|
||||||
optdepends=('mplayer: MPlayer backend'
|
optdepends=('gstreamer: GStreamer videoplayer backend'
|
||||||
'mpv: MPV backend'
|
'mpv: MPV videoplayer backend'
|
||||||
'xine-lib: Xine backend'
|
'mplayer: MPlayer videoplayer backend'
|
||||||
# 'pocketsphinx: speech recognition'
|
'phonon-qt5: Phonon videoplayer backend'
|
||||||
'kross-interpreters: for ruby and python scripting support'
|
'xine-lib: Xine videoplayer backend'
|
||||||
|
'pocketsphinx: Pocketsphinx speech recognition backend'
|
||||||
|
'kross-interpreters: Ruby and Python scripting support'
|
||||||
'ruby: scripting'
|
'ruby: scripting'
|
||||||
'python: scripting')
|
'python: scripting')
|
||||||
|
|
||||||
source=("https://github.com/maxrd2/${pkgname}/archive/v${pkgver}.tar.gz"
|
source=("https://github.com/maxrd2/${pkgname}/archive/v${pkgver}.tar.gz"
|
||||||
'0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch::https://github.com/Martchus/subtitlecomposer/commit/cca0ff13c5bab516c073f9457277bdbf5fe1fd9a.patch')
|
'0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch::https://github.com/Martchus/subtitlecomposer/commit/cca0ff13c5bab516c073f9457277bdbf5fe1fd9a.patch')
|
||||||
sha256sums=('8c957db7078676636f05e798219ff1052a52014ce7593dc660c345196f803ae4'
|
sha256sums=('90dee806df0ee57f4098d417f62014b4533dbf5598d5535c9da1066536c1ed41'
|
||||||
'8952257e4798ba009e721a1a8b5f929b03de8e733dbfa201b20fd8edd83cea99')
|
'8952257e4798ba009e721a1a8b5f929b03de8e733dbfa201b20fd8edd83cea99')
|
||||||
|
|
||||||
prepare() {
|
#prepare() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
# cd ${srcdir}/${_name}-${pkgver}
|
||||||
patch -p1 -i "$srcdir/0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch"
|
# patch -p1 -i "$srcdir/0001-Use-target_link_libraries-instead-of-qt5_use_modules.patch"
|
||||||
}
|
#}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${_name}-${pkgver}
|
||||||
cmake \
|
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
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DAPP_VERSION="${pkgver}"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
cd ${srcdir}/${_name}-${pkgver}
|
||||||
make DESTDIR=${pkgdir} install
|
make DESTDIR=${pkgdir} install
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,15 +11,15 @@
|
||||||
# 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).
|
||||||
|
|
||||||
_name=subtitlecomposer
|
_name=SubtitleComposer
|
||||||
pkgname=${_name}-git
|
pkgname=${_name,,}-git
|
||||||
pkgver=0.6.6
|
pkgver=0.7.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A KDE subtitle editor"
|
pkgdesc="A KDE subtitle editor (git version)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://github.com/maxrd2/${_name}"
|
url="https://github.com/maxrd2/${_name}"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'gstreamer')
|
depends=('kcoreaddons' 'sonnet' 'kcodecs' 'kross' 'kxmlgui' 'ki18n' 'ffmpeg')
|
||||||
makedepends=('extra-cmake-modules' 'git')
|
makedepends=('extra-cmake-modules' 'git')
|
||||||
|
|
||||||
# Comment/uncomment the following dependencies to disable/enable
|
# Comment/uncomment the following dependencies to disable/enable
|
||||||
|
@ -44,8 +44,8 @@ source=("git+https://github.com/maxrd2/${_name}.git")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/${_name}"
|
cd ${srcdir}/${_name}
|
||||||
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
|
git describe --always --abbrev=8 | sed 's/-g/./;s/-/./;s/^v//g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -55,7 +55,8 @@ build() {
|
||||||
-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
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DAPP_VERSION="${pkgver}"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue