Magellan Linux

Contents of /trunk/extras/x265/x265-1.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26280 - (show annotations) (download)
Tue Jun 23 14:13:04 2015 UTC (8 years, 11 months ago) by niro
File size: 911 byte(s)
-fixed download
1 # $Id$
2
3 PNAME="x265"
4 PVER="1.7"
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 COMITID="8425278def1e"
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 }