git: 286eb7013a3b - main - graphics/hyprgraphics: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Dec 2024 00:57:53 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=286eb7013a3b3d6f5654ff728584b96f5d1dde39 commit 286eb7013a3b3d6f5654ff728584b96f5d1dde39 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-12-03 17:52:51 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-12-19 00:57:27 +0000 graphics/hyprgraphics: add new port Hyprgraphics is a small C++ library with graphics / resource related utilities used across the hypr* ecosystem. https://github.com/hyprwm/hyprgraphics --- graphics/Makefile | 1 + graphics/hyprgraphics/Makefile | 28 ++++++++++++++++++++++++++++ graphics/hyprgraphics/distinfo | 5 +++++ graphics/hyprgraphics/pkg-descr | 2 ++ graphics/hyprgraphics/pkg-plist | 7 +++++++ 5 files changed, 43 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 8b17561ab73e..9e3bfda61ff5 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -337,6 +337,7 @@ SUBDIR += hobbes-icons-xpm SUBDIR += hppsmtools SUBDIR += hugin + SUBDIR += hyprgraphics SUBDIR += icat SUBDIR += icc-profiles-adobe-cs4 SUBDIR += icc-profiles-basiccolor diff --git a/graphics/hyprgraphics/Makefile b/graphics/hyprgraphics/Makefile new file mode 100644 index 000000000000..82ed9a136ddf --- /dev/null +++ b/graphics/hyprgraphics/Makefile @@ -0,0 +1,28 @@ +PORTNAME= hyprgraphics +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.1 +CATEGORIES= graphics + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 0f9b8ca692b3.patch:-p1 # https://github.com/hyprwm/hyprgraphics/pull/3 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Hyprland graphics / resource utilities +WWW= https://github.com/hyprwm/hyprgraphics + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ + libjxl.so:graphics/libjxl \ + libwebp.so:graphics/webp + +USES= cmake:testing compiler:c++11-lib gnome jpeg pkgconfig xorg +USE_GITHUB= yes +USE_GNOME= cairo +USE_LDCONFIG= yes +USE_XORG= pixman +GH_ACCOUNT= hyprwm +PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} + +.include <bsd.port.mk> diff --git a/graphics/hyprgraphics/distinfo b/graphics/hyprgraphics/distinfo new file mode 100644 index 000000000000..d2ef85aff4d1 --- /dev/null +++ b/graphics/hyprgraphics/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1733248371 +SHA256 (hyprwm-hyprgraphics-v0.1.1_GH0.tar.gz) = 123a29e53a00bfaf37e7971b929433fb716fd497b3555f72c2d0419ae18e65c7 +SIZE (hyprwm-hyprgraphics-v0.1.1_GH0.tar.gz) = 421561 +SHA256 (0f9b8ca692b3.patch) = fe34fc163a6fec6775e5f0bc5070826f12b0262b45b9fbf0831705584f0577ac +SIZE (0f9b8ca692b3.patch) = 1501 diff --git a/graphics/hyprgraphics/pkg-descr b/graphics/hyprgraphics/pkg-descr new file mode 100644 index 000000000000..f077ad5f7496 --- /dev/null +++ b/graphics/hyprgraphics/pkg-descr @@ -0,0 +1,2 @@ +Hyprgraphics is a small C++ library with graphics / resource related +utilities used across the hypr* ecosystem. diff --git a/graphics/hyprgraphics/pkg-plist b/graphics/hyprgraphics/pkg-plist new file mode 100644 index 000000000000..912f48b25961 --- /dev/null +++ b/graphics/hyprgraphics/pkg-plist @@ -0,0 +1,7 @@ +include/hyprgraphics/cairo/CairoSurface.hpp +include/hyprgraphics/color/Color.hpp +include/hyprgraphics/image/Image.hpp +lib/libhyprgraphics.so +lib/libhyprgraphics.so.0 +lib/libhyprgraphics.so.%%VERSION%% +libdata/pkgconfig/hyprgraphics.pc