mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
multimedia/ffmpeg010: Removed.
Nothing uses this (and maybe it's not a good idea to have it) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
ee0102d642
commit
7024257cff
5 changed files with 0 additions and 261 deletions
|
@ -1,31 +0,0 @@
|
|||
FFmpeg is a complete solution to record, convert and stream audio
|
||||
and video. It includes libavcodec, the leading audio/video codec
|
||||
library.
|
||||
|
||||
You can enable a lot of optional (not-autodetected) features by
|
||||
passing variables to the script (VAR=yes/no ./ffmpeg.SlackBuild):
|
||||
ASS=yes|no (default: no), requires libass
|
||||
BLURAY=yes|no (default: no), requires libbluray
|
||||
CELT=yes|no (default: no), requires celt
|
||||
DC1394=yes|no (default: no), requires libdc1394
|
||||
FAAC=yes|no (default: no), requires faac (creates non-redistributable binary)
|
||||
FREI0R=yes|no (default: no), requires frei0r
|
||||
GSM=yes|no (default: no), requires gsm
|
||||
LAME=yes|no (default: yes), requires lame
|
||||
OPENAL=yes|no (default: no), requires OpenAL
|
||||
OPENCORE=yes|no (default: no), requires opencore-amr
|
||||
OPENSSL=yes|no (default: no), creates non-redistributable binary
|
||||
RTMP=yes|no (default: no), requires rtmpdump
|
||||
SCHROEDINGER=yes|no (default: no), requires schroedinger
|
||||
SPEEX=yes|no (default: no), requires speex
|
||||
X264=yes|no (default: yes), requires x264
|
||||
XVID=yes|no (default: no), requires xvidcore
|
||||
|
||||
Make sure to run this script in a real root shell ("su -") and that you
|
||||
have either tetex or texlive installed.
|
||||
|
||||
All of the mentioned requirements are available from SlackBuilds.org
|
||||
|
||||
This is the 0.10.x branch, still needed by some software: you
|
||||
can't use the resulting package for software that needs ffmpeg,
|
||||
as this installs stuff in non-standard locations.
|
|
@ -1,28 +0,0 @@
|
|||
Trivial backport of 6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab
|
||||
|
||||
VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE, VP8E_USE_REFERENCE were removed
|
||||
from libvpx and the remaining values were never used here
|
||||
|
||||
diff -Nur ffmpeg-0.10.9.orig/libavcodec/libvpxenc.c ffmpeg-0.10.9/libavcodec/libvpxenc.c
|
||||
--- ffmpeg-0.10.9.orig/libavcodec/libvpxenc.c 2013-09-26 20:10:34.000000000 -0500
|
||||
+++ ffmpeg-0.10.9/libavcodec/libvpxenc.c 2016-01-09 18:23:21.957215252 -0600
|
||||
@@ -78,19 +78,11 @@
|
||||
|
||||
/** String mappings for enum vp8e_enc_control_id */
|
||||
static const char *ctlidstr[] = {
|
||||
- [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY",
|
||||
- [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
|
||||
- [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
|
||||
- [VP8E_SET_ROI_MAP] = "VP8E_SET_ROI_MAP",
|
||||
- [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
|
||||
- [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",
|
||||
[VP8E_SET_CPUUSED] = "VP8E_SET_CPUUSED",
|
||||
[VP8E_SET_ENABLEAUTOALTREF] = "VP8E_SET_ENABLEAUTOALTREF",
|
||||
[VP8E_SET_NOISE_SENSITIVITY] = "VP8E_SET_NOISE_SENSITIVITY",
|
||||
- [VP8E_SET_SHARPNESS] = "VP8E_SET_SHARPNESS",
|
||||
[VP8E_SET_STATIC_THRESHOLD] = "VP8E_SET_STATIC_THRESHOLD",
|
||||
[VP8E_SET_TOKEN_PARTITIONS] = "VP8E_SET_TOKEN_PARTITIONS",
|
||||
- [VP8E_GET_LAST_QUANTIZER] = "VP8E_GET_LAST_QUANTIZER",
|
||||
[VP8E_SET_ARNR_MAXFRAMES] = "VP8E_SET_ARNR_MAXFRAMES",
|
||||
[VP8E_SET_ARNR_STRENGTH] = "VP8E_SET_ARNR_STRENGTH",
|
||||
[VP8E_SET_ARNR_TYPE] = "VP8E_SET_ARNR_TYPE",
|
|
@ -1,173 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for ffmpeg, 0.10.x branch
|
||||
|
||||
# Written by core (eroc@linuxmail.org)
|
||||
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
# Modified by Heinz Wiesinger <pprkut@liwjatan.org>
|
||||
# Modified by Matteo Bernardini <ponce@slackbuilds.org>
|
||||
|
||||
PRGNAM=ffmpeg010
|
||||
SRCNAM=ffmpeg
|
||||
VERSION=${VERSION:-0.10.9}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# environment sanity checks
|
||||
TEXI2HTML=$(which texi2html 2>/dev/null)
|
||||
|
||||
if [ "$TEXI2HTML" = "" ]; then
|
||||
echo "Could not find texi2html! Please make sure to have tetex or texlive installed"
|
||||
echo "and that texi2html is in PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# --enable-runtime-cpu is meant for libswscale only and
|
||||
# has no influence on the other parts of ffmpeg so there's
|
||||
# not really a point in bothering
|
||||
PKGARCH=$(uname -m)_custom
|
||||
|
||||
# Configure ffmpeg features not autodetected by default
|
||||
# Unfortunately ffmpeg's configure doesn't support --enable-feature=yes
|
||||
# syntax, so we have to do it the complicated way :/
|
||||
|
||||
libcelt="" ; [ "${CELT:-no}" != "no" ] && libcelt="--enable-libcelt"
|
||||
libdc1394="" ; [ "${DC1394:-no}" != "no" ] && libdc1394="--enable-libdc1394"
|
||||
libfrei0r="" ; [ "${FREI0R:-no}" != "no" ] && libfrei0r="--enable-frei0r"
|
||||
libgsm="" ; [ "${GSM:-no}" != "no" ] && libgsm="--enable-libgsm"
|
||||
librtmp="" ; [ "${RTMP:-no}" != "no" ] && librtmp="--enable-librtmp"
|
||||
dirac_fast="" ; [ "${SCHROEDINGER:-no}" != "no" ] && dirac_fast="--enable-libschroedinger"
|
||||
libspeex="" ; [ "${SPEEX:-no}" != "no" ] && libspeex="--enable-libspeex"
|
||||
libvpx="" ; [ "${VPX:-no}" != "no" ] && libvpx="--enable-libvpx"
|
||||
libxvid="" ; [ "${XVID:-no}" != "no" ] && libxvid="--enable-libxvid"
|
||||
libbluray="" ; [ "${BLURAY:-no}" != "no" ] && libbluray="--enable-libbluray"
|
||||
libass="" ; [ "${ASS:-no}" != "no" ] && libass="--enable-libass"
|
||||
libopenal="" ; [ "${OPENAL:-no}" != "no" ] && libopenal="--enable-openal"
|
||||
|
||||
opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \
|
||||
opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb"
|
||||
libfaac="" ; [ "${FAAC:-no}" != "no" ] && \
|
||||
{ libfaac="--enable-libfaac" ; non_free="--enable-nonfree" ; }
|
||||
ssl="" ; [ "${OPENSSL:-no}" != "no" ] && \
|
||||
{ ssl="--enable-openssl" ; non_free="--enable-nonfree" ; }
|
||||
|
||||
mp3lame="--enable-libmp3lame" ; [ "${LAME:-yes}" != "yes" ] && mp3lame=""
|
||||
libx264="--enable-libx264" ; [ "${X264:-yes}" != "yes" ] && libx264=""
|
||||
|
||||
# opencv support is currently broken: http://code.opencv.org/issues/1925
|
||||
#libopencv="" ; [ "${OPENCV:-no}" != "no" ] && libopencv="--enable-libopencv"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
sed -i 's,-lopenjpeg,-lopenmj2,' configure
|
||||
|
||||
patch -p1 < $CWD/ffmpeg-libvpxenc-remove-some-unused-ctrl-id-mappings.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \
|
||||
CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--incdir=/usr/include/$PRGNAM \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \
|
||||
--shlibdir=/usr/lib${LIBDIRSUFFIX}/$PRGNAM \
|
||||
--datadir=/usr/share/$PRGNAM \
|
||||
--progs-suffix=010 \
|
||||
--mandir=/usr/man \
|
||||
--disable-debug \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-pthreads \
|
||||
--enable-libtheora \
|
||||
--enable-libvorbis \
|
||||
--enable-gpl \
|
||||
--enable-version3 \
|
||||
--enable-postproc \
|
||||
--enable-swscale \
|
||||
--enable-x11grab \
|
||||
--enable-avfilter \
|
||||
--enable-gnutls \
|
||||
--enable-libopenjpeg \
|
||||
--enable-libvpx \
|
||||
--arch=$ARCH \
|
||||
$libdc1394 \
|
||||
$mp3lame \
|
||||
$libfaac \
|
||||
$libxvid \
|
||||
$libx264 \
|
||||
$libspeex \
|
||||
$dirac_fast \
|
||||
$non_free \
|
||||
$libgsm \
|
||||
$librtmp \
|
||||
$opencore_amr \
|
||||
$libfrei0r \
|
||||
$libcelt \
|
||||
$libbluray \
|
||||
$libass \
|
||||
$libopenal \
|
||||
$ssl
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
make install-man DESTDIR=$PKG
|
||||
|
||||
mv $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
|
||||
( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
|
||||
for i in avfilter avcodec swresample avutil avdevice postproc avformat swscale; do
|
||||
mv lib${i}.pc lib${i}010.pc
|
||||
done )
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
|
||||
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man/man1
|
||||
for i in play mpeg server probe; do mv ff${i}.1 ff${i}010.1; done )
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a Changelog COPYING* CREDITS INSTALL LICENSE MAINTAINERS README RELEASE \
|
||||
VERSION doc/RELEASE_NOTES doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="ffmpeg010"
|
||||
VERSION="0.10.9"
|
||||
HOMEPAGE="http://www.ffmpeg.org"
|
||||
DOWNLOAD="http://ffmpeg.org/releases/ffmpeg-0.10.9.tar.bz2"
|
||||
MD5SUM="6d2bf390f21dd26c2dd972e62082250a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README% lame x264"
|
||||
MAINTAINER="Matteo Bernardini"
|
||||
EMAIL="ponce@slackbuilds.org"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
ffmpeg010: FFmpeg (Software to record, convert and stream audio and video)
|
||||
ffmpeg010:
|
||||
ffmpeg010: FFmpeg is a complete solution to record, convert and stream audio
|
||||
ffmpeg010: and video. It includes libavcodec, the leading audio/video codec
|
||||
ffmpeg010: library. FFmpeg is developed under Linux, but it can compiled
|
||||
ffmpeg010: under most operating systems, including Windows.
|
||||
ffmpeg010: This is the 0.11.x branch, still needed by some software.
|
||||
ffmpeg010:
|
||||
ffmpeg010: Homepage: http://ffmpeg.org
|
||||
ffmpeg010:
|
||||
ffmpeg010:
|
Loading…
Reference in a new issue