upg unrar mpd

This commit is contained in:
joborun linux 2023-02-21 11:40:53 +02:00
parent ef6cb48181
commit 307c231694
5 changed files with 178 additions and 11 deletions

View File

@ -7,7 +7,7 @@
pkgname=mpd
pkgver=0.23.12
pkgrel=01
pkgrel=02
pkgdesc="Flexible, powerful, server-side application for playing music w/o systemd"
arch=(x86_64)
url="https://www.musicpd.org/"
@ -19,7 +19,7 @@ zziplib)
makedepends=(alsa-lib audiofile avahi boost curl dbus expat faad2 ffmpeg flac
fluidsynth fmt icu jack libao libid3tag libmikmod libmpdclient libogg
libopenmpt libpulse libsamplerate libsndfile libupnp liburing libvorbis meson
mpg123 pipewire python-sphinx twolame yajl)
mpg123 libpipewire python-sphinx twolame yajl)
backup=(etc/$pkgname.conf)
# options=(debug) ## uncomment this to produce the debug pkg
source=(
@ -83,4 +83,3 @@ sha256sums=(b7fca62284ecc25a681ea6a07abc49200af5353be42cb5a31e3173be9d8702e7 #
0b74c6e5db08daab3091dc15a6b0c75210ba2f9e98fa074f6cfd605a461056b6 # mpd.sysusers
2faa85c12449a5b3ca422ff1c1fa06d057c7e262a74bfa6298c914a92d6f2e7a) # mpd.tmpfiles

169
mpd/PKGBUILD-arch.new Normal file
View File

@ -0,0 +1,169 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: Ben <ben@benmazer.net>
pkgname=mpd
pkgver=0.23.12
pkgrel=2
pkgdesc="Flexible, powerful, server-side application for playing music"
arch=(x86_64)
url="https://www.musicpd.org/"
license=(GPL2)
depends=(
gcc-libs
glibc
libcdio
libcdio-paranoia
libgcrypt
libgme
libmad
libmms
libmodplug
libmpcdec
libnfs
libshout
libsidplayfp
libsoxr
# smbclient # disabled because of https://bugzilla.samba.org/show_bug.cgi?id=11413
wavpack
wildmidi
zlib
zziplib
)
makedepends=(
alsa-lib
audiofile
avahi
boost
bzip2
chromaprint
curl
dbus
expat
faad2
ffmpeg
flac
fluidsynth
fmt
icu
jack
lame
libao
libid3tag
libmikmod
libmpdclient
libogg
libopenmpt
libpulse
libsamplerate
libsndfile
libupnp
liburing
libvorbis
meson
mpg123
openal
opus
libpipewire
python-sphinx
sqlite
systemd
twolame
yajl
)
backup=(etc/$pkgname.conf)
source=(
https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
$pkgname.conf
$pkgname.sysusers
$pkgname.tmpfiles
$pkgname.service.override
)
sha512sums=('54495b839d86b47ae6e2f6cf4e1baebd0e8eb924742e9db42cc7462ffc4b6f650b83f3eaea291fe905ff5f1975cf875537ffd23a111724013ce58e6df26ce36e'
'SKIP'
'25a823740d92da8e186916701413114142eb6ad91a172c592e68b569c8e4f50fa99580e555ccf6cd31fc4f55a09bfe0278efa46e4e76ee0fe02846292fadf3c1'
'6e467481406279767b709ec6d5c06dbd825c0de09045c52ffa2d21d0604dcfe19b7a92bf42bed25163d66a3a0d1dbde6185a648b433eaf5eac56be90491e2e18'
'db473db27cd68994c3ee26e78e0fb34d13126301d8861563dcc12a22d62ecb14c4ffb1e0798c6aaccdff34e73bae3fbeeff7b42606c901a2d35e278865cdf35d'
'c1782b82f9db1d30aece43a07230c5d57370f2494a16e108af03815d83968805472f10f53ea5495cf0e08ff8f245430c3c3bc44025af43aaf9ecd12fcd6afc6c')
b2sums=('b218d9f477e92842638e3fba44c84957a3f656adaaf1ece998847db8d64883b8c997703206f74b37043888757f5f628799a3a35b25ea991f9ad00df1c4ad5e71'
'SKIP'
'0969a3c477b6a3f34b44e067e515d7f306414dd14e0163584417b9d071e3cc825898219f7ff66ead7905b15429b8411304052d3b2b14a72e560bfabf9bf0adcf'
'4ab6e415284c77802a39d0913d701fe55e56f3c22b19557661fbef77e456b5e1d151da4202695282b956602e716a7afdb994aa2fc17368b9a0d0d051d47a3afb'
'd7b587c25dd5830c27af475a8fdd8102139d7c8fdd6f04fe23b36be030e4411582e289f575c299255ff8183096f7d47247327276f9a24641cbd032d9675b837a'
'753664445d7d5cc0b36f51ac66549beea403b9731cbcb81b0a782974a0a73d90559ba93e6afcaa470b6f2f5a844c09ef695bdf3b1e6dfee97aa080f41b7fe513')
validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512') # Max Kellermann <max@blarg.de>
build() {
local _meson_options=(
-D documentation=enabled
-D adplug=disabled
-D sndio=disabled
-D shine=disabled
-D tremor=disabled
-D b_ndebug=true
)
# NOTE: sndio conflicts with alsa
# TODO: package adplug
# TODO: package shine
arch-meson "${_meson_options[@]}" build $pkgname-$pkgver
ninja -C build
}
check() {
ninja -C build test
}
package() {
depends+=(
alsa-lib libasound.so
audiofile libaudiofile.so
avahi libavahi-{client,common}.so
bzip2 libbz2.so
chromaprint libchromaprint.so
curl libcurl.so
dbus libdbus-1.so
expat libexpat.so
faad2 libfaad.so
ffmpeg libav{codec,filter,format,util}.so
flac libFLAC.so
fluidsynth libfluidsynth.so
fmt libfmt.so
icu libicui18n.so libicuuc.so
jack libjack.so
lame libmp3lame.so
libao libao.so
libid3tag libid3tag.so
libmikmod libmikmod.so
libmpdclient libmpdclient.so
libogg libogg.so
libopenmpt libopenmpt.so
libpipewire libpipewire-0.3.so
libpulse libpulse.so
libsamplerate libsamplerate.so
libsndfile libsndfile.so
libupnp libixml.so libupnp.so
liburing liburing.so
libvorbis libvorbis{,enc}.so
mpg123 libmpg123.so
openal libopenal.so
opus libopus.so
sqlite libsqlite3.so
systemd-libs libsystemd.so
twolame libtwolame.so
yajl libyajl.so
)
DESTDIR="$pkgdir" ninja -C build install
install -vDm 644 $pkgname-$pkgver/doc/${pkgname}conf.example -t "$pkgdir/usr/share/doc/$pkgname/"
install -vDm 644 $pkgname.service.override "$pkgdir/usr/lib/systemd/system/mpd.service.d/00-arch.conf"
install -vDm 644 $pkgname.conf -t "$pkgdir/etc/"
install -vDm 644 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -vDm 644 $pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
}
# vim: ts=2 sw=2 et:

View File

@ -32,6 +32,7 @@ libmikmod
libmpdclient
libogg
libopenmpt
libpipewire
libpulse
libsamplerate
libsndfile
@ -40,7 +41,6 @@ liburing
libvorbis
meson
mpg123
pipewire
python-sphinx
twolame
libgit2

View File

@ -7,7 +7,7 @@
pkgbase=unrar
pkgname=(unrar libunrar)
pkgver=6.2.5
pkgver=6.2.6
pkgrel=01
epoch=1
arch=(x86_64)
@ -48,9 +48,8 @@ package_libunrar() {
license=(custom)
sha256sums=(9a3974410d1d340e3998dd2a6f98faefbe838cad556266e714adfb0e8cf9377c) # unrarsrc-6.2.5.tar.gz
# 3d9ed1bb8bb5507a8287096e5925034b2cc27644a4ced2fd6d98ed393b4cc5ac libunrar-1:6.2.5-01-x86_64.pkg.tar.xz
# 4a8a35cd6aa693c03ce67abfbd1f323c06a90adf765ef5d6c94b15e5c819a3b6 unrar-1:6.2.5-01-x86_64.pkg.tar.xz
sha256sums=(0c2d4cbc8b34d0e3bec7b474e0f52bbcc6c4320ec089b4141223ee355f63c318) # unrarsrc-6.2.6.tar.gz
## c67e80bc698f09d6c0475abc48effeceb44a79420efbd848aacd88d104e777cd unrar-1:6.2.6-01-x86_64.pkg.tar.lz
## d753610bdb5575a4b05ef67d0b00fde1f49a79b0f320f33ec2ec65edbe1652cb libunrar-1:6.2.6-01-x86_64.pkg.tar.lz

View File

@ -4,14 +4,14 @@
pkgbase=unrar
pkgname=(unrar libunrar)
pkgver=6.2.5
pkgver=6.2.6
pkgrel=1
epoch=1
arch=(x86_64)
url='https://www.rarlab.com/rar_add.htm'
license=(custom)
source=(https://www.rarlab.com/rar/unrarsrc-$pkgver.tar.gz)
sha256sums=('9a3974410d1d340e3998dd2a6f98faefbe838cad556266e714adfb0e8cf9377c')
sha256sums=('0c2d4cbc8b34d0e3bec7b474e0f52bbcc6c4320ec089b4141223ee355f63c318')
prepare() {
sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i unrar/makefile # Use system build flags