Skip to content
Permalink
78dd9607cc
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
`cc` is the generic command for the compiler, and uses the default one,
which might be Clang on some systems.
2 contributors

Users who have contributed to this file

@pmenzel @david
executable file 67 lines (52 sloc) 1.61 KB
#!/usr/bin/env beesh
# BEE_VERSION ffmpeg-3.1.4-0
SRCURL[0]="https://ffmpeg.org/releases/ffmpeg-${PKGVERSION}.tar.bz2"
# BEE_BUILDTYPE=autotools
# PATCHURL+=()
# EXCLUDE+=()
# build_in_sourcedir
# sourcesubdir_append src
###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
sed -i 's/-lflite"/-lflite -lasound"/' ${S}/configure
start_cmd ${S}/configure \
--prefix=${PREFIX} \
--enable-gpl \
--enable-version3 \
--disable-static \
--enable-shared \
--disable-debug \
--enable-libass \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-x11grab \
--docdir=${DOCDIR}
}
mee_build() {
bee_build
cc ${B}/tools/qt-faststart.c -o ${B}/tools/qt-faststart
}
mee_install() {
bee_install
install -v -m755 -d ${D}/${BINDIR}
install -v -m755 ${B}/{tools/qt-faststart,ffmpeg,ffplay,ffprobe,ffserver} ${D}/${BINDIR}
install -v -m755 -d ${D}${DOCDIR}
install -v -m644 ${B}/doc/*.txt ${D}${DOCDIR}
}
## by default this may be 'make install DESTDIR="${D}"'