summaryrefslogtreecommitdiff
path: root/package/libx265
diff options
context:
space:
mode:
Diffstat (limited to 'package/libx265')
-rw-r--r--package/libx265/Makefile32
1 files changed, 32 insertions, 0 deletions
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