Magellan Linux

Contents of /branches/R11-unstable/extras/x265/x265-2.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32370 - (show annotations) (download)
Mon Apr 29 12:22:33 2019 UTC (5 years ago) by niro
File size: 897 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="x265"
4 PVER="2.9"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="x265 is a free HEVC/H.265 video encoder library."
10 HOMEPAGE="https://bitbucket.org/multicoreware/x265/wiki/Home"
11
12 DEPEND=">= sys-libs/libstdc++-8.2"
13
14 SRCFILE="${PNAME}_${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}_${PVER}"
16
17 sminclude multilib cmake yasm
18 msetfeature "!check" # no check target in Makefile
19
20 SRC_URI=(
21 https://bitbucket.org/multicoreware/${PNAME}/downloads/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2SEPERATOR="_"
26 UP2EXCLUDE=tip
27 UP2DATE="updatecmd https://bitbucket.org/multicoreware/${PNAME}/downloads | highesttarball gz"
28
29 # export SRCSUBDIR to get the right builddir
30 SRCSUBDIR=source
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35
36 # fix broken pkgconfig installation
37 all-abis "sed -i 's:\${CMAKE_INSTALL_PREFIX}/\${LIB_INSTALL_DIR}/pkgconfig:\${LIB_INSTALL_DIR}/pkgconfig:g' CMakeLists.txt || die"
38 }