mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -2,11 +2,11 @@
|
|||
port=ffmpeg
|
||||
version=4.4
|
||||
useconfigure=true
|
||||
depends="libiconv libtiff xz bzip"
|
||||
depends=("libiconv" "libtiff" "xz" "bzip")
|
||||
files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz a4abede145de22eaf233baa1726e38e137f5698d9edd61b5763cd02b883f3c7c"
|
||||
auth_type="sha256"
|
||||
installopts="INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
configopts="SRC_PATH=."
|
||||
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
configopts=("SRC_PATH=.")
|
||||
|
||||
configure() {
|
||||
run ./configure \
|
||||
|
@ -18,7 +18,7 @@ configure() {
|
|||
}
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
|
||||
for lib in libavcodec libavdevice libavfilter libavformat libavutil; do
|
||||
${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.so -Wl,-soname,${lib}.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.a -Wl,--no-whole-archive -liconv -ltiff -llzma -lbz2
|
||||
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/$lib.la
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue