SHARE
TWEET

qomp 1.3.1

a guest Feb 4th, 2018 287 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Fabio Loli <loli_fabio@protonmail.com>
  2. # Contributor: alex korobtsov <korobcoff@gmail.com>
  3. # Contributor: Alexander Bantyev <balsoft@yandex.ru>
  4.  
  5. pkgname=qomp
  6. pkgver=1.3.1
  7. pkgrel=1
  8. pkgdesc="Quick(Qt) Online Music Player"
  9. arch=('i686' 'x86_64')
  10. url="http://qomp.sourceforge.net/"
  11. license=('GPL2')
  12. depends=('taglib' 'qt5-base' 'qt5-tools' 'qt5-x11extras'
  13.          'qt5-multimedia' 'qt5-xmlpatterns'
  14.          'gstreamer' 'libcue' 'gst-plugins-good')
  15. optdepends=('gst-plugins-bad'
  16.             'gst-plugins-ugly')
  17. makedepends=('git' 'make' 'cmake')
  18. _commit=230443ed40a99cedbfee7624dcce6db16977a9f6 #tag 1.3.1
  19. source=("git+https://github.com/qomp/qomp#commit=$_commit")
  20. md5sums=('SKIP')
  21.  
  22. pkgver() {
  23.   cd $pkgname
  24.   git describe --tags | sed 's/^v//;s/-/+/g'
  25. }
  26.  
  27. build() {
  28.   cd "$srcdir/${pkgname}"
  29.   git submodule init
  30.   git submodule update
  31.   cmake \
  32.     -DCMAKE_INSTALL_PREFIX=/usr/ \
  33.     -DUSE_QT5=ON \
  34.     -DCMAKE_BUILD_TYPE=Release
  35.   make
  36. }
  37.  
  38. package() {
  39.   cd "$srcdir/${pkgname}"
  40.   make DESTDIR="$pkgdir/"  install
  41. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top