summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2019-05-13 18:57:03 +0200
committerChristopher Arndt2019-05-13 18:57:03 +0200
commit0f446ab154f1ffc1b91bda74a6cb676c44491c50 (patch)
tree9b6d9c8dfbf8202d794ce97528775c102d875cc9
downloadaur-0f446ab154f1ffc1b91bda74a6cb676c44491c50.tar.gz
Add new package 'linux-show-player-git'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO26
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD44
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6aed097d5b5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = linux-show-player-git
+ pkgdesc = Sound cue playback software designed for live musical shows and theatre plays (git version)
+ pkgver = 0.5.1.r267.88156278
+ pkgrel = 1
+ url = http://linux-show-player.sourceforge.net/
+ arch = any
+ license = GPL3
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python-pyqt5
+ depends = python-gobject
+ depends = gst-plugins-good
+ depends = python-mido
+ depends = python-sortedcontainers
+ depends = qt5-svg
+ optdepends = gst-libav: for larger format support
+ optdepends = portmidi: for portmidi support
+ optdepends = python-jack-client: for JACK output support
+ provides = linux-show-player
+ conflicts = linux-show-player
+ options = !emptydirs
+ source = linux-show-player::git+https://github.com/FrancescoCeruti/linux-show-player
+ sha256sums = SKIP
+
+pkgname = linux-show-player-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..426addfe321
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+.AURINFO
+linux-show-player/
+linux-show-player-*.tar.xz
+linux-show-player-*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3d6018ea596
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Christopher Arndt <chris at chrisarndt.de>
+
+_pkgname=linux-show-player
+pkgname="${_pkgname}-git"
+pkgver=0.5.1.r267.88156278
+pkgrel=1
+pkgdesc="Sound cue playback software designed for live musical shows and theatre plays (git version)"
+url="http://linux-show-player.sourceforge.net/"
+arch=('any')
+license=('GPL3')
+depends=('python-pyqt5' 'python-gobject' 'gst-plugins-good' 'python-mido'
+ 'python-sortedcontainers' 'qt5-svg')
+makedepends=('git' 'python-setuptools')
+optdepends=('gst-libav: for larger format support'
+ 'portmidi: for portmidi support'
+ 'python-jack-client: for JACK output support')
+options=('!emptydirs')
+conflicts=("${_pkgname}")
+provides=("${_pkgname}")
+source=("${_pkgname}::git+https://github.com/FrancescoCeruti/linux-show-player")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ ver=$(python -c "exec(open('lisp/__init__.py').read()); print(__version__)")
+ echo $ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+
+ python setup.py install --root="${pkgdir}/" --prefix=/usr --optimize=1 --skip-build
+ install -Dm644 dist/linuxshowplayer.desktop -t "${pkgdir}/usr/share/applications"
+ install -Dm644 dist/linuxshowplayer.png -t "${pkgdir}/usr/share/pixmaps"
+ install -Dm644 dist/linuxshowplayer.xml -t "${pkgdir}/usr/share/mime/packages"
+}