Update package version to 1.2.15
This commit is contained in:
@@ -1,8 +1,17 @@
|
|||||||
name: alsa-lib
|
name: alsa-lib
|
||||||
description: The Advanced Linux Sound Architecture
|
description: The Advanced Linux Sound Architecture
|
||||||
version: 1.2.14
|
version: 1.2.15
|
||||||
|
revision: 1
|
||||||
url: https://www.alsa-project.org/wiki/Main_Page
|
url: https://www.alsa-project.org/wiki/Main_Page
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- glibc
|
||||||
|
make_depends:
|
||||||
|
- bzip2
|
||||||
|
downloads:
|
||||||
|
- url: https://www.alsa-project.org/files/pub/lib/alsa-lib-${BPM_PKG_VERSION}.tar.bz2
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 83770841585e766a60c99fd23f8c574c22643ae0cb1f2d20b793c3d84eb95a8d
|
||||||
|
|||||||
@@ -2,25 +2,14 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://www.alsa-project.org/files/pub/lib/alsa-lib-${BPM_PKG_VERSION}.tar.bz2"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
|
||||||
# This function is used for downloading files and putting them into the correct location
|
|
||||||
prepare() {
|
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
|
||||||
# Remove test that fails with GCC-15
|
|
||||||
sed -i 's/playmidi1//' test/Makefile.am
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
# Prevent overlinking due to libtool
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user