Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/virtualgl/
Date: Sat, 27 Jun 2020 10:48:34
Message-Id: 1593254907.0d86eb0c44d6146398a27d35cf401494f87e98b6.pacho@gentoo
1 commit: 0d86eb0c44d6146398a27d35cf401494f87e98b6
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 27 10:44:24 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 27 10:48:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d86eb0c
7
8 x11-misc/virtualgl: Drop old
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 x11-misc/virtualgl/virtualgl-2.6.3.ebuild | 105 ------------------------------
14 1 file changed, 105 deletions(-)
15
16 diff --git a/x11-misc/virtualgl/virtualgl-2.6.3.ebuild b/x11-misc/virtualgl/virtualgl-2.6.3.ebuild
17 deleted file mode 100644
18 index 223864f51a2..00000000000
19 --- a/x11-misc/virtualgl/virtualgl-2.6.3.ebuild
20 +++ /dev/null
21 @@ -1,105 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -CMAKE_ECLASS=cmake
28 -inherit cmake-multilib flag-o-matic systemd
29 -
30 -if [[ ${PV} == *9999 ]] ; then
31 - EGIT_REPO_URI="https://github.com/VirtualGL/${PN}.git"
32 - inherit git-r3
33 -else
34 - MY_PN="VirtualGL"
35 - MY_P="${MY_PN}-${PV}"
36 - S="${WORKDIR}/${MY_P}"
37 - SRC_URI="mirror://sourceforge/project/${PN}/${PV}/${MY_P}.tar.gz"
38 - KEYWORDS="~amd64 ~arm64 ~x86"
39 -fi
40 -
41 -DESCRIPTION="Run OpenGL applications remotely with full 3D hardware acceleration"
42 -HOMEPAGE="https://www.virtualgl.org/"
43 -
44 -SLOT="0"
45 -LICENSE="LGPL-2.1 wxWinLL-3.1 FLTK"
46 -IUSE="libressl ssl"
47 -
48 -RDEPEND="
49 - ssl? (
50 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
51 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
52 - )
53 - media-libs/libjpeg-turbo[${MULTILIB_USEDEP}]
54 - x11-libs/libX11[${MULTILIB_USEDEP}]
55 - x11-libs/libXext[${MULTILIB_USEDEP}]
56 - x11-libs/libXtst[${MULTILIB_USEDEP}]
57 - x11-libs/libXv[${MULTILIB_USEDEP}]
58 - virtual/glu[${MULTILIB_USEDEP}]
59 - virtual/opengl[${MULTILIB_USEDEP}]
60 - amd64? ( abi_x86_32? (
61 - >=media-libs/libjpeg-turbo-1.3.0-r3[abi_x86_32]
62 - >=x11-libs/libX11-1.6.2[abi_x86_32]
63 - >=x11-libs/libXext-1.3.2[abi_x86_32]
64 - >=x11-libs/libXtst-1.2.3[abi_x86_32]
65 - >=x11-libs/libXv-1.0.10[abi_x86_32]
66 - >=virtual/glu-9.0-r1[abi_x86_32]
67 - >=virtual/opengl-7.0-r1[abi_x86_32]
68 - ) )
69 -"
70 -DEPEND="${RDEPEND}"
71 -
72 -PATCHES=(
73 - # Fix build issue w/ Mesa 19.3.0+ headers (fixed in next version)
74 - "${FILESDIR}/${P}-mesa-19.3.patch"
75 -)
76 -
77 -src_prepare() {
78 - # Use /var/lib, bug #428122
79 - sed -e "s#/etc/opt#/var/lib#g" -i doc/unixconfig.txt doc/index.html doc/advancedopengl.txt \
80 - server/vglrun.in server/vglgenkey server/vglserver_config || die
81 -
82 - cmake_src_prepare
83 -}
84 -
85 -src_configure() {
86 - # Completely breaks steam/wine for discrete graphics otherwise
87 - # see https://github.com/VirtualGL/virtualgl/issues/16
88 - append-ldflags "-Wl,--no-as-needed"
89 -
90 - abi_configure() {
91 - local mycmakeargs=(
92 - -DVGL_USESSL="$(usex ssl)"
93 - -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/"${PF}"
94 - -DTJPEG_INCLUDE_DIR=/usr/include
95 - -DCMAKE_INSTALL_LIBDIR=/usr/$(get_libdir)/VirtualGL
96 - -DTJPEG_LIBRARY=/usr/$(get_libdir)/libturbojpeg.so
97 - -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
98 - )
99 - cmake_src_configure
100 - }
101 - multilib_parallel_foreach_abi abi_configure
102 -}
103 -
104 -src_install() {
105 - cmake-multilib_src_install
106 -
107 - # Make config dir
108 - dodir /var/lib/VirtualGL
109 - fowners root:video /var/lib/VirtualGL
110 - fperms 0750 /var/lib/VirtualGL
111 - newinitd "${FILESDIR}/vgl.initd-r3" vgl
112 - newconfd "${FILESDIR}/vgl.confd-r2" vgl
113 -
114 - exeinto /usr/libexec
115 - doexe "${FILESDIR}/vgl-helper.sh"
116 - systemd_dounit "${FILESDIR}/vgl.service"
117 -
118 - # Rename glxinfo to vglxinfo to avoid conflict with x11-apps/mesa-progs
119 - mv "${D}"/usr/bin/{,v}glxinfo || die
120 -
121 - # Remove license files, bug 536284
122 - rm "${D}"/usr/share/doc/${PF}/{LGPL.txt*,LICENSE*} || die
123 -
124 - # Directory is created if needed at runtime
125 - rm -r "${D}"/var/lib || die
126 -}