svn commit: r498946 - head/sysutils/dunst

Tobias Kortkamp tobik at FreeBSD.org
Sun Apr 14 18:26:07 UTC 2019


Author: tobik
Date: Sun Apr 14 18:26:06 2019
New Revision: 498946
URL: https://svnweb.freebsd.org/changeset/ports/498946

Log:
  sysutils/dunst: Update to 1.4.0
  
  Changes:	https://github.com/dunst-project/dunst/blob/cf7dec2989d365d6b4c7b54366f8fac8ab6c62cb/CHANGELOG.md
  PR:		236916
  Submitted by:	Dmitri Goutnik <dg at syrec.org> (maintainer)

Modified:
  head/sysutils/dunst/Makefile
  head/sysutils/dunst/distinfo

Modified: head/sysutils/dunst/Makefile
==============================================================================
--- head/sysutils/dunst/Makefile	Sun Apr 14 18:07:20 2019	(r498945)
+++ head/sysutils/dunst/Makefile	Sun Apr 14 18:26:06 2019	(r498946)
@@ -2,27 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	dunst
-PORTVERSION=	1.3.2
 DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.0
 CATEGORIES=	sysutils
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+# https://github.com/dunst-project/dunst/pull/622
+PATCHFILES=	6e8de70c822a305d5196c991de69317bba875969.patch:-p1
+
 MAINTAINER=	dg at syrec.org
 COMMENT=	Lightweight notification daemon
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libdbus-1.so:devel/dbus \
-		libxdg-basedir.so:x11/libxdg-basedir
+LIB_DEPENDS=	libdbus-1.so:devel/dbus
 
-USES=		gmake perl5 pkgconfig
+USES=		gmake gnome perl5 pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	dunst-project
 USE_GNOME=	cairo gdkpixbuf2 pango
 USE_PERL5=	build
-USE_XORG=	x11 xrandr xinerama xscrnsaver
+USE_XORG=	x11 xext xinerama xrandr xscrnsaver
 
 MAKE_ARGS=	MANPREFIX="${PREFIX}/man"
+ALL_TARGET=	dunst
 TEST_TARGET=	test
 
 PLIST_FILES=	bin/dunst \
@@ -30,15 +34,23 @@ PLIST_FILES=	bin/dunst \
 		man/man1/dunst.1.gz \
 		share/dbus-1/services/org.knopwob.dunst.service
 
-post-patch:
-	@${REINPLACE_CMD} -e '/dunst\.systemd\.service/d' ${WRKSRC}/Makefile
-	@${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/VERSION
+OPTIONS_DEFINE=	DUNSTIFY
+OPTIONS_DEFAULT=	DUNSTIFY
 
+DUNSTIFY_DESC=	Install dunstify (alternative to the notify-send)
+
+DUNSTIFY_ALL_TARGET=	dunstify
+DUNSTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
+DUNSTIFY_PLIST_FILES=	bin/dunstify
+
 pre-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dunst/
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/dbus-1/services/
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dunst
+
+post-install-DUNSTIFY-on:
+	${INSTALL_PROGRAM} ${WRKSRC}/dunstify ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/sysutils/dunst/distinfo
==============================================================================
--- head/sysutils/dunst/distinfo	Sun Apr 14 18:07:20 2019	(r498945)
+++ head/sysutils/dunst/distinfo	Sun Apr 14 18:26:06 2019	(r498946)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1525769656
-SHA256 (dunst-project-dunst-v1.3.2_GH0.tar.gz) = aab6e8fb1105a64153eee1db85d00ddb807994f03f7222aa46d40e3f3846d28a
-SIZE (dunst-project-dunst-v1.3.2_GH0.tar.gz) = 121575
+TIMESTAMP = 1554734034
+SHA256 (dunst-project-dunst-v1.4.0_GH0.tar.gz) = 943c465ae2fdafeb6d611cd9b76ffaa3030a094b08b9185d234017f3f7654177
+SIZE (dunst-project-dunst-v1.4.0_GH0.tar.gz) = 159632
+SHA256 (6e8de70c822a305d5196c991de69317bba875969.patch) = a2270632964c3ffdd5daeeac4fc832f29c28bf2481d7e7cd079b927d56830ea4
+SIZE (6e8de70c822a305d5196c991de69317bba875969.patch) = 832


More information about the svn-ports-head mailing list