diff options
author | ashish <ashish@FreeBSD.org> | 2018-04-06 22:54:29 +0800 |
---|---|---|
committer | ashish <ashish@FreeBSD.org> | 2018-04-06 22:54:29 +0800 |
commit | beff6a431deea0d399da272cc7d7f9bba199bd40 (patch) | |
tree | a17f8f47488c4f831a70e5a6ff019929d98b0ac8 /graphics | |
parent | 76db7e03ce01d8938a82be9bc705f0b426dcdd17 (diff) | |
download | freebsd-ports-gnome-beff6a431deea0d399da272cc7d7f9bba199bd40.tar.gz freebsd-ports-gnome-beff6a431deea0d399da272cc7d7f9bba199bd40.tar.zst freebsd-ports-gnome-beff6a431deea0d399da272cc7d7f9bba199bd40.zip |
- 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
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/frogr/Makefile | 12 | ||||
-rw-r--r-- | graphics/frogr/distinfo | 6 | ||||
-rw-r--r-- | graphics/frogr/files/patch-meson.build | 11 | ||||
-rw-r--r-- | graphics/frogr/pkg-plist | 1 |
4 files changed, 21 insertions, 9 deletions
diff --git a/graphics/frogr/Makefile b/graphics/frogr/Makefile index 89467ca1bc41..6d9d5f08026b 100644 --- a/graphics/frogr/Makefile +++ b/graphics/frogr/Makefile @@ -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> diff --git a/graphics/frogr/distinfo b/graphics/frogr/distinfo index 4a7e8a933f3b..7d14a4485f6b 100644 --- a/graphics/frogr/distinfo +++ b/graphics/frogr/distinfo @@ -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 diff --git a/graphics/frogr/files/patch-meson.build b/graphics/frogr/files/patch-meson.build new file mode 100644 index 000000000000..6650f67ecbb0 --- /dev/null +++ b/graphics/frogr/files/patch-meson.build @@ -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) diff --git a/graphics/frogr/pkg-plist b/graphics/frogr/pkg-plist index 0c7ff99581b5..3aacfbb194f4 100644 --- a/graphics/frogr/pkg-plist +++ b/graphics/frogr/pkg-plist @@ -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 |