PORTNAME=	gstreamer1
PORTVERSION=	1.22.12
DISTVERSIONSUFFIX=	-3.el9
PORTREVISION=	1
CATEGORIES=	multimedia linux

MAINTAINER=	emulation@FreeBSD.org
COMMENT=	GStreamer1 library (Rocky Linux ${LINUX_DIST_VER})
WWW=		https://gstreamer.freedesktop.org/

LICENSE=	LGPL20+

USES=		linux:rl9
USE_LDCONFIG=	yes
USE_LINUX=	gtk3 libnghttp2 orc vulkan xorglibs
USE_LINUX_RPM=	yes
WANT_LINUX32=	yes

LIB_DISTNAMES=	${PORTNAME}-${DISTVERSIONFULL} \
		${PORTNAME}-plugins-base-${DISTVERSION}-8.el9_8 \
		${PORTNAME}-plugins-bad-free-${DISTVERSION}-7.el9_8 \
		${PORTNAME}-plugins-good-${DISTVERSION}-7.el9_8 \
		${PORTNAME}-plugins-good-gtk-${DISTVERSION}-7.el9_8 \
		${PORTNAME}-plugins-ugly-free-${DISTVERSION}-6.el9_8

SRC_DISTFILES=	gstreamer1-${DISTVERSIONFULL}${SRC_SUFX}:SOURCE

CONFLICTS=	linux-c7-${PORTNAME}
DESCR=		${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr
DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

PLIST_SUB+=	LIBVERSION=0.2212.0

.include <bsd.port.mk>
