Magellan Linux

Contents of /branches/R11-stable/extras/x265/x265-1.3-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22954 - (show annotations) (download)
Tue Oct 28 09:19:20 2014 UTC (9 years, 6 months ago) by niro
File size: 880 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="x265"
4 PVER="1.3"
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=">= virtual/glibc"
13
14 SRCFILE="${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/multicoreware-x265-c1e4fc0162c1"
16
17 sminclude cmake multilib yasm
18 msetfeature "!check" # no check target in Makefile
19
20 SRC_URI=(
21 https://bitbucket.org/multicoreware/x265/get/1.3.tar.bz2
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2SEPERATOR="\/"
26 UP2EXCLUDE=tip
27 UP2DATE="updatecmd https://bitbucket.org/multicoreware/x265/downloads | highesttarball"
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 }