mesa: separate out libgbm-devel
This commit is contained in:
parent
5ab63bbf68
commit
2ef08aed69
|
@ -0,0 +1 @@
|
|||
mesa
|
|
@ -37,7 +37,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
# Set subpackages manually to set proper rdeps in 32bit pkgs.
|
||||
subpackages="libglapi libgbm libOSMesa"
|
||||
subpackages="libglapi libgbm libgbm-devel libOSMesa"
|
||||
|
||||
# Replace old mesa pkgs, superseded by libglvnd.
|
||||
replaces="libGL>=10_1<19.2.5_2 libEGL>=10_1<19.2.5_2 libGLES>=10_1<19.2.5_2"
|
||||
|
@ -246,6 +246,16 @@ libgbm_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libgbm-devel_package() {
|
||||
short_desc="Mesa Generic buffer management API - development files"
|
||||
depends="libgbm>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include/gbm.h
|
||||
vmove usr/lib/libgbm.so
|
||||
vmove usr/lib/pkgconfig/gbm.pc
|
||||
}
|
||||
}
|
||||
|
||||
libOSMesa_package() {
|
||||
short_desc="Mesa Off-Screen interface library"
|
||||
pkg_install() {
|
||||
|
@ -257,7 +267,7 @@ MesaLib-devel_package() {
|
|||
depends="xorgproto libxshmfence-devel libXext-devel libXxf86vm-devel
|
||||
libXdamage-devel expat-devel libXfixes-devel libX11-devel libxcb-devel
|
||||
libdrm-devel libglvnd-devel
|
||||
libOSMesa>=${version}_${revision} libgbm>=${version}_${revision}
|
||||
libOSMesa>=${version}_${revision} libgbm-devel>=${version}_${revision}
|
||||
mesa>=${version}_${revision}"
|
||||
if [ "$_have_vmware" ]; then
|
||||
depends+=" libxatracker>=${version}_${revision}"
|
||||
|
@ -272,7 +282,6 @@ MesaLib-devel_package() {
|
|||
vmove usr/lib/libEGL_mesa.so
|
||||
vmove usr/lib/libGLX_mesa.so
|
||||
vmove usr/lib/libOSMesa.so
|
||||
vmove usr/lib/libgbm.so
|
||||
vmove usr/lib/libglapi.so
|
||||
if [ "$_have_vmware" ]; then
|
||||
vmove usr/lib/libxatracker.so
|
||||
|
|
Loading…
Reference in New Issue