aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-12-09 14:56:27 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-12-09 14:56:27 +0000
commit0a284fbe1d99d31b28a7dc7e4ad72ccf80f1baba (patch)
treeb050c0273296139c42c5c54ef4a78625fb49e97e
parent27a708f9e371cdce92b0e20a208941e114ffb4b7 (diff)
sysutils/nitrogen: Update to 1.6.1
- Move to new home on GitHub - Add LICENSE - Switch to options helpers - Reset maintainer due to the long timeout Changes: https://github.com/l3ib/nitrogen/blob/1.6.1/ChangeLog PR: 230206 Submitted by: Nathan <ndowens@yahoo.com> (based on) Approved by: corentin@ralite.com (maintainer timeout, 4 months)
Notes
Notes: svn path=/head/; revision=487052
-rw-r--r--sysutils/nitrogen/Makefile35
-rw-r--r--sysutils/nitrogen/distinfo5
-rw-r--r--sysutils/nitrogen/pkg-descr2
-rw-r--r--sysutils/nitrogen/pkg-plist8
4 files changed, 26 insertions, 24 deletions
diff --git a/sysutils/nitrogen/Makefile b/sysutils/nitrogen/Makefile
index 611af2cae090..4ebc19285c7d 100644
--- a/sysutils/nitrogen/Makefile
+++ b/sysutils/nitrogen/Makefile
@@ -2,45 +2,38 @@
# $FreeBSD$
PORTNAME= nitrogen
-PORTVERSION= 1.5.2
-PORTREVISION= 9
+DISTVERSION= 1.6.1
CATEGORIES= sysutils
-MASTER_SITES= http://projects.l3ib.org/nitrogen/files/
+MASTER_SITES= https://github.com/l3ib/nitrogen/releases/download/${DISTVERSION}/
-MAINTAINER= corentin@ralite.com
+MAINTAINER= ports@FreeBSD.org
COMMENT= Background browser and setter for X windows
LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
RUN_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme \
hicolor-icon-theme>0:misc/hicolor-icon-theme
-OPTIONS_DEFINE= XINERAMA
-OPTIONS_DEFAULT=XINERAMA
-
-USES= compiler:c++11-lang gettext iconv pkgconfig
+USES= compiler:c++11-lang gettext gmake gnome iconv localbase pkgconfig
USE_CXXSTD= c++11
USE_GNOME= gtkmm24
+INSTALLS_ICONS= yes
USE_XORG= x11
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-inotify
-INSTALLS_ICONS= yes
-
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lX11
-DESKTOP_ENTRIES="Nitrogen" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
- "Graphics;Viewer;" true
+LIBS+= -lX11
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= XINERAMA
+OPTIONS_DEFAULT= XINERAMA
-.if ${PORT_OPTIONS:MXINERAMA}
-USE_XORG+= xinerama
-CONFIGURE_ARGS+=--enable-xinerama
-.else
-CONFIGURE_ARGS+=--disable-xinerama
-.endif
+XINERAMA_CONFIGURE_ENABLE= xinerama
+XINERAMA_USE= xorg=xinerama
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
diff --git a/sysutils/nitrogen/distinfo b/sysutils/nitrogen/distinfo
index eb35deb52cd1..ff9cce2db696 100644
--- a/sysutils/nitrogen/distinfo
+++ b/sysutils/nitrogen/distinfo
@@ -1,2 +1,3 @@
-SHA256 (nitrogen-1.5.2.tar.gz) = 60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2
-SIZE (nitrogen-1.5.2.tar.gz) = 307356
+TIMESTAMP = 1544343577
+SHA256 (nitrogen-1.6.1.tar.gz) = f40213707b7a3be87e556f65521cef8795bd91afda13dfac8f00c3550375837d
+SIZE (nitrogen-1.6.1.tar.gz) = 314332
diff --git a/sysutils/nitrogen/pkg-descr b/sysutils/nitrogen/pkg-descr
index 2bf887d34ad3..34b26c66cf9a 100644
--- a/sysutils/nitrogen/pkg-descr
+++ b/sysutils/nitrogen/pkg-descr
@@ -1,4 +1,4 @@
Nitrogen is a background browser and setter for X windows. It is written
in C++ using the gtkmm toolkit.
-WWW: http://projects.l3ib.org/nitrogen
+WWW: https://github.com/l3ib/nitrogen
diff --git a/sysutils/nitrogen/pkg-plist b/sysutils/nitrogen/pkg-plist
index d85fe74ebd75..9f31bee52c14 100644
--- a/sysutils/nitrogen/pkg-plist
+++ b/sysutils/nitrogen/pkg-plist
@@ -1,5 +1,7 @@
bin/nitrogen
man/man1/nitrogen.1.gz
+share/appdata/nitrogen.appdata.xml
+share/applications/nitrogen.desktop
share/icons/hicolor/128x128/apps/nitrogen.png
share/icons/hicolor/16x16/actions/wallpaper-centered.png
share/icons/hicolor/16x16/actions/wallpaper-scaled.png
@@ -11,3 +13,9 @@ share/icons/hicolor/16x16/mimetypes/image-x-generic.png
share/icons/hicolor/22x22/apps/nitrogen.png
share/icons/hicolor/32x32/apps/nitrogen.png
share/icons/hicolor/48x48/apps/nitrogen.png
+share/locale/bs/LC_MESSAGES/nitrogen.mo
+share/locale/fi/LC_MESSAGES/nitrogen.mo
+share/locale/hr/LC_MESSAGES/nitrogen.mo
+share/locale/pl/LC_MESSAGES/nitrogen.mo
+share/locale/ru/LC_MESSAGES/nitrogen.mo
+share/locale/sr/LC_MESSAGES/nitrogen.mo