Skip to content
Permalink
1c60a0cdd3
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
 
 
Cannot retrieve contributors at this time
executable file 66 lines (51 sloc) 1.83 KB
#!/usr/bin/env beesh
# BEE_VERSION ffmpeg-3.1.4-0
SRCURL[0]="http://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
${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=${DATAROOTDIR}/doc/${PKGNAME}
}
mee_build() {
bee_build
gcc ${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}${DATAROOTDIR}/doc/${PKGNAME}
install -v -m644 ${B}/doc/*.txt ${D}${DATAROOTDIR}/doc/${PKGNAME}
}
## by default this may be 'make install DESTDIR="${D}"'