summaryrefslogtreecommitdiff
path: root/community/xjadeo
diff options
context:
space:
mode:
Diffstat (limited to 'community/xjadeo')
-rw-r--r--community/xjadeo/PKGBUILD42
-rw-r--r--community/xjadeo/qjadeo.desktop8
-rw-r--r--community/xjadeo/xjadeo.install11
3 files changed, 61 insertions, 0 deletions
diff --git a/community/xjadeo/PKGBUILD b/community/xjadeo/PKGBUILD
new file mode 100644
index 000000000..65fbd3cfe
--- /dev/null
+++ b/community/xjadeo/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 93894 2013-07-11 20:56:42Z speps $
+# Maintainer : speps <speps at aur dot archlinux dot org>
+
+pkgname=xjadeo
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="A simple video player that is synchronized to jack transport."
+arch=('i686' 'x86_64')
+url="http://xjadeo.sourceforge.net"
+license=('GPL')
+depends=('ffmpeg' 'imlib2' 'jack' 'liblo' 'libxpm' 'libxv' 'portmidi')
+makedepends=('qt4')
+optdepends=('qt4: for the GUI (qjadeo)')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+ "qjadeo.desktop")
+install="$pkgname.install"
+md5sums=('6ca2ad15d61d12e2483589f64ace3983'
+ '315e2ab44ce3edf4068ff6db48942908')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-qtgui \
+ --with-qt4prefix=/usr/lib/qt4
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ # rc file
+ install -Dm644 doc/xjadeorc "$pkgdir/etc/xjadeorc"
+
+ # desktop file
+ install -Dm644 ../qjadeo.desktop \
+ "$pkgdir/usr/share/applications/qjadeo.desktop"
+
+ # icon
+ install -Dm644 doc/xjadeo.png \
+ "$pkgdir/usr/share/pixmaps/qjadeo.png"
+}
diff --git a/community/xjadeo/qjadeo.desktop b/community/xjadeo/qjadeo.desktop
new file mode 100644
index 000000000..4d68949f6
--- /dev/null
+++ b/community/xjadeo/qjadeo.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=qjadeo
+Type=Application
+Terminal=false
+Name=QJadeo
+Comment=QJadeo Jack Video Player
+Categories=AudioVideo;
+Icon=qjadeo \ No newline at end of file
diff --git a/community/xjadeo/xjadeo.install b/community/xjadeo/xjadeo.install
new file mode 100644
index 000000000..29a708b66
--- /dev/null
+++ b/community/xjadeo/xjadeo.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_install() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}