Skip to content

Commit

Permalink
vlc: Update version from 2.2.6 to 3.0.0
Browse files Browse the repository at this point in the history
Add patch to fix `SSIZE_MAX` build issue in 3.0.1, and [patch the source
to build with Lua 5.3.3][1].

[1]: http://www.linuxfromscratch.org/blfs/view/svn/multimedia/vlc.html
  • Loading branch information
pmenzel committed Feb 19, 2018
1 parent 82fce50 commit e096c53
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions vlc.be0
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env beesh

# BEE_VERSION vlc-2.2.6-0
# BEE_VERSION vlc-3.0.0-0

SRCURL[0]="https://download.videolan.org/pub/videolan/vlc/${PKGVERSION}/vlc-${PKGVERSION}.tar.xz"

PATCHURL[0]="http://www.linuxfromscratch.org/patches/blfs/svn/vlc-2.2.6-ffmpeg3-1.patch"
# http://git.videolan.org/?p=vlc.git;a=commitdiff;h=8311cdc09fa06a192cc5ca34368d2116e57bb936
PATCHURL+=(/src/mariux/patches/vlc.git-8311cdc09fa06a192cc5ca34368d2116e57bb936.patch)

# EXCLUDE+=()

Expand All @@ -17,13 +18,14 @@ PATCHURL[0]="http://www.linuxfromscratch.org/patches/blfs/svn/vlc-2.2.6-ffmpeg3-
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
bee_patch "${@}"
start_cmd sed -i '/luaL_checkint(/s/checkint/checkinteger/' modules/lua/{demux,libs/*}.c
}

mee_configure() {
CFLAGS="-DLUA_COMPAT_5_1" \
bee_configure --disable-atmo
BUILDCC=gcc \
bee_configure
}

mee_build() {
Expand Down

0 comments on commit e096c53

Please sign in to comment.