mpg123-1.32.0

This commit is contained in:
Ozkan Sezer
2023-09-24 08:51:02 +03:00
parent 89d671ef14
commit 2279cffc0f
241 changed files with 18940 additions and 16360 deletions

View File

@@ -58,8 +58,13 @@ txt="README COPYING NEWS"
opts="LDFLAGS=-static-libgcc"
#opts="--with-audio=win32 --disable-modules"
# Get the version for the build from configure.ac .
version=`sed -n 's/^AC_INIT([^,]*, \[\([^,]*\)\], .*$/\1/p' < configure.ac`
# Get the version for the build from version.h.
major=$(grep '#define MPG123_MAJOR' src/version.h | cut -f 3 -d ' ')
minor=$(grep '#define MPG123_MINOR' src/version.h | cut -f 3 -d ' ')
patch=$(grep '#define MPG123_PATCH' src/version.h | cut -f 3 -d ' ')
suffix=$(grep '#define MPG123_SUFFIX' src/version.h | cut -f 2 -d '"')
version="$major.$minor.$patch$suffix"
echo "Building binaries for version $version"
prepare_dir()