From 40e9fbe8d5e5a8b4e58c8fceb0a04724fda532d1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 8 May 2018 20:37:44 +0200 Subject: add ffmpeg libx265 support --- package/libx265/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/libx265/Makefile (limited to 'package/libx265') diff --git a/package/libx265/Makefile b/package/libx265/Makefile new file mode 100644 index 000000000..7aeeab499 --- /dev/null +++ b/package/libx265/Makefile @@ -0,0 +1,32 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= libx265 +PKG_VERSION:= 2.7 +PKG_HASH:= d5e75fa62ffe6ed49e691f8eb8ab8c1634ffcc0725dd553c6fdb4d5443b494a2 +PKG_RELEASE:= 1 +PKG_DESCR:= h265 encoding library +PKG_SECTION:= libs/video +PKG_URL:= http://x265.org +PKG_SITES:= https://bitbucket.org/multicoreware/x265/downloads/ +PKG_OPTS:= dev + +DISTFILES:= x265_${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/x265_${PKG_VERSION} +WRKSRC= ${WRKDIST}/source + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBX265,libx265,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) + +CONFIG_STYLE:= cmake +CMAKE_FLAGS+= -DENABLE_SHARED=ON -DENABLE_PIC=ON + +libx265-install: + $(INSTALL_DIR) $(IDIR_LIBX265)/usr/lib + $(CP) $(WRKINST)/usr/lib/libx265*.so* \ + $(IDIR_LIBX265)/usr/lib + +include ${ADK_TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3