# $Id$ PNAME="x265" PVER="2.8" PBUILD="r1" PCAT="media-libs" DESCRIPTION="x265 is a free HEVC/H.265 video encoder library." HOMEPAGE="https://bitbucket.org/multicoreware/x265/wiki/Home" DEPEND=">= sys-libs/libstdc++-6.3" SRCFILE="${PNAME}_${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}_${PVER}" sminclude multilib cmake yasm msetfeature "!check" # no check target in Makefile SRC_URI=( https://bitbucket.org/multicoreware/${PNAME}/downloads/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR="_" UP2EXCLUDE=tip UP2DATE="updatecmd https://bitbucket.org/multicoreware/${PNAME}/downloads | highesttarball gz" # export SRCSUBDIR to get the right builddir SRCSUBDIR=source src_prepare() { munpack ${SRCFILE} || die # fix broken pkgconfig installation all-abis "sed -i 's:\${CMAKE_INSTALL_PREFIX}/\${LIB_INSTALL_DIR}/pkgconfig:\${LIB_INSTALL_DIR}/pkgconfig:g' CMakeLists.txt || die" }