desktop/qmidinet/PKGBUILD

35 lines
1005 B
Bash
Raw Normal View History

2011-08-07 19:36:07 +08:00
pkgname=qmidinet
2017-04-28 18:40:39 +08:00
pkgver=0.4.3
2011-08-07 19:36:07 +08:00
pkgrel=1
pkgdesc="A MIDI network gateway application that sends and receives MIDI data (ALSA Sequencer) over the network, using UDP/IP multicast"
2013-12-17 00:30:40 +08:00
arch=('x86_64')
2011-08-07 19:36:07 +08:00
url="http://qmidinet.sourceforge.net/"
license=('GPL')
depends=('qt5-base' 'qt5-tools' 'jack' 'hicolor-icon-theme')
categories=('multimedia')
2011-08-07 19:36:07 +08:00
install="$pkgname.install"
2015-05-15 18:36:22 +08:00
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
"qmidinet.png")
2017-04-28 18:40:39 +08:00
sha256sums=('7c1b5823c3d09374c07804e0d55b34a3ede27e40fc22120d50422e1337851de2'
'348bdc8d4ddd7ac95d716cd017afe15c6907bfd79b628438322a2ecf7c5437b1')
2011-08-07 19:36:07 +08:00
2016-10-31 19:52:57 +08:00
prepare() {
cd $pkgname-$pkgver
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11"
}
2011-08-07 19:36:07 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
2015-05-15 18:36:22 +08:00
install -D ../qmidinet.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
2011-08-07 19:36:07 +08:00
}