Commit 39aeda35 authored by Kenneth Raplee's avatar Kenneth Raplee Committed by Gleb Popov
Browse files

graphics/libosmesa: remove port

parent 5ee59df6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5347,3 +5347,4 @@ devel/simian||2026-06-14|Has expired: does not fetch
net/pecl-oauth2|net/php-oauth|2026-06-14|Renamed to avoid confusion between implemented protocol and library version. Also, pecl repository is deprecated
graphics/mesa-gallium-va|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-dri
graphics/mesa-gallium-vdpau|graphics/mesa-dri|2026-06-15|Merged into graphics/mesa-dri
graphics/libosmesa||2026-06-15|EOLed upstream
+0 −1
Original line number Diff line number Diff line
@@ -511,7 +511,6 @@
    SUBDIR += libnsgif
    SUBDIR += libopendrive
    SUBDIR += libopenraw
    SUBDIR += libosmesa
    SUBDIR += libpano13
    SUBDIR += libpcd
    SUBDIR += libpgf

graphics/libosmesa/Makefile

deleted100644 → 0
+0 −59
Original line number Diff line number Diff line
PORTNAME=	libosmesa
PORTVERSION=	${MESAVERSION}
CATEGORIES=	graphics

COMMENT=	Off-Screen Mesa implementation of the OpenGL API
WWW=		https://www.mesa3d.org/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/docs/license.rst

BROKEN=		osmesa was removed upstream in mesa 25.1

LIB_DEPENDS+=	libglapi.so:graphics/mesa-libs

USES=		llvm:lib,noexport xorg
USE_XORG=	xorgproto
USE_LDCONFIG=	yes

.include <bsd.port.options.mk>
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"

# Disable some options
MESON_ARGS+=	-Dgallium-drivers="swrast" \
		-Dvulkan-drivers="" \
		-Dplatforms="" \
		-Dandroid-libbacktrace=disabled \
		-Dgallium-vdpau=disabled \
		-Dgallium-omx=disabled \
		-Dgallium-va=disabled \
		-Dgallium-opencl=disabled \
		-Dgallium-xa=disabled \
		-Dgallium-nine=false \
		-Dgles1=disabled \
		-Dgles2=disabled \
		-Dglvnd=disabled \
		-Dlmsensors=disabled \
		-Dmicrosoft-clc=disabled \
		-Dopengl=true \
		-Dglx=disabled \
		-Degl=disabled \
		-Dgbm=disabled \
		-Dtools="" \
		-Dvalgrind=disabled \
		-Dxlib-lease=disabled \
		-Dzstd=disabled
LDFLAGS_i386=		-Wl,-znotext

MESON_ARGS+=	-Dosmesa=true

.if ${ARCH} != amd64
MESON_ARGS+=	-Dintel-rt=disabled # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10629
.endif

post-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/GL
	${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \
		${STAGEDIR}${PREFIX}/include/GL

.include <bsd.port.post.mk>

graphics/libosmesa/pkg-descr

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
Mesa is a 3-D graphics library with an API which is very similar to that
of OpenGL*.  To the extent that Mesa utilizes the OpenGL command syntax or
state machine, it is being used with authorization from Silicon Graphics,
Inc.  However, the author makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with Silicon Graphics, Inc.

This is a Off-Screen version of Mesa in order to do off-screen rendering in
other packages like VTK. Offscreen rendering is useful for a
number of things, such as batch processing, parallel processing, and
remote processing.

graphics/libosmesa/pkg-plist

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
@comment include/GL/gl.h
@comment include/GL/glcorearb.h
@comment include/GL/glext.h
include/GL/osmesa.h
@comment include/KHR/khrplatform.h
lib/libOSMesa.so
lib/libOSMesa.so.8
lib/libOSMesa.so.8.0.0
@comment lib/libglapi.so
@comment lib/libglapi.so.0
@comment lib/libglapi.so.0.0.0
libdata/pkgconfig/osmesa.pc
@comment share/drirc.d/00-mesa-defaults.conf
Loading