svn commit: r466644 - in head/graphics/frogr: . files

Ashish SHUKLA ashish at FreeBSD.org
Fri Apr 6 14:54:31 UTC 2018


Author: ashish
Date: Fri Apr  6 14:54:29 2018
New Revision: 466644
URL: https://svnweb.freebsd.org/changeset/ports/466644

Log:
  - Update to 1.4
  - Switch to meson, ninja
  - Add a diff to fix detection of libgcrypt during configure. Reported
    upstream as: https://bugzilla.gnome.org/show_bug.cgi?id=795033

Added:
  head/graphics/frogr/files/
  head/graphics/frogr/files/patch-meson.build   (contents, props changed)
Modified:
  head/graphics/frogr/Makefile
  head/graphics/frogr/distinfo
  head/graphics/frogr/pkg-plist

Modified: head/graphics/frogr/Makefile
==============================================================================
--- head/graphics/frogr/Makefile	Fri Apr  6 14:10:26 2018	(r466643)
+++ head/graphics/frogr/Makefile	Fri Apr  6 14:54:29 2018	(r466644)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	frogr
-PORTVERSION=	1.3
+PORTVERSION=	1.4
 CATEGORIES=	graphics
 MASTER_SITES=	GNOME
 
@@ -18,17 +18,19 @@ LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
 		libjson-glib-1.0.so:devel/json-glib \
 		libgcrypt.so:security/libgcrypt
 
-USES=		gmake tar:xz pkgconfig gettext-runtime gettext-tools
+USES=		meson ninja tar:xz pkgconfig gettext-runtime gettext-tools
 USE_GNOME=	libxml2 glib20 gtk30
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-header-bar
+CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+MESON_ARGS=	-Denable-header-bar=true
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=		VIDEO
 OPTIONS_DEFAULT=	VIDEO
 
-VIDEO_CONFIGURE_ENABLE=	video
+VIDEO_MESON_TRUE=	enable-video
 VIDEO_LIB_DEPENDS=	libgstreamer-1.0.so:multimedia/gstreamer1
 
 .include <bsd.port.mk>

Modified: head/graphics/frogr/distinfo
==============================================================================
--- head/graphics/frogr/distinfo	Fri Apr  6 14:10:26 2018	(r466643)
+++ head/graphics/frogr/distinfo	Fri Apr  6 14:54:29 2018	(r466644)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509853555
-SHA256 (frogr-1.3.tar.xz) = 94cc6a7ab2553e00cc8e0c2435a1c2610de0fc59ce51e78fe0d758f34d5c7a36
-SIZE (frogr-1.3.tar.xz) = 2552456
+TIMESTAMP = 1523024048
+SHA256 (frogr-1.4.tar.xz) = ace4c9e60364fa5e183384a3e25a0c4ee77c77c59f4bb33f8980ba57317ae68e
+SIZE (frogr-1.4.tar.xz) = 2225148

Added: head/graphics/frogr/files/patch-meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/frogr/files/patch-meson.build	Fri Apr  6 14:54:29 2018	(r466644)
@@ -0,0 +1,11 @@
+--- meson.build.orig	2017-12-27 23:11:19 UTC
++++ meson.build
+@@ -42,7 +42,7 @@ json_glib = dependency('json-glib-1.0', 
+ gcrypt = dependency('libgcrypt', version: '>=@0@'.format(gcrypt_ver), required: false)
+ if not gcrypt.found()
+     message('gcrypt not found via pkg-config, using meson.find_library()...')
+-    gcrypt = compiler.find_library('libgcrypt')
++    gcrypt = compiler.find_library('gcrypt')
+ endif
+ 
+ frogr_conf.set_quoted('LIBGCRYPT_MIN_VERSION', gcrypt_ver)

Modified: head/graphics/frogr/pkg-plist
==============================================================================
--- head/graphics/frogr/pkg-plist	Fri Apr  6 14:10:26 2018	(r466643)
+++ head/graphics/frogr/pkg-plist	Fri Apr  6 14:54:29 2018	(r466644)
@@ -360,4 +360,3 @@ share/locale/te/LC_MESSAGES/frogr.mo
 share/locale/tr/LC_MESSAGES/frogr.mo
 share/locale/uk/LC_MESSAGES/frogr.mo
 share/locale/zh_CN/LC_MESSAGES/frogr.mo
-share/pixmaps/frogr.xpm


More information about the svn-ports-head mailing list