2023-02-27 15:49:10 +03:00
|
|
|
distributable:
|
|
|
|
url: https://prdownloads.sourceforge.net/project/lame/lame/{{version.raw}}/lame-{{version.raw}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://sourceforge.net/projects/lame/files/lame/
|
|
|
|
match: /lame-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /lame-/
|
|
|
|
- /.tar.gz/
|
2023-02-27 15:49:10 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/lame
|
|
|
|
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
# Fix for Undefined symbols ... "_lame_init_old"
|
|
|
|
# https://sourceforge.net/p/lame/mailman/message/36081038/
|
|
|
|
sed -i.bak "/lame_init_old/d" include/libmp3lame.sym
|
|
|
|
|
|
|
|
./configure --prefix={{prefix}} \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-nasm
|
|
|
|
make install
|
2023-03-05 02:17:32 +03:00
|
|
|
env:
|
|
|
|
linux/x86-64:
|
|
|
|
CFLAGS: -fPIC
|
|
|
|
CXXFLAGS: -fPIC
|
|
|
|
LDFLAGS: -pie
|
2023-02-27 15:49:10 +03:00
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
test: lame --genre-list
|