git: 57027b8d84fc - main - multimedia/linux-rl9-aom: add new port (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 14 Nov 2024 21:23:09 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57027b8d84fcc6841d3457c3887f7ebf83902a96

commit 57027b8d84fcc6841d3457c3887f7ebf83902a96
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-14 20:56:55 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-14 21:22:53 +0000

    multimedia/linux-rl9-aom: add new port (+)
    
    AV1 reference encoder/decoder libraries
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/linux.mk                           |  1 +
 multimedia/Makefile                        |  1 +
 multimedia/linux-rl9-aom/Makefile          | 29 +++++++++++++++++++++++++++++
 multimedia/linux-rl9-aom/distinfo          |  7 +++++++
 multimedia/linux-rl9-aom/pkg-plist.aarch64 |  5 +++++
 multimedia/linux-rl9-aom/pkg-plist.amd64   |  5 +++++
 6 files changed, 48 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index eedd5cbc38da..981fd6da9747 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -56,6 +56,7 @@ _linux_${linux_ARGS}_alsa-lib-devel=	linux-${linux_ARGS}-alsa-lib-devel>0:audio/
 _linux_${linux_ARGS}_alsa-plugins-oss=	linux-${linux_ARGS}-alsa-plugins-oss>0:audio/linux-${linux_ARGS}-alsa-plugins-oss
 _linux_${linux_ARGS}_alsa-plugins-pulseaudio=linux-${linux_ARGS}-alsa-plugins-pulseaudio>0:audio/linux-${linux_ARGS}-alsa-plugins-pulseaudio
 _linux_${linux_ARGS}_alsalib=		linux-${linux_ARGS}-alsa-lib>0:audio/linux-${linux_ARGS}-alsa-lib
+_linux_rl9_aom=				linux-rl9-aom-libs>0:multimedia/linux-rl9-aom
 _linux_${linux_ARGS}_at-spi2-atk=	linux-${linux_ARGS}-at-spi2-atk>0:accessibility/linux-${linux_ARGS}-at-spi2-atk
 _linux_${linux_ARGS}_at-spi2-core=	linux-${linux_ARGS}-at-spi2-core>0:accessibility/linux-${linux_ARGS}-at-spi2-core
 _linux_${linux_ARGS}_atk=		linux-${linux_ARGS}-atk>0:accessibility/linux-${linux_ARGS}-atk
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 0a8d08379c58..ebb05908da8b 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -204,6 +204,7 @@
     SUBDIR += libzen
     SUBDIR += linux-c7-libtheora
     SUBDIR += linux-c7-libv4l
+    SUBDIR += linux-rl9-aom
     SUBDIR += linux-rl9-ffmpeg
     SUBDIR += linux-rl9-gstreamer1
     SUBDIR += linux-rl9-gstreamer1-libav
diff --git a/multimedia/linux-rl9-aom/Makefile b/multimedia/linux-rl9-aom/Makefile
new file mode 100644
index 000000000000..33cf2a1a75a4
--- /dev/null
+++ b/multimedia/linux-rl9-aom/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	aom
+PORTVERSION=	3.9.0
+DISTVERSIONSUFFIX=	-1.el9
+MASTER_SITES=	EPEL9
+PKGNAMESUFFIX=	-libs
+CATEGORIES=	multimedia linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	AV1 reference encoder/decoder (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://aomedia.org/
+
+LICENSE=	BSD2CLAUSE
+
+USES=		linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX=	libxjl
+USE_LINUX_RPM=	yes
+
+#BIN_DISTNAMES=	${PORTNAME}-${DISTVERSIONFULL}
+LIB_DISTNAMES=	lib${PORTNAME}-${DISTVERSIONFULL}
+SRC_DISTFILES=	${PORTNAME}-${DISTVERSIONFULL}${SRC_SUFX}:SOURCE
+
+CONFLICTS=	linux-c7-${PORTNAME}
+DESCR=		${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr
+DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.mk>
diff --git a/multimedia/linux-rl9-aom/distinfo b/multimedia/linux-rl9-aom/distinfo
new file mode 100644
index 000000000000..f08bd876a660
--- /dev/null
+++ b/multimedia/linux-rl9-aom/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1731540645
+SHA256 (rocky/l/libaom-3.9.0-1.el9.aarch64.rpm) = 7af7e34d3bfb21110d60a8f48cd4130d2d283bb77f044ba27812961f114a2636
+SIZE (rocky/l/libaom-3.9.0-1.el9.aarch64.rpm) = 1612785
+SHA256 (rocky/l/libaom-3.9.0-1.el9.x86_64.rpm) = de2fd58ad57c80492e7684374c3a9d3b94fd371b90ed2255bc738276be2eee19
+SIZE (rocky/l/libaom-3.9.0-1.el9.x86_64.rpm) = 1869368
+SHA256 (rocky/a/aom-3.9.0-1.el9.src.rpm) = 567b4324dfd535634a086dba51d60d6d20ca9cc87f75ef0c7b4747c4efab3a96
+SIZE (rocky/a/aom-3.9.0-1.el9.src.rpm) = 5588165
diff --git a/multimedia/linux-rl9-aom/pkg-plist.aarch64 b/multimedia/linux-rl9-aom/pkg-plist.aarch64
new file mode 100644
index 000000000000..3bea77136901
--- /dev/null
+++ b/multimedia/linux-rl9-aom/pkg-plist.aarch64
@@ -0,0 +1,5 @@
+usr/lib/.build-id/45/0274b5faffd94ac5d87b2cc3757fdaf59b98ee
+usr/lib64/libaom.so.3
+usr/lib64/libaom.so.3.9.0
+usr/share/licenses/libaom/LICENSE
+usr/share/licenses/libaom/PATENTS
diff --git a/multimedia/linux-rl9-aom/pkg-plist.amd64 b/multimedia/linux-rl9-aom/pkg-plist.amd64
new file mode 100644
index 000000000000..11bbd6a0f269
--- /dev/null
+++ b/multimedia/linux-rl9-aom/pkg-plist.amd64
@@ -0,0 +1,5 @@
+usr/lib/.build-id/ab/a745693984cef10aa9f34613db88244400d8b2
+usr/lib64/libaom.so.3
+usr/lib64/libaom.so.3.9.0
+usr/share/licenses/libaom/LICENSE
+usr/share/licenses/libaom/PATENTS