srcpkgs: declare libGL/GLES/EGL as virtual pkgs and update pkgs.

virtualpkgs should be declared as "virtual?foo".

This makes "./xbps-src show-build-deps" suceed on pkgs
that had `depends="libGL"`.
This commit is contained in:
Juan RP 2020-04-06 21:07:44 +02:00
parent 6f6cb68121
commit f8eae3a419
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368
9 changed files with 12 additions and 9 deletions

View File

@ -33,3 +33,6 @@ smtp-server opensmtpd
texlive texlive-bin
xserver-abi-input xorg-server
xserver-abi-video xorg-server
libGL libglvnd
libEGL libglvnd
libGLES libglvnd

View File

@ -12,7 +12,7 @@ hostmakedepends="pkg-config unzip"
makedepends="SDL2-devel fontconfig-devel freetype-devel libzip-devel
libpng-devel speexdsp-devel jansson-devel icu-devel zlib-devel
$(vopt_if multiplayer libcurl-devel) $(vopt_if multiplayer libressl-devel)"
depends="libGL OpenRCT2-data"
depends="OpenRCT2-data"
short_desc="Open source re-implementation of RollerCoaster Tycoon 2"
maintainer="klardotsh <josh@klar.sh>"
license="GPL-3.0-or-later"

View File

@ -34,7 +34,7 @@ esac
if [ "$build_option_opengl" ]; then
# libGL.so.1 is dynamically loaded with dlopen.
shlib_requires="libGL.so.1"
depends="libGL"
depends="virtual?libGL"
fi
SDL-devel_package() {

View File

@ -38,7 +38,7 @@ if [ "$build_option_gles" ]; then
configure_args+=" --enable-video-opengles"
# libGLESv2.so.2 is dynamically loaded with dlopen.
shlib_requires="libGLESv2.so.2"
depends+=" libGLES"
depends+=" virtual?libGLES"
else
configure_args+=" --disable-video-opengles"
fi
@ -54,7 +54,7 @@ fi
if [ "$build_option_opengl" ]; then
# libGL.so.1 is dynamically loaded with dlopen.
shlib_requires+=" libGL.so.1"
depends+=" libGL"
depends+=" virtual?libGL"
configure_args+=" --enable-video-opengl"
else
configure_args+=" --disable-video-opengl"

View File

@ -9,7 +9,7 @@ hostmakedepends="pkg-config"
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel"
# libGL.so is dlopen()ed.
depends="libGL"
depends="virtual?libGL"
short_desc="Portable library mainly aimed at video game and multimedia programming"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Allegro"

View File

@ -10,7 +10,7 @@ makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel
libjpeg-turbo-devel libtheora-devel freetype-devel libflac-devel physfs-devel
libopenal-devel gtk+-devel"
depends="libGL"
depends="virtual?libGL"
short_desc="Portable library mainly aimed at video game and multimedia programming"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Allegro License (MIT alike)"

View File

@ -5,7 +5,7 @@ revision=1
_urlver=${version#*.}
archs="x86_64"
create_wrksrc=yes
depends="gtk+ SDL SDL_ttf SDL_image libGL glu"
depends="gtk+ SDL SDL_ttf SDL_image virtual?libGL glu"
short_desc="Control a dwarven outpost in a randomly generated world"
maintainer="Robert Stancil <robert.stancil@mavs.uta.edu>"
license="custom: Proprietary"

View File

@ -8,7 +8,7 @@ configure_args="-DSYSTEM_DATA_DIR=/usr/share -DDEBUG=OFF -DBREAKPAD=OFF"
hostmakedepends="pkg-config python"
makedepends="SDL_image-devel SDL_mixer-devel freealut-devel
gd-devel libcurl-devel libvorbis-devel libxml2-devel libzip-devel"
depends="openlierox-data libGL python"
depends="openlierox-data virtual?libGL python"
short_desc="Addictive real-time excessive Worms-clone"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"

View File

@ -4,7 +4,7 @@ version=147.9
revision=1
archs="x86_64"
build_style=fetch
depends="libgcc libGL libglib-static libSM libsndio libstdc++ libX11 libXxf86vm"
depends="libgcc virtual?libGL libglib-static libSM libsndio libstdc++ libX11 libXxf86vm"
short_desc="Low latency proprietary game streaming application"
maintainer="Kozova1 <mug66kk@gmail.com>"
license="Proprietary"