Magellan Linux

Annotation of /trunk/extras/x265/x265-2.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30335 - (hide annotations) (download)
Mon Dec 4 14:34:58 2017 UTC (6 years, 5 months ago) by niro
File size: 898 byte(s)
-fixed SRCDIR
1 niro 30334 # $Id$
2    
3     PNAME="x265"
4     PVER="2.6"
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++-6.3"
13    
14     SRCFILE="${PNAME}_${PVER}.tar.gz"
15 niro 30335 SRCDIR="${BUILDDIR}/${PNAME}_v${PVER}"
16 niro 30334
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     }