Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
142 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,21 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) | ||
# Copyright (C) 2018-present Team CoreELEC (https://coreelec.org) | ||
|
||
PKG_NAME="libamcodec" | ||
PKG_ARCH="arm aarch64" | ||
PKG_LICENSE="other" | ||
PKG_VERSION="5fa8d401f3d00e7cc0e0b34bf19a0d6a51561603" | ||
PKG_SHA256="1dfede5dee6c112170327c31d164c776e464aac3abfb3bc4e0cafd0c75ab12ef" | ||
PKG_LICENSE="proprietary" | ||
PKG_SITE="http://openlinux.amlogic.com" | ||
case $TARGET_KERNEL_ARCH in | ||
arm) | ||
PKG_VERSION="5e23a81" | ||
PKG_SHA256="412cfafbd9725f5186b884b9599ff6561d2031b44d9873e79d377631a2b5f9b9" | ||
PKG_URL="https://github.com/codesnake/libamcodec/archive/$PKG_VERSION.tar.gz" | ||
;; | ||
arm64) | ||
PKG_VERSION="bb19db7" | ||
PKG_SHA256="81f78b37f2c14313b68cad5c43237dc3a217afaaad4f41e07a840e26673309c4" | ||
PKG_URL="https://github.com/surkovalex/libamcodec/archive/$PKG_VERSION.tar.gz" | ||
;; | ||
esac | ||
PKG_DEPENDS_TARGET="toolchain alsa-lib" | ||
PKG_URL="https://github.com/CoreELEC/libamcodec/archive/$PKG_VERSION.tar.gz" | ||
PKG_DEPENDS_TARGET="toolchain" | ||
PKG_LONGDESC="libamplayer: Interface library for Amlogic media codecs" | ||
|
||
post_unpack() { | ||
sed -e "s|-lamadec||g" -i $PKG_BUILD/amcodec/Makefile | ||
} | ||
PKG_TOOLCHAIN="manual" | ||
|
||
make_target() { | ||
mkdir -p $SYSROOT_PREFIX/usr/lib | ||
make -C amcodec HEADERS_DIR="$SYSROOT_PREFIX/usr/include/amcodec" PREFIX="$SYSROOT_PREFIX/usr" install | ||
cp -PR * $SYSROOT_PREFIX | ||
} | ||
|
||
makeinstall_target() { | ||
mkdir -p $INSTALL/usr/lib | ||
make -C amcodec HEADERS_DIR="$INSTALL/usr/include/amcodec" PREFIX="$INSTALL/usr" install | ||
cp -PR * $INSTALL | ||
} |
119 changes: 0 additions & 119 deletions
119
packages/multimedia/libamcodec/patches/codec_ctrl-added-codec_get_vdec_info.patch
This file was deleted.
Oops, something went wrong.