# Tanım: Bir müzik çalar ve kütüphane organizatörü. (qt5 ile derlendi)
# URL: http://www.clementine-player.org/
# Paketçi: milisarge cihan_alkan
# Gerekler: cmake boost qt5 xorg-mesa libcdio protobuf taglib chromaprint crypto++ glew gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-ugly gstreamer-plugins-ffmpeg gstreamer-plugins-bad sqlite
# Grup: medya

isim=clementine
surum=1.3.1
devir=1
kaynak=(spotify_blob.patch
        spotify_install.patch)

derle() {
git_indir https://github.com/clementine-player/Clementine.git#branch=qt5 Clementine-$surum
cd Clementine-$surum
  patch -Np1 -i ../spotify_blob.patch
  patch -Np0 -i ../spotify_install.patch
  cd $SRC
  mkdir -p build
  cd build
  cmake "../Clementine-$surum" \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
  make DESTDIR=${PKG} install
}
