1 |
commit: f206af56da582dbe660f3a7358dee6572b498246 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 21 15:25:01 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 21 16:05:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f206af56 |
7 |
|
8 |
x11-libs/libva: Switch to release tarball |
9 |
|
10 |
Makes eautoreconf unnecessary. |
11 |
|
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
x11-libs/libva/Manifest | 2 +- |
16 |
x11-libs/libva/libva-2.4.0.ebuild | 37 ++++++++++++++++++------------------- |
17 |
x11-libs/libva/libva-9999.ebuild | 5 ++--- |
18 |
3 files changed, 21 insertions(+), 23 deletions(-) |
19 |
|
20 |
diff --git a/x11-libs/libva/Manifest b/x11-libs/libva/Manifest |
21 |
index e7511875285..98c2c3ba9dc 100644 |
22 |
--- a/x11-libs/libva/Manifest |
23 |
+++ b/x11-libs/libva/Manifest |
24 |
@@ -3,4 +3,4 @@ DIST libva-1.8.3.tar.gz 186915 BLAKE2B 10713e3bd7aaefc033490fc9ef6485ec50774f274 |
25 |
DIST libva-2.1.0.tar.gz 214894 BLAKE2B 0e29d3de915ce44d90ac96bc2ead73725efc34163da92da7d8791547d6ca2fd407319093fee89bce5b26b26818cc0131cc0c7f3cd4f511e3f847e3fd2cf1dff3 SHA512 dd4c901f9c75d03fa45b32af5ca08ba24ef68d354ad26ad53d0f87d3290bee152eed9e61b4dd4116c2d15baf0c74f2d37996d08f007d485c57af5e8d9648eb82 |
26 |
DIST libva-2.2.0.tar.gz 218971 BLAKE2B c715f5f94cf25bcdf03be9ddeeb390fc073fe3fc7cea324e2f6da9bea490b14a99c41cf5f74d89fa3847c1357297d2c6faa877e76dce470319f532dc76d36f8a SHA512 0b026c99be2600a56833377a1cfd8efb736862dee942576d4d360b9844ace1efb21a2f1b9b1c2fabbbe4a9c483af24e47f31dd07516816acc8fa72e207f8cad4 |
27 |
DIST libva-2.3.0.tar.gz 222152 BLAKE2B 235cb4ba79eeac334163e32b51313f74506e54a7ca5693b81a2bf00eff1d5204ba630e32028dc02fb47268772d12032471d7d6d47e189318230e8a52cc940fcc SHA512 b328e7426bd5fb33a4ed4817d7a33fb104b1f524f5ca83f60349df66cff22e9cd46d40238d29d5bf527f32c7da153088525e43d50454832ac9b4b7fe0be40692 |
28 |
-DIST libva-2.4.0.tar.gz 223232 BLAKE2B b1d4c5c97aa1d182ffb99737daa20f110819ec47aac629b973bc5638c188d4feb0bb4d5b90abf8082a10aa02b2bf2bfb1773971326e9d4e4ec9b983e6a817a37 SHA512 1f59549574ddc72c0e0a3d8024e252342be49c6166fa73ce855cdff42008c5fd2c9e9383adb16247df84c542ef1ae8742053560d860711f8d63fbab813a9c663 |
29 |
+DIST libva-2.4.0.tar.bz2 455989 BLAKE2B 740460b5e23fc09dbb4de61dbe6c7d3820032d54d0ff9895d0a5e3235362e559e50d5349eab4c907367cef101f367256a9da3cf3a87526c444450f830b0ac4d6 SHA512 67373e20932bca0d52cd8f48ed10c1f01752be73642ad4d2c85dcee813dccf205c8ca62fdc69fb3f4f83a685e2a8ef2c6646174e3453a8f5763cac16a58321c3 |
30 |
|
31 |
diff --git a/x11-libs/libva/libva-2.4.0.ebuild b/x11-libs/libva/libva-2.4.0.ebuild |
32 |
index 320f6768097..7de898cf6aa 100644 |
33 |
--- a/x11-libs/libva/libva-2.4.0.ebuild |
34 |
+++ b/x11-libs/libva/libva-2.4.0.ebuild |
35 |
@@ -3,55 +3,54 @@ |
36 |
|
37 |
EAPI=5 |
38 |
|
39 |
-SCM="" |
40 |
-if [[ "${PV%9999}" != "${PV}" ]] ; then # Live ebuild |
41 |
- SCM=git-r3 |
42 |
+if [[ ${PV} = *9999* ]] ; then # Live ebuild |
43 |
+ inherit git-r3 |
44 |
EGIT_BRANCH=master |
45 |
EGIT_REPO_URI="https://github.com/intel/libva" |
46 |
+ AUTOTOOLS_AUTORECONF="yes" |
47 |
fi |
48 |
- |
49 |
-AUTOTOOLS_AUTORECONF="yes" |
50 |
-inherit autotools-multilib ${SCM} multilib versionator |
51 |
+inherit autotools-multilib eapi7-ver multilib |
52 |
|
53 |
DESCRIPTION="Video Acceleration (VA) API for Linux" |
54 |
HOMEPAGE="https://01.org/linuxmedia/vaapi" |
55 |
-if [[ "${PV%9999}" != "${PV}" ]] ; then # Live ebuild |
56 |
- SRC_URI="" |
57 |
-else |
58 |
- SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" |
59 |
+ |
60 |
+if [[ ${PV} != *9999* ]] ; then |
61 |
+ SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
62 |
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
63 |
fi |
64 |
|
65 |
LICENSE="MIT" |
66 |
-SLOT="0/$(get_version_component_range 1)" |
67 |
-IUSE="+drm opengl vdpau wayland X utils" |
68 |
+SLOT="0/$(ver_cut 1)" |
69 |
+IUSE="+drm opengl utils vdpau wayland X" |
70 |
|
71 |
VIDEO_CARDS="nvidia intel i965 nouveau" |
72 |
for x in ${VIDEO_CARDS}; do |
73 |
IUSE+=" video_cards_${x}" |
74 |
done |
75 |
|
76 |
-RDEPEND=">=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] |
77 |
+RDEPEND=" |
78 |
+ >=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}] |
79 |
+ opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) |
80 |
+ wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] ) |
81 |
X? ( |
82 |
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
83 |
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
84 |
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}] |
85 |
) |
86 |
- opengl? ( >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] ) |
87 |
- wayland? ( >=dev-libs/wayland-1.11[${MULTILIB_USEDEP}] )" |
88 |
- |
89 |
+" |
90 |
DEPEND="${RDEPEND} |
91 |
- virtual/pkgconfig" |
92 |
+ virtual/pkgconfig |
93 |
+" |
94 |
PDEPEND="video_cards_nvidia? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) |
95 |
video_cards_nouveau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r3[${MULTILIB_USEDEP}] ) |
96 |
vdpau? ( >=x11-libs/libva-vdpau-driver-0.7.4-r1[${MULTILIB_USEDEP}] ) |
97 |
video_cards_intel? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) |
98 |
video_cards_i965? ( >=x11-libs/libva-intel-driver-2.0.0[${MULTILIB_USEDEP}] ) |
99 |
utils? ( media-video/libva-utils ) |
100 |
- " |
101 |
+" |
102 |
|
103 |
REQUIRED_USE="|| ( drm wayland X ) |
104 |
- opengl? ( X )" |
105 |
+ opengl? ( X )" |
106 |
|
107 |
DOCS=( NEWS ) |
108 |
|
109 |
|
110 |
diff --git a/x11-libs/libva/libva-9999.ebuild b/x11-libs/libva/libva-9999.ebuild |
111 |
index 5fa3a627492..7de898cf6aa 100644 |
112 |
--- a/x11-libs/libva/libva-9999.ebuild |
113 |
+++ b/x11-libs/libva/libva-9999.ebuild |
114 |
@@ -7,16 +7,15 @@ if [[ ${PV} = *9999* ]] ; then # Live ebuild |
115 |
inherit git-r3 |
116 |
EGIT_BRANCH=master |
117 |
EGIT_REPO_URI="https://github.com/intel/libva" |
118 |
+ AUTOTOOLS_AUTORECONF="yes" |
119 |
fi |
120 |
- |
121 |
-AUTOTOOLS_AUTORECONF="yes" |
122 |
inherit autotools-multilib eapi7-ver multilib |
123 |
|
124 |
DESCRIPTION="Video Acceleration (VA) API for Linux" |
125 |
HOMEPAGE="https://01.org/linuxmedia/vaapi" |
126 |
|
127 |
if [[ ${PV} != *9999* ]] ; then |
128 |
- SRC_URI="https://github.com/intel/libva/archive/${PV}.tar.gz -> ${P}.tar.gz" |
129 |
+ SRC_URI="https://github.com/intel/libva/releases/download/${PV}/${P}.tar.bz2" |
130 |
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
131 |
fi |