From 67a6991fcfe9b1f18eeb4efb43c639b7235b25a1 Mon Sep 17 00:00:00 2001 From: cvh Date: Fri, 22 Sep 2017 12:00:29 +0200 Subject: [PATCH] ffmpegx: removed package --- .../emby-depends/ffmpegx/package.mk | 108 ------------------ 1 file changed, 108 deletions(-) delete mode 100644 packages/addons/addon-depends/emby-depends/ffmpegx/package.mk diff --git a/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk b/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk deleted file mode 100644 index c6b43c11aa..0000000000 --- a/packages/addons/addon-depends/emby-depends/ffmpegx/package.mk +++ /dev/null @@ -1,108 +0,0 @@ -################################################################################ -# This file is part of LibreELEC - https://libreelec.tv -# Copyright (C) 2016-present Team LibreELEC -# -# LibreELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# LibreELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with LibreELEC. If not, see . -################################################################################ - -PKG_NAME="ffmpegx" -PKG_VERSION="libreelec" -PKG_REV="9" -PKG_LICENSE="LGPLv2.1+" -PKG_SITE="https://ffmpeg.org" -PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264" -PKG_LONGDESC="FFmpeg built static with additional features" - -pre_configure_target() { - cd "$PKG_BUILD" - rm -rf ".$TARGET_NAME" - cp -PR $(get_build_dir ffmpeg)/* . - make clean - -# ffmpeg builds better with these options - strip_gold - strip_lto - - if [ "$KODIPLAYER_DRIVER" == "bcm2835-driver" ]; then - CFLAGS="-DRPI=1 -I$SYSROOT_PREFIX/usr/include/IL -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux $CFLAGS" - FFMPEG_LIBS="-lbcm_host -ldl -lmmal -lmmal_core -lmmal_util -lvchiq_arm -lvcos -lvcsm" - FFMPEG_RPI_HADE="--enable-mmal --enable-omx-rpi" - fi - -# ffmpeg does not build with libx264 on aarch64 - if [ "$TARGET_ARCH" != "aarch64" ]; then - FFMPEG_X264="--enable-libx264" - fi - - if [ "$TARGET_ARCH" == "arm" ]; then - FFMPEG_ARM_AO="--enable-hardcoded-tables" - fi -} - -configure_target() { - ./configure \ - \ - `#Licensing options` \ - --enable-gpl \ - --enable-nonfree \ - \ - `#Documentation options` \ - --disable-doc \ - \ - `#Hardware accelerated decoding encoding` \ - $FFMPEG_RPI_HADE \ - \ - `#External library support` \ - --enable-libmp3lame \ - $FFMPEG_X264 \ - --enable-openssl \ - \ - `#Toolchain options` \ - --arch="$TARGET_ARCH" \ - --cpu="$TARGET_CPU" \ - --cross-prefix="$TARGET_PREFIX" \ - --enable-cross-compile \ - --sysroot="$SYSROOT_PREFIX" \ - --sysinclude="$SYSROOT_PREFIX/usr/include" \ - --target-os="linux" \ - --nm="$NM" \ - --ar="$AR" \ - --as="$CC" \ - --cc="$CC" \ - --ld="$CC" \ - --pkg-config="$TOOLCHAIN/bin/pkg-config" \ - --host-cc="$HOST_CC" \ - --host-cflags="$HOST_CFLAGS" \ - --host-ldflags="$HOST_LDFLAGS" \ - --host-libs="-lm" \ - --extra-cflags="$CFLAGS" \ - --extra-ldflags="$LDFLAGS" \ - --extra-libs="$FFMPEG_LIBS" \ - --extra-version="x" \ - --enable-pic \ - \ - `#Advanced options` \ - $FFMPEG_ARM_AO \ - -} - -makeinstall_target() { - make install DESTDIR=$INSTALL -} - -post_makeinstall_target() { - for ff in $INSTALL/usr/local/bin/*; do mv $ff ${ff}x; done - rm -fr $INSTALL/usr/local/include - rm -fr $INSTALL/usr/local/share/ffmpeg/examples -}