diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-01 08:37:38 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:17 +0000 |
commit | 5870aa911f41349bc815ab697af1753f047a4323 (patch) | |
tree | 7713f0d2b56ad14a5d6de9dde7df96a039dcc194 /community/moc/APKBUILD | |
parent | 6399b8f024f810d4ab2e555d58722c21948e2281 (diff) | |
download | aports-5870aa911f41349bc815ab697af1753f047a4323.tar.bz2 aports-5870aa911f41349bc815ab697af1753f047a4323.tar.xz |
community/moc: patch for ffmpeg 4
Diffstat (limited to 'community/moc/APKBUILD')
-rw-r--r-- | community/moc/APKBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/community/moc/APKBUILD b/community/moc/APKBUILD index 54ac61de50..dd6ad0fa44 100644 --- a/community/moc/APKBUILD +++ b/community/moc/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> pkgname=moc pkgver=2.5.2 -pkgrel=0 +pkgrel=1 pkgdesc="MOC is a console audio player" url="http://moc.daper.net/" arch="all" @@ -10,7 +10,11 @@ license="GPL" makedepends="curl-dev libtool file ffmpeg-dev speex-dev alsa-lib-dev libmodplug-dev faad2-dev jack-dev libmad-dev ncurses-dev" subpackages="$pkgname-doc" -source="http://ftp.daper.net/pub/soft/moc/stable/moc-${pkgver}.tar.bz2" +# ffmpeg4.patch courtesy of Arch Linux +source=" + http://ftp.daper.net/pub/soft/moc/stable/moc-${pkgver}.tar.bz2 + ffmpeg4.patch +" builddir="${srcdir}/${pkgname}-${pkgver}" prepare() { @@ -45,9 +49,15 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="${pkgdir}" install } -sha512sums="992d06809fb52e58dcee63704bde05795b99edbac46edd8381f314c564490013b18e1853926f419c2c3c7f1bb68ff35e97048de03ace3232b800cf4b3b7dbe0f moc-2.5.2.tar.bz2" +sha512sums="992d06809fb52e58dcee63704bde05795b99edbac46edd8381f314c564490013b18e1853926f419c2c3c7f1bb68ff35e97048de03ace3232b800cf4b3b7dbe0f moc-2.5.2.tar.bz2 +a2af41467573b6f674be4007fda5990035513da6733030b882874dd44562b75c88c63e60c1d84a7b6522191bb4dbc38fb4e7d8462ba4add7425643dcbbf6d315 ffmpeg4.patch" |