1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: speps <speps at aur dot archlinux dot org>
7 pkgdesc="A simple video player that is synchronized to jack transport"
9 url="https://github.com/x42/xjadeo"
32 source=($url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz)
33 sha512sums=('c63a18b31e9800cf7f79b90da95bdcaa60c528b586d3a105c47bd514e478e0ff5b8cefd8ada1b9dab51382799fadc297dd26688b648b3475cb33382acf2aa9c0')
34 b2sums=('8acead9046c24f7d15028f40d60bcdb29fdda128267ee63e173721f6d62e751e3c9983c7fe4831e78a605c5d54d39fef0ef5093b9bf3e51605c44ee928c271d6')
38 # https://github.com/x42/xjadeo/issues/54
39 # libporttime.so is replaced by libportmidi.so
40 sed -e 's/ -lporttime//' -i configure.ac
43 --pkgdesc "$pkgdesc" \
44 --categories "AudioVideo;Audio"
50 ./configure --prefix=/usr --sysconfdir=/etc
57 ffmpeg libavcodec.so libavformat.so libavutil.so libswscale.so
58 freetype2 libfreetype.so
63 portmidi libportmidi.so
67 make DESTDIR="$pkgdir" install
69 install -vDm 644 doc/xjadeorc -t "$pkgdir/etc/"
71 install -vDm 644 $pkgname.desktop -t "$pkgdir/usr/share/applications/"
73 install -vDm 644 src/$pkgname/icons/xjadeoH128.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
75 install -vDm 644 {AUTHORS,ChangeLog,NEWS,README} -t "$pkgdir/usr/share/doc/$pkgname/"