Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30096 - (show annotations) (download)
Thu Oct 26 09:14:49 2017 UTC (6 years, 6 months ago) by niro
File size: 897 byte(s)
auto added: ver bump to 2.5-r1
1 # $Id$
2
3 PNAME="x265"
4 PVER="2.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=">= sys-libs/libstdc++-6.3"
13
14 SRCFILE="${PNAME}_${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}_${PVER}"
16
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 }