Update to gnome-font-viewer-42.0.

This commit is contained in:
ajacoutot 2022-04-13 08:20:57 +00:00
parent 017159d988
commit befd980831
4 changed files with 12 additions and 37 deletions

View File

@ -1,22 +1,24 @@
COMMENT= font viewer for GNOME
GNOME_PROJECT= gnome-font-viewer
GNOME_VERSION= 41.0
REVISION= 0
GNOME_VERSION= 42.0
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB += c cairo fontconfig freetype handy-1 gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gnome-desktop-3 gobject-2.0 gtk-3 harfbuzz
WANTLIB += intl m pango-1.0 pangocairo-1.0
LIB_DEPENDS= x11/gnome/desktop \
x11/libhandy
WANTLIB += adwaita-1 c cairo fontconfig freetype gio-2.0 glib-2.0
WANTLIB += gobject-2.0 graphene-1.0 gtk-4 harfbuzz intl m pango-1.0
WANTLIB += pangocairo-1.0
MODULES= devel/meson \
x11/gnome
MODGNOME_TOOLS= desktop-file-utils gtk-update-icon-cache
LIB_DEPENDS= x11/gnome/libadwaita
# XXX should be LIB_DEPENDS but doesn't appear in WANTLIB
BUILD_DEPENDS += x11/gnome/desktop,-gtk4
RUN_DEPENDS += x11/gnome/desktop,-gtk4
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gnome/gnome-font-viewer-41.0.tar.xz) = XdQQMxvgcOTgNDl/J1SYDgc4UdUKIRny+/lq3G/i6HY=
SIZE (gnome/gnome-font-viewer-41.0.tar.xz) = 179672
SHA256 (gnome/gnome-font-viewer-42.0.tar.xz) = z6K43/8hoQWhoCHa36IT8TYn5qF5p3x7Wf3O2sqEjcw=
SIZE (gnome/gnome-font-viewer-42.0.tar.xz) = 287644

View File

@ -1,13 +0,0 @@
Fix build with meson >= 0.60.0
Index: data/meson.build
--- data/meson.build.orig
+++ data/meson.build
@@ -1,6 +1,6 @@
appdatadir = join_paths(datadir, 'metainfo')
appdata_file = 'org.gnome.font-viewer.appdata.xml'
-merged_appdata = i18n.merge_file(appdata_file,
+merged_appdata = i18n.merge_file(
input: appdata_file + '.in',
output: appdata_file,
po_dir: '../po',

View File

@ -1,14 +0,0 @@
Fix build with meson >= 0.60.0
Index: src/meson.build
--- src/meson.build.orig
+++ src/meson.build
@@ -39,7 +39,7 @@ desktop_file = 'org.gnome.font-viewer.desktop'
desktop_conf = configuration_data()
desktop_conf.set('VERSION', meson.project_version())
desktop_conf.set('APPLICATION_ID', application_id)
-i18n.merge_file(desktop_file,
+i18n.merge_file(
input: configure_file(input: desktop_file + '.in.in',
output: desktop_file + '.in',
configuration: desktop_conf),