Magellan Linux

Contents of /trunk/extras/x265/x265-1.8-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27332 - (show annotations) (download)
Tue Dec 15 14:37:46 2015 UTC (8 years, 5 months ago) by niro
File size: 920 byte(s)
-c++11 abi toolchain rebuild
1 # $Id$
2
3 PNAME="x265"
4 PVER="1.8"
5 PBUILD="r2"
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++-5.3"
13
14 COMITID="e27327f5da35"
15
16 SRCFILE="${PVER}.tar.gz"
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/${PNAME}/get/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2SEPERATOR="\/"
28 UP2EXCLUDE=tip
29 UP2DATE="updatecmd https://bitbucket.org/multicoreware/${PNAME}/downloads | highesttarball gz"
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 }