git: c5308d78898e - main - graphics/linux-rl9-graphene: add new port (+)

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

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

commit c5308d78898e1230c96bccd37b72e59e1dee8081
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-14 20:42:19 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-14 21:22:51 +0000

    graphics/linux-rl9-graphene: add new port (+)
    
    Graphene is an optimizations library for speeding up vector operations
    
    Sponsored by:   Future Crew, LLC
---
 Mk/Uses/linux.mk                              |  1 +
 graphics/Makefile                             |  1 +
 graphics/linux-rl9-graphene/Makefile          | 23 +++++++++++++++++++++++
 graphics/linux-rl9-graphene/distinfo          |  9 +++++++++
 graphics/linux-rl9-graphene/pkg-plist.aarch64 |  6 ++++++
 graphics/linux-rl9-graphene/pkg-plist.amd64   | 10 ++++++++++
 6 files changed, 50 insertions(+)

diff --git a/Mk/Uses/linux.mk b/Mk/Uses/linux.mk
index 9064040ef2eb..4a116e1a2573 100644
--- a/Mk/Uses/linux.mk
+++ b/Mk/Uses/linux.mk
@@ -85,6 +85,7 @@ _linux_${linux_ARGS}_fribidi=		linux-${linux_ARGS}-fribidi>0:converters/linux-${
 _linux_${linux_ARGS}_gdkpixbuf2=	linux-${linux_ARGS}-gdk-pixbuf2>0:graphics/linux-${linux_ARGS}-gdk-pixbuf2
 _linux_rl9_gnupg=			linux-rl9-gnupg2>0:security/linux-rl9-gnupg
 _linux_${linux_ARGS}_gnutls=		linux-${linux_ARGS}-gnutls>0:security/linux-${linux_ARGS}-gnutls
+_linux_rl9_graphene=			linux-rl9-graphene>0:graphics/linux-rl9-graphene
 _linux_${linux_ARGS}_graphite2=		linux-${linux_ARGS}-graphite2>0:graphics/linux-${linux_ARGS}-graphite2
 _linux_${linux_ARGS}_gsm=		linux-${linux_ARGS}-gsm>0:audio/linux-${linux_ARGS}-gsm
 _linux_rl9_gstreamer1=			linux-rl9-gstreamer1>0:multimedia/linux-rl9-gstreamer1
diff --git a/graphics/Makefile b/graphics/Makefile
index 83aa873cdd3a..81be70342e46 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -539,6 +539,7 @@
     SUBDIR += linux-rl9-cairo-gobject
     SUBDIR += linux-rl9-dri
     SUBDIR += linux-rl9-gdk-pixbuf2
+    SUBDIR += linux-rl9-graphene
     SUBDIR += linux-rl9-graphite2
     SUBDIR += linux-rl9-jasper
     SUBDIR += linux-rl9-jbigkit
diff --git a/graphics/linux-rl9-graphene/Makefile b/graphics/linux-rl9-graphene/Makefile
new file mode 100644
index 000000000000..e62e69149bd9
--- /dev/null
+++ b/graphics/linux-rl9-graphene/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	graphene
+PORTVERSION=	1.10.6
+DISTVERSIONSUFFIX=	-2.el9
+CATEGORIES=	graphics linux
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Optimizations for speeding up vector operations (Rocky Linux ${LINUX_DIST_VER})
+WWW=		https://ebassi.github.io/graphene/
+
+USES=		cpe linux:rl9
+USE_LDCONFIG=	yes
+USE_LINUX_RPM=	yes
+WANT_LINUX32=	yes
+
+LIB_DISTNAMES=	${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
+
+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/graphics/linux-rl9-graphene/distinfo b/graphics/linux-rl9-graphene/distinfo
new file mode 100644
index 000000000000..4b050b5b2337
--- /dev/null
+++ b/graphics/linux-rl9-graphene/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1731539159
+SHA256 (rocky/g/graphene-1.10.6-2.el9.aarch64.rpm) = 034ebc57ac897a558c26cb561ec41dfab28fdd6f7c2d508a31ca60f272f1399f
+SIZE (rocky/g/graphene-1.10.6-2.el9.aarch64.rpm) = 96845
+SHA256 (rocky/g/graphene-1.10.6-2.el9.i686.rpm) = fccb8a52929bfef3d48cc190a4a74d7e14052d978ed2860f3c856c1719eee53a
+SIZE (rocky/g/graphene-1.10.6-2.el9.i686.rpm) = 83513
+SHA256 (rocky/g/graphene-1.10.6-2.el9.x86_64.rpm) = fd99d16e7fb06b79d6d3adbe5a656e44112b37aa478a6151a23f0a3e2aa4fc63
+SIZE (rocky/g/graphene-1.10.6-2.el9.x86_64.rpm) = 65073
+SHA256 (rocky/g/graphene-1.10.6-2.el9.src.rpm) = c2a71f687c22e9b3845923f05eb34060cf0b3176f4b3ce68403db3319554f8d3
+SIZE (rocky/g/graphene-1.10.6-2.el9.src.rpm) = 344412
diff --git a/graphics/linux-rl9-graphene/pkg-plist.aarch64 b/graphics/linux-rl9-graphene/pkg-plist.aarch64
new file mode 100644
index 000000000000..f269ec06f98a
--- /dev/null
+++ b/graphics/linux-rl9-graphene/pkg-plist.aarch64
@@ -0,0 +1,6 @@
+usr/lib/.build-id/81/10283582ce2a48e14e3611da9d3beda051168e
+usr/lib64/girepository-1.0/Graphene-1.0.typelib
+usr/lib64/libgraphene-1.0.so.0
+usr/lib64/libgraphene-1.0.so.0.1000.6
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/graphene/LICENSE.txt
diff --git a/graphics/linux-rl9-graphene/pkg-plist.amd64 b/graphics/linux-rl9-graphene/pkg-plist.amd64
new file mode 100644
index 000000000000..a91d82129dbf
--- /dev/null
+++ b/graphics/linux-rl9-graphene/pkg-plist.amd64
@@ -0,0 +1,10 @@
+usr/lib/.build-id/4d/35c131b8bdf189a7b279f66363e74fd8521db5
+usr/lib/.build-id/ef/9f55cab18217c1cffe4c7b53a1bd11383355d6
+usr/lib/girepository-1.0/Graphene-1.0.typelib
+usr/lib/libgraphene-1.0.so.0
+usr/lib/libgraphene-1.0.so.0.1000.6
+usr/lib64/girepository-1.0/Graphene-1.0.typelib
+usr/lib64/libgraphene-1.0.so.0
+usr/lib64/libgraphene-1.0.so.0.1000.6
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+usr/share/licenses/graphene/LICENSE.txt