# Contributor: Ɓukasz Jendrysik # Contributor: William Pitcock # Maintainer: William Pitcock pkgname=deadbeef pkgver=0.7.2 _ver=${pkgver/_rc/-rc} pkgrel=4 pkgdesc="fairly capable playlist-oriented audio player" url="http://deadbeef.sourceforge.net/" arch="all" license="GPL" depends= depends_dev="gtk+-dev libmad-dev alsa-lib-dev ffmpeg-dev libsamplerate-dev gettext-dev flac-dev libvorbis-dev jansson-dev curl-dev" makedepends="$depends_dev intltool gettext" install="" subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" source="https://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2 arm-buildfix.patch use-endian-h.patch" options="!check" builddir="${srcdir}/${pkgname}-$_ver" prepare() { update_config_guess || return 1 default_prepare } build() { cd "$builddir" CXXFLAGS="$CXXFLAGS -std=gnu++98" \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="9ea61a3820d9d57f038b80652ce63bd87e6781259c0f58a93b70607b02e71debbf5598f4a06d607d3840a804c3b7fc5039a4c4b0a8bb01e8e5107bba3f0bd980 deadbeef-0.7.2.tar.bz2 57e25e3478b5516f0ebc34fa561c619bdca4cdf7e9f6dc1d81317c972b10bd073a4a761dfc2327047fd56433e79ff57bf501c9cfe77079c450b46f5a0315555b arm-buildfix.patch 8a918b75ad20689cfa0c0fd073ca96377311c95a6fff55cf6939a77ce9911bc7dfed024d825f5bdaa639988864d3b6b2707697f75ce5e28b747b1a190e55e39d use-endian-h.patch"