musepack: add README, drop the out-of-fashion Pkgfile header

musepack: add README, drop the out-of-fashion Pkgfile header
This commit is contained in:
John McQuah 2023-02-13 17:28:21 -05:00
parent 1506408a91
commit 7bf11c1f6f
4 changed files with 20 additions and 11 deletions

View File

@ -14,6 +14,4 @@ drwxr-xr-x root/root usr/include/mpc/
-rw-r--r-- root/root usr/include/mpc/reader.h
-rw-r--r-- root/root usr/include/mpc/streaminfo.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libmpcdec.so -> libmpcdec.so.6.1.0
lrwxrwxrwx root/root usr/lib/libmpcdec.so.6 -> libmpcdec.so.6.1.0
-rwxr-xr-x root/root usr/lib/libmpcdec.so.6.1.0
-rwxr-xr-x root/root usr/lib/libmpcdec.so

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30SrSLhn0u8pJpczo166ebtgb0zUiWJSFMtkfI5wTH7O2igJ9shAkPjGAEzdwuK9cpXlK7+2/PMprECs7Db5/Qo=
SHA256 (Pkgfile) = 8afdfb55e6ea2340c8283e567c71889126b7e343aa3646393de5758039124e69
SHA256 (.footprint) = 52032441765ce4aafd633c1abed43bded50553a14a7019879e39fbe1b003bedc
RWSagIOpLGJF320bxLCzssKXgJPMuY2reBTbzmaxyk5aF0Lf/yavfX2UpzN3Fmeeu7/w0ewCaIzIS4MtXL0LR6ixEiK1iKxxzg0=
SHA256 (Pkgfile) = 2f9a004e2254a4ce207fd48b0a27feaa42f366b485446f215981012db1259445
SHA256 (.footprint) = fb7967c7a596ff339b187b6e1c7c4b96d958ec74e66aeeed5a4ae4a77c43d3f5
SHA256 (musepack_src_r475.tar.gz) = a4b1742f997f83e1056142d556a8c20845ba764b70365ff9ccf2e3f81c427b2b

View File

@ -2,7 +2,6 @@
# URL: http://www.musepack.net/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on:
# Nice to have: libcuefile libreplaygain
name=musepack
version=1.3.0
@ -10,7 +9,7 @@ release=1
source=(https://files.musepack.net/source/${name}_src_r475.tar.gz)
build() {
cd musepack_src_r475
cd ${name}*
# disable mpcenc (broken when built against recent glibc)
# and any targets whose dependencies are not present
@ -41,7 +40,5 @@ build() {
rm -rf $PKG/usr/include/mpc/.svn
install -d "$PKG/usr/lib"
install -m 0755 libmpcdec/libmpcdec.so "$PKG/usr/lib/libmpcdec.so.6.1.0"
ln -s libmpcdec.so.6.1.0 "$PKG/usr/lib/libmpcdec.so.6"
ln -s libmpcdec.so.6.1.0 "$PKG/usr/lib/libmpcdec.so"
install -m 0755 libmpcdec/libmpcdec.so "$PKG/usr/lib/libmpcdec.so"
}

14
musepack/README Normal file
View File

@ -0,0 +1,14 @@
The musepack audio codec has not been actively developed in many years.
This port is kept as a convenience for users who have *.mpc files in
their collections and want to crop them, decode them, or play them in
apps (like moc) which do not bundle a copy of the libraries.
The encoder tool (mpcenc) has not kept up with changes in glibc, and
therefore would be broken if built on CRUX 3.7. But the statically-linked
binary available upstream (built against an older glibc) should still
work, if encoding from lossless to *.mpc is what you want to do.
Also available on the musepack project site are two optional libraries:
libreplaygain and libcuefile. If you install them before this port (under
the standard prefix /usr), then the targets mpcchap and mpcgain should
also appear in your package.