Magellan Linux

Annotation of /branches/R11-stable/extras/x265/x265-1.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24196 - (hide annotations) (download)
Fri Feb 20 09:21:54 2015 UTC (9 years, 2 months ago) by niro
File size: 901 byte(s)
-release branches/R11-stable
1 niro 23984 # $Id$
2    
3     PNAME="x265"
4     PVER="1.5"
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=">= virtual/glibc"
13    
14 niro 23985 COMITID="9f0324125f53"
15 niro 23984
16     SRCFILE="${PVER}.tar.bz2"
17     SRCDIR="${BUILDDIR}/multicoreware-x265-${COMITID}"
18    
19     sminclude cmake multilib yasm
20     msetfeature "!check" # no check target in Makefile
21    
22     SRC_URI=(
23     https://bitbucket.org/multicoreware/x265/get/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2SEPERATOR="\/"
28     UP2EXCLUDE=tip
29     UP2DATE="updatecmd https://bitbucket.org/multicoreware/x265/downloads | highesttarball"
30    
31     # export SRCSUBDIR to get the right builddir
32     SRCSUBDIR=source
33    
34     src_prepare()
35     {
36     munpack ${SRCFILE} || die
37    
38     # fix broken pkgconfig installation
39     all-abis "sed -i 's:\${CMAKE_INSTALL_PREFIX}/\${LIB_INSTALL_DIR}/pkgconfig:\${LIB_INSTALL_DIR}/pkgconfig:g' CMakeLists.txt || die"
40     }