1 |
commit: 584c0731c8acb1a7822d7664164360f02ac90646 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 09:04:23 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 09:19:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=584c0731 |
7 |
|
8 |
x11-misc/virtualgl: Drop 2.5.2 (r0) |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
x11-misc/virtualgl/virtualgl-2.5.2.ebuild | 88 ------------------------------- |
14 |
1 file changed, 88 deletions(-) |
15 |
|
16 |
diff --git a/x11-misc/virtualgl/virtualgl-2.5.2.ebuild b/x11-misc/virtualgl/virtualgl-2.5.2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 7b5b05a5b7c..00000000000 |
19 |
--- a/x11-misc/virtualgl/virtualgl-2.5.2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,88 +0,0 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
-inherit cmake-multilib flag-o-matic multilib systemd |
27 |
- |
28 |
-DESCRIPTION="Run OpenGL applications remotely with full 3D hardware acceleration" |
29 |
-HOMEPAGE="http://www.virtualgl.org/" |
30 |
- |
31 |
-MY_PN="VirtualGL" |
32 |
-MY_P="${MY_PN}-${PV}" |
33 |
-S="${WORKDIR}/${MY_P}" |
34 |
-SRC_URI="mirror://sourceforge/${PN}/files/${PV}/${MY_P}.tar.gz" |
35 |
- |
36 |
-SLOT="0" |
37 |
-LICENSE="LGPL-2.1 wxWinLL-3.1 FLTK" |
38 |
-KEYWORDS="amd64 ~arm64 x86" |
39 |
-IUSE="libressl ssl" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- ssl? ( |
43 |
- !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) |
44 |
- libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) |
45 |
- ) |
46 |
- media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] |
47 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
48 |
- x11-libs/libXext[${MULTILIB_USEDEP}] |
49 |
- x11-libs/libXv[${MULTILIB_USEDEP}] |
50 |
- virtual/glu[${MULTILIB_USEDEP}] |
51 |
- virtual/opengl[${MULTILIB_USEDEP}] |
52 |
- amd64? ( abi_x86_32? ( |
53 |
- >=media-libs/libjpeg-turbo-1.3.0-r3[abi_x86_32] |
54 |
- >=x11-libs/libX11-1.6.2[abi_x86_32] |
55 |
- >=x11-libs/libXext-1.3.2[abi_x86_32] |
56 |
- >=x11-libs/libXv-1.0.10[abi_x86_32] |
57 |
- >=virtual/glu-9.0-r1[abi_x86_32] |
58 |
- >=virtual/opengl-7.0-r1[abi_x86_32] |
59 |
- ) ) |
60 |
-" |
61 |
-DEPEND="${RDEPEND}" |
62 |
- |
63 |
-src_prepare() { |
64 |
- # Use /var/lib, bug #428122 |
65 |
- sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \ |
66 |
- server/vglrun.in server/vglgenkey server/vglserver_config || die |
67 |
- |
68 |
- cmake-utils_src_prepare |
69 |
-} |
70 |
- |
71 |
-src_configure() { |
72 |
- # Completely breaks steam/wine for discrete graphics otherwise |
73 |
- # see https://github.com/VirtualGL/virtualgl/issues/16 |
74 |
- append-ldflags "-Wl,--no-as-needed" |
75 |
- |
76 |
- abi_configure() { |
77 |
- local mycmakeargs=( |
78 |
- -DVGL_USESSL="$(usex ssl)" |
79 |
- -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/"${PF}" |
80 |
- -DTJPEG_INCLUDE_DIR=/usr/include |
81 |
- -DCMAKE_INSTALL_LIBDIR=/usr/$(get_libdir) |
82 |
- -DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so |
83 |
- -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir) |
84 |
- ) |
85 |
- cmake-utils_src_configure |
86 |
- } |
87 |
- multilib_parallel_foreach_abi abi_configure |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- cmake-multilib_src_install |
92 |
- |
93 |
- # Make config dir |
94 |
- dodir /var/lib/VirtualGL |
95 |
- fowners root:video /var/lib/VirtualGL |
96 |
- fperms 0750 /var/lib/VirtualGL |
97 |
- newinitd "${FILESDIR}/vgl.initd-r3" vgl |
98 |
- newconfd "${FILESDIR}/vgl.confd-r2" vgl |
99 |
- |
100 |
- exeinto /usr/libexec |
101 |
- doexe "${FILESDIR}/vgl-helper.sh" |
102 |
- systemd_dounit "${FILESDIR}/vgl.service" |
103 |
- |
104 |
- # Rename glxinfo to vglxinfo to avoid conflict with x11-apps/mesa-progs |
105 |
- mv "${D}"/usr/bin/{,v}glxinfo || die |
106 |
- |
107 |
- # Remove license files, bug 536284 |
108 |
- rm "${D}"/usr/share/doc/${PF}/{LGPL.txt*,LICENSE*} || die |
109 |
-} |