forked from libretro/Lakka-LibreELEC
b28a019e09
cmake defaults the install directory to /usr/local on UNIX. - https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX.html This results is the x265.pc file located in /usr/local/lib/pkgconfig instead of /usr/lib/pkgconfig and not being found when pkg-config is called.
19 lines
624 B
Makefile
19 lines
624 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="x265"
|
|
PKG_VERSION="3.5"
|
|
PKG_SHA256="7ebc5d2de6ce5dfefb434e422e59a0c4715fe939c784ac2f3d41af5775adc706"
|
|
PKG_ARCH="x86_64"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://www.videolan.org/developers/x265.html"
|
|
PKG_URL="https://bitbucket.org/multicoreware/x265_git/get/${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="x265 is a H.265/HEVC video encoder application library"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
pre_configure_target() {
|
|
LDFLAGS+=" -ldl"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -G "Unix Makefiles" ./source
|
|
}
|