1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
8 PKG_HASH
:= d5e75fa62ffe6ed49e691f8eb8ab8c1634ffcc0725dd553c6fdb4d5443b494a2
10 PKG_DESCR
:= h265 encoding library
11 PKG_SECTION
:= libs
/video
12 PKG_BUILDDEP
:= cmake-host
13 PKG_URL
:= http
://x265.org
14 PKG_SITES
:= https
://bitbucket.org
/multicoreware
/x265
/downloads
/
17 DISTFILES
:= x265_
${PKG_VERSION}.
tar.gz
18 WRKDIST
= ${WRKDIR}/x265_
${PKG_VERSION}
19 WRKSRC
= ${WRKDIST}/source
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,LIBX265
,libx265
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
26 CMAKE_FLAGS
+= -DENABLE_SHARED
=ON
-DENABLE_PIC
=ON
29 $(INSTALL_DIR
) $(IDIR_LIBX265
)/usr
/lib
30 $(CP
) $(WRKINST
)/usr
/lib
/libx265
*.so
* \
31 $(IDIR_LIBX265
)/usr
/lib
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk