git: 2a1ebaa4a81e - main - sysutils/btop: update to 1.3.0

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 10 Jan 2024 09:47:26 UTC
The branch main has been updated by pkubaj:

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

commit 2a1ebaa4a81ec2b4d36bd5ed0c5f13a8268359b2
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-01-09 16:57:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-01-10 09:47:06 +0000

    sysutils/btop: update to 1.3.0
    
    Changelog:      https://github.com/aristocratos/btop/releases/tag/v1.3.0
---
 sysutils/btop/Makefile  | 15 ++++++++++-----
 sysutils/btop/distinfo  |  6 +++---
 sysutils/btop/pkg-plist |  2 ++
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/sysutils/btop/Makefile b/sysutils/btop/Makefile
index d23dc7ef277f..0144419390a9 100644
--- a/sysutils/btop/Makefile
+++ b/sysutils/btop/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	btop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.13
-PORTREVISION=	1
+DISTVERSION=	1.3.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	pkubaj@FreeBSD.org
@@ -12,12 +11,18 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		gmake
-USE_GCC=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	aristocratos
 
-CXXFLAGS_i386=	-latomic
-CXXFLAGS_powerpc=	-latomic
 MAKE_ARGS=	STRIP=true ADDFLAGS="${CXXFLAGS} ${LDFLAGS}" VERBOSE=true
 
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} < 1302507
+USE_GCC=	yes
+.if ${ARCH} == i386 || ${ARCH} == powerpc
+LDFLAGS+=	-latomic
+.endif
+.endif
+
 .include <bsd.port.mk>
diff --git a/sysutils/btop/distinfo b/sysutils/btop/distinfo
index 6f5ac5076d34..587f8d7f7fd8 100644
--- a/sysutils/btop/distinfo
+++ b/sysutils/btop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667780772
-SHA256 (aristocratos-btop-v1.2.13_GH0.tar.gz) = 668dc4782432564c35ad0d32748f972248cc5c5448c9009faeb3445282920e02
-SIZE (aristocratos-btop-v1.2.13_GH0.tar.gz) = 982660
+TIMESTAMP = 1704810075
+SHA256 (aristocratos-btop-v1.3.0_GH0.tar.gz) = 375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf
+SIZE (aristocratos-btop-v1.3.0_GH0.tar.gz) = 1142088
diff --git a/sysutils/btop/pkg-plist b/sysutils/btop/pkg-plist
index ed04bcbde329..5eb8715bda94 100644
--- a/sysutils/btop/pkg-plist
+++ b/sysutils/btop/pkg-plist
@@ -3,6 +3,7 @@ share/applications/btop.desktop
 %%DATADIR%%/README.md
 %%DATADIR%%/themes/HotPurpleTrafficLight.theme
 %%DATADIR%%/themes/adapta.theme
+%%DATADIR%%/themes/adwaita.theme
 %%DATADIR%%/themes/ayu.theme
 %%DATADIR%%/themes/dracula.theme
 %%DATADIR%%/themes/dusklight.theme
@@ -14,6 +15,7 @@ share/applications/btop.desktop
 %%DATADIR%%/themes/gruvbox_dark.theme
 %%DATADIR%%/themes/gruvbox_dark_v2.theme
 %%DATADIR%%/themes/gruvbox_material_dark.theme
+%%DATADIR%%/themes/horizon.theme
 %%DATADIR%%/themes/kyli0x.theme
 %%DATADIR%%/themes/matcha-dark-sea.theme
 %%DATADIR%%/themes/monokai.theme