added subtitlecomposer

This commit is contained in:
Martchus 2015-09-03 01:54:40 +02:00
parent c2ec52f94a
commit a4d37e92bf
3 changed files with 72 additions and 1 deletions

View File

@ -49,4 +49,6 @@ OTHER_FILES += \
mkvtoolnix/git/mkvtoolnix.install \
isoviewer/default/PKGBUILD \
isoviewer/default/isoviewer.install \
dbus-soundrecorder/default/PKGBUILD
dbus-soundrecorder/default/PKGBUILD \
subtitlecomposer/default/PKGBUILD \
subtitlecomposer/git/PKGBUILD

View File

@ -0,0 +1,38 @@
# Maintainer: Martchus <martchus@gmx.net>
# Contributor: Mladen Milinkovic <maxrd2@smoothware.net>
# You can install/update Subtitle Composer from repository if you add following to /etc/pacman.conf
# [subtitlecomposer]
# # Subtitle Composer
# SigLevel = PackageRequired
# Server = http://smoothware.net/$repo/$arch
pkgname=subtitlecomposer
pkgver=0.5.7
pkgrel=1
pkgdesc="A KDE subtitle editor"
arch=('i686' 'x86_64')
url="https://github.com/maxrd2/subtitlecomposer"
license=('GPL')
depends=('kdelibs' 'gettext')
makedepends=('cmake' 'automoc4' 'git')
conflicts=('subtitlecomposer-git')
optdepends=(
'mplayer: for MPlayer backend'
'mplayer2: for MPlayer backend'
'gstreamer: for GStreamer backend'
'xine-lib: for Xine backend'
)
source=("https://github.com/maxrd2/subtitlecomposer/archive/v${pkgver}.tar.gz")
md5sums=('9e1fef4dca5a15e5c0435f1b099d4ab4')
build() {
cd ${srcdir}/subtitlecomposer-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/subtitlecomposer-${pkgver}
make DESTDIR=${pkgdir} install
}

View File

@ -0,0 +1,31 @@
# Maintainer: Arthur Țițeică /arthur.titeica/gmail/com
# Contributor: Jonas Heinrich <onny@project-insanity.org>
pkgname=subtitlecomposer-git
pkgver=v0.5.6.2.g6528219
pkgrel=1
pkgdesc="A KDE subtitle editor"
arch=('i686' 'x86_64')
url="https://github.com/maxrd2/subtitlecomposer"
license=('GPL')
depends=('kdelibs' 'gettext')
makedepends=('cmake' 'automoc4' 'git')
optdepends=("mplayer: for MPlayer backend")
source=('git+https://github.com/maxrd2/subtitlecomposer.git')
md5sums=('SKIP')
pkgver() {
cd "subtitlecomposer"
git describe --always | sed 's|-|.|g'
}
build() {
cd "subtitlecomposer"
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "subtitlecomposer"
make DESTDIR=${pkgdir} install
}