-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from mariux64/update-ffmpeg
Showing
9 changed files
with
172 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,64 @@ | ||
#!/bin/env beesh | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION ffmpeg-2.8.5-2 | ||
# BEE_VERSION ffmpeg-3.1.4-0 | ||
|
||
SRCURL[0]="http://ffmpeg.org/releases/ffmpeg-${PKGVERSION}.tar.bz2" | ||
SRCURL[0]="https://ffmpeg.org/releases/ffmpeg-${PKGVERSION}.tar.bz2" | ||
|
||
# BEE_BUILDTYPE=autotools | ||
|
||
PATCHURL[0]="" | ||
# PATCHURL+=() | ||
|
||
# BEE_CONFIGURE=compat | ||
# EXCLUDE+=() | ||
|
||
# EXCLUDE="" | ||
# build_in_sourcedir | ||
|
||
B=${S} | ||
# 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() { | ||
./configure \ | ||
--prefix=${PREFIX} \ | ||
--enable-shared \ | ||
--enable-pthreads \ | ||
--enable-gpl \ | ||
--enable-swscale \ | ||
--enable-postproc \ | ||
--enable-libmp3lame \ | ||
--enable-libtheora \ | ||
--enable-libvorbis \ | ||
--enable-libvpx \ | ||
--enable-libx264 \ | ||
--enable-libxvid \ | ||
--enable-swscale | ||
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 | ||
} | ||
|
||
mee_build() { | ||
bee_build | ||
|
||
cc ${B}/tools/qt-faststart.c -o ${B}/tools/qt-faststart | ||
} | ||
|
||
mee_install() { | ||
set -vx | ||
env | ||
# | ||
# bee_install | ||
# mkdir $D/usr/lib/pkgconfig/ | ||
# cp $S/lib*/*.pc $D/usr/lib/pkgconfig/ | ||
|
||
make install DESTDIR=$D | ||
set +vx | ||
start_cmd make install DESTDIR=${D} | ||
|
||
install -v -m755 -d ${D}/${BINDIR} | ||
install -v -m755 ${B}/tools/qt-faststart ${D}/${BINDIR} | ||
} | ||
## by default this may be 'make install DESTDIR="${D}"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION numactl-2.0.11-0 | ||
|
||
SRCURL[0]="ftp://oss.sgi.com/www/projects/libnuma/download/numactl-${PKGVERSION}.tar.gz" | ||
|
||
PATCHURL[0]="" | ||
|
||
# BEE_CONFIGURE=compat | ||
|
||
# BEE_BUILDTYPE= | ||
|
||
# EXCLUDE=() | ||
|
||
# build_in_sourcedir | ||
|
||
|
||
|
||
|
||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
mee_configure_pre() { | ||
for i in Makefile.am Makefile.in ; do | ||
sed -i 's/move_pages.2//g' ${S}/${i} | ||
done | ||
} | ||
|
||
#mee_configure() { | ||
# bee_configure | ||
#} | ||
|
||
#mee_build() { | ||
# bee_build prefix=${PREFIX} libdir=${LIBDIR} | ||
#} | ||
|
||
#mee_install() { | ||
# bee_install prefix=${D}/${PREFIX} libdir=${D}/${LIBDIR} | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION x265-2.1-0 | ||
|
||
SRCURL="https://bitbucket.org/multicoreware/x265/downloads/x265_${PKGVERSION}.tar.gz" | ||
|
||
PATCHURL="http://www.linuxfromscratch.org/patches/blfs/svn/x265_2.1-enable_static-1.patch" | ||
|
||
# EXCLUDE+=() | ||
|
||
# build_in_sourcedir | ||
|
||
sourcesubdir_append source | ||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
|
||
mee_configure() { | ||
bee_configure -G "Unix Makefiles" \ | ||
-DENABLE_STATIC=OFF | ||
} | ||
|
||
#mee_build() { | ||
# bee_build | ||
#} | ||
|
||
#mee_install() { | ||
# bee_install | ||
#} | ||
## by default this may be 'make install DESTDIR="${D}"' | ||
|
||
############################################################################### | ||
## | ||
## Additional hints: | ||
## | ||
## The name of this bee-file should follow the following naming convention: | ||
## pkgname-pkgversion-pkgrevision.bee | ||
## | ||
## You may remove all comments as long as SRCURL[${PKGVERSION}] is set. | ||
## | ||
## Everything in this file will be executed in a bash environment. | ||
## | ||
## Build the package by executing | ||
## './pkg-version-N.bee' or | ||
## 'beesh ./pkg-version-N.bee' | ||
## | ||
## see http://beezinga.org/ | ||
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters