Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/x265: x265-9999.ebuild x265-1.2.ebuild ChangeLog
Date: Sun, 27 Jul 2014 13:06:16
Message-Id: 20140727130612.EB29D2004E@flycatcher.gentoo.org
1 ssuominen 14/07/27 13:06:12
2
3 Modified: x265-9999.ebuild ChangeLog
4 Added: x265-1.2.ebuild
5 Log:
6 Version bump; update SLOT to 0/25 based on new SONAME
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.8 media-libs/x265/x265-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/x265-9999.ebuild?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/x265-9999.ebuild?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/x265-9999.ebuild?r1=1.7&r2=1.8
16
17 Index: x265-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/x265/x265-9999.ebuild,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- x265-9999.ebuild 14 Jun 2014 02:40:06 -0000 1.7
24 +++ x265-9999.ebuild 27 Jul 2014 13:06:12 -0000 1.8
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/x265-9999.ebuild,v 1.7 2014/06/14 02:40:06 floppym Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/x265-9999.ebuild,v 1.8 2014/07/27 13:06:12 ssuominen Exp $
30
31 EAPI=5
32
33 @@ -19,7 +19,7 @@
34
35 LICENSE="GPL-2"
36 # subslot = libx265 soname
37 -SLOT="0/18"
38 +SLOT="0/25"
39 IUSE="+10bit test"
40
41 ASM_DEPEND=">=dev-lang/yasm-1.2.0"
42
43
44
45 1.9 media-libs/x265/ChangeLog
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/ChangeLog?rev=1.9&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/ChangeLog?rev=1.9&content-type=text/plain
49 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/ChangeLog?r1=1.8&r2=1.9
50
51 Index: ChangeLog
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/media-libs/x265/ChangeLog,v
54 retrieving revision 1.8
55 retrieving revision 1.9
56 diff -u -r1.8 -r1.9
57 --- ChangeLog 14 Jun 2014 02:40:06 -0000 1.8
58 +++ ChangeLog 27 Jul 2014 13:06:12 -0000 1.9
59 @@ -1,6 +1,12 @@
60 # ChangeLog for media-libs/x265
61 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
62 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/ChangeLog,v 1.8 2014/06/14 02:40:06 floppym Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/ChangeLog,v 1.9 2014/07/27 13:06:12 ssuominen Exp $
64 +
65 +*x265-1.2 (27 Jul 2014)
66 +
67 + 27 Jul 2014; Samuli Suominen <ssuominen@g.o> +x265-1.2.ebuild,
68 + x265-9999.ebuild:
69 + Version bump; update SLOT to 0/25 based on new SONAME
70
71 14 Jun 2014; Mike Gilbert <floppym@g.o> x265-1.0.ebuild,
72 x265-9999.ebuild:
73
74
75
76 1.1 media-libs/x265/x265-1.2.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/x265-1.2.ebuild?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x265/x265-1.2.ebuild?rev=1.1&content-type=text/plain
80
81 Index: x265-1.2.ebuild
82 ===================================================================
83 # Copyright 1999-2014 Gentoo Foundation
84 # Distributed under the terms of the GNU General Public License v2
85 # $Header: /var/cvsroot/gentoo-x86/media-libs/x265/x265-1.2.ebuild,v 1.1 2014/07/27 13:06:12 ssuominen Exp $
86
87 EAPI=5
88
89 inherit cmake-multilib multilib flag-o-matic
90
91 if [[ ${PV} = 9999* ]]; then
92 inherit mercurial
93 EHG_REPO_URI="http://bitbucket.org/multicoreware/x265"
94 else
95 SRC_URI="https://bitbucket.org/multicoreware/x265/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
96 KEYWORDS="~amd64 ~x86"
97 fi
98
99 DESCRIPTION="Library for encoding video streams into the H.265/HEVC format"
100 HOMEPAGE="http://x265.org/"
101
102 LICENSE="GPL-2"
103 # subslot = libx265 soname
104 SLOT="0/25"
105 IUSE="+10bit test"
106
107 ASM_DEPEND=">=dev-lang/yasm-1.2.0"
108 RDEPEND=""
109 DEPEND="${RDEPEND}
110 abi_x86_32? ( ${ASM_DEPEND} )
111 abi_x86_64? ( ${ASM_DEPEND} )"
112
113 src_unpack() {
114 if [[ ${PV} = 9999* ]]; then
115 mercurial_src_unpack
116 # Can't set it at global scope due to mercurial.eclass limitations...
117 export S=${WORKDIR}/${P}/source
118 else
119 unpack ${A}
120 export S=$(echo "${WORKDIR}"/*${PN}*/source)
121 fi
122 }
123
124 multilib_src_configure() {
125 append-cflags -fPIC
126 append-cxxflags -fPIC
127 local mycmakeargs=(
128 $(cmake-utils_use_enable test TESTS)
129 $(multilib_is_native_abi || echo "-DENABLE_CLI=OFF")
130 -DHIGH_BIT_DEPTH=$(usex 10bit "ON" "OFF")
131 -DLIB_INSTALL_DIR="$(get_libdir)"
132 )
133 cmake-utils_src_configure
134 }
135
136 src_configure() {
137 multilib_parallel_foreach_abi multilib_src_configure
138 }
139
140 multilib_src_test() {
141 cd "${BUILD_DIR}/test" || die
142 for i in PoolTest TestBench ; do
143 ./${i} || die
144 done
145 }
146
147 src_test() {
148 multilib_foreach_abi multilib_src_test
149 }
150
151 src_install() {
152 cmake-multilib_src_install
153 dodoc -r "${S}/../doc/"*
154 }