git: 45f736c913cd - main - net-im/gtkcord4: update to 0.0.14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Oct 2023 14:47:56 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=45f736c913cd9984dfa1c8fe442fab6be1b25f9b
commit 45f736c913cd9984dfa1c8fe442fab6be1b25f9b
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-10-07 12:19:19 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-10-07 14:44:06 +0000
net-im/gtkcord4: update to 0.0.14
- Install extra files (like Nix, AUR, Gentoo)
Changes: https://github.com/diamondburned/gtkcord4/releases/tag/v0.0.14
Reported by: GitHub (watch releases)
---
net-im/gtkcord4/Makefile | 20 ++++++++++++++++++--
net-im/gtkcord4/distinfo | 6 +++---
2 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/net-im/gtkcord4/Makefile b/net-im/gtkcord4/Makefile
index 7be4fe69a04b..0c6acd5608ba 100644
--- a/net-im/gtkcord4/Makefile
+++ b/net-im/gtkcord4/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gtkcord4
DISTVERSIONPREFIX= v
-DISTVERSION= 0.0.13
+DISTVERSION= 0.0.14
CATEGORIES= net-im
MAINTAINER= jbeich@FreeBSD.org
@@ -49,6 +49,22 @@ GH_TUPLE= alecthomas:chroma:v0.10.0:alecthomas_chroma/vendor/github.com/alecthom
yuin:goldmark:v1.5.6:yuin_goldmark/vendor/github.com/yuin/goldmark \
zalando:go-keyring:v0.2.1:zalando_go_keyring/vendor/github.com/zalando/go-keyring
CGO_LDFLAGS+= -Wl,--as-needed # gtk4 deps
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ share/applications/so.libdb.gtkcord4.desktop \
+ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \
+ share/metainfo/so.libdb.gtkcord4.metainfo.xml
+
+post-extract:
+# Prune after https://github.com/diamondburned/gtkcord4/commit/86b3ea579df1
+ ${RM} ${WRKSRC}/nix/xyz.diamondb.gtkcord4.desktop
+ ${RM} ${WRKSRC}/xyz.diamondb.gtkcord4.metainfo.xml
+
+post-install:
+# Install extras similar to Nix flake
+.for f in nix/*.desktop *.metainfo.xml internal/icons/hicolor/scalable/apps/logo.svg
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H}
+ ${INSTALL_DATA} ${WRKSRC}/${f} \
+ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}}
+.endfor
.include <bsd.port.mk>
diff --git a/net-im/gtkcord4/distinfo b/net-im/gtkcord4/distinfo
index cc2db9c5424e..1cde08e0afa6 100644
--- a/net-im/gtkcord4/distinfo
+++ b/net-im/gtkcord4/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1696408084
-SHA256 (diamondburned-gtkcord4-v0.0.13_GH0.tar.gz) = 3697c0900e72e60421d75283ca87e5703603eaeaac9d064adaa5dcd09c0c944d
-SIZE (diamondburned-gtkcord4-v0.0.13_GH0.tar.gz) = 1105843
+TIMESTAMP = 1696681159
+SHA256 (diamondburned-gtkcord4-v0.0.14_GH0.tar.gz) = 9e4f0de7cbe462cc3b74361f0590578d35d5436fb91793cb8351086b5d80ef26
+SIZE (diamondburned-gtkcord4-v0.0.14_GH0.tar.gz) = 1106424
SHA256 (alecthomas-chroma-v0.10.0_GH0.tar.gz) = 98a517ae99f48e3b54d5c8cd7473d5c544f51bee7a4be17f5175736fce37da56
SIZE (alecthomas-chroma-v0.10.0_GH0.tar.gz) = 798272
SHA256 (alessio-shellescape-v1.4.1_GH0.tar.gz) = ba08ce6af01fed809528363efdfa735c52770a9f0d550ea7a9ba6aebf0c7076a