Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2021 16:16:37 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3366825fce96 - main - x11-toolkits/rubygem-gdk4: Add rubygem-gdk4 3.4.4 (copied rubygem-gdk3)
Message-ID:  <202107141616.16EGGbTn008414@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3366825fce965d014674de1d885da656128c30f1

commit 3366825fce965d014674de1d885da656128c30f1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-14 15:48:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-14 16:09:39 +0000

    x11-toolkits/rubygem-gdk4: Add rubygem-gdk4 3.4.4 (copied rubygem-gdk3)
---
 x11-toolkits/Makefile                         |  1 +
 x11-toolkits/rubygem-gdk4/Makefile            | 23 +++++++++++++++++++++++
 x11-toolkits/rubygem-gdk4/distinfo            |  3 +++
 x11-toolkits/rubygem-gdk4/files/patch-gemspec | 10 ++++++++++
 x11-toolkits/rubygem-gdk4/pkg-descr           |  3 +++
 5 files changed, 40 insertions(+)

diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index d11e8ae93ff4..38074900ebb8 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -183,6 +183,7 @@
     SUBDIR += redkite
     SUBDIR += rep-gtk2
     SUBDIR += rubygem-gdk3
+    SUBDIR += rubygem-gdk4
     SUBDIR += rubygem-gtk2
     SUBDIR += rubygem-gtk3
     SUBDIR += rubygem-gtksourceview2
diff --git a/x11-toolkits/rubygem-gdk4/Makefile b/x11-toolkits/rubygem-gdk4/Makefile
new file mode 100644
index 000000000000..e2c1c884ce2b
--- /dev/null
+++ b/x11-toolkits/rubygem-gdk4/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	gdk4
+PORTVERSION=	3.4.4
+CATEGORIES=	x11-toolkits rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby binding of GDK 4.x
+
+LICENSE=	LGPL21+
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
+
+BUILD_DEPENDS=	rubygem-rake>=0:devel/rubygem-rake
+RUN_DEPENDS=	rubygem-cairo-gobject>=${PORTVERSION}:devel/rubygem-cairo-gobject \
+		rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \
+		rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango
+
+USES=		gem gnome pkgconfig
+USE_GNOME=	gtk40
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/rubygem-gdk4/distinfo b/x11-toolkits/rubygem-gdk4/distinfo
new file mode 100644
index 000000000000..64485ffef840
--- /dev/null
+++ b/x11-toolkits/rubygem-gdk4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625585442
+SHA256 (rubygem/gdk4-3.4.4.gem) = 676ab0e032d036bbc037155314593a144cdb98dad407d7b6c40ed365e7d08458
+SIZE (rubygem/gdk4-3.4.4.gem) = 30208
diff --git a/x11-toolkits/rubygem-gdk4/files/patch-gemspec b/x11-toolkits/rubygem-gdk4/files/patch-gemspec
new file mode 100644
index 000000000000..dd14bd2b9b86
--- /dev/null
+++ b/x11-toolkits/rubygem-gdk4/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- gdk4.gemspec.orig	2021-07-10 11:39:56 UTC
++++ gdk4.gemspec
+@@ -13,7 +13,6 @@ Gem::Specification.new do |s|
+   s.date = "2021-04-22"
+   s.description = "Ruby/GDK4 is a Ruby binding of GDK-4.x.".freeze
+   s.email = "ruby-gnome2-devel-en@lists.sourceforge.net".freeze
+-  s.extensions = ["dependency-check/Rakefile".freeze]
+   s.files = ["COPYING.LIB".freeze, "README.md".freeze, "Rakefile".freeze, "dependency-check/Rakefile".freeze, "gdk4.gemspec".freeze, "lib/gdk4.rb".freeze, "lib/gdk4/cairo.rb".freeze, "lib/gdk4/loader.rb".freeze, "lib/gdk4/rectangle.rb".freeze, "lib/gdk4/rgba.rb".freeze, "lib/gdk4/version.rb".freeze, "lib/gdk4/x11-loader.rb".freeze, "test/fixture/ruby-gnome2-logo.png".freeze, "test/gdk-test-utils.rb".freeze, "test/run-test.rb".freeze, "test/test-gdk-cairo.rb".freeze, "test/test-gdk-cursor.rb".freeze, "test/test-gdk-event-mask.rb".freeze, "test/test-gdk-event-type.rb".freeze, "test/test-gdk-event.rb".freeze, "test/test-gdk-geometry.rb".freeze, "test/test-gdk-keyval.rb".freeze, "test/test-gdk-pixbuf.rb".freeze, "test/test-gdk-rectangle.rb".freeze, "test/test-gdk-rgba.rb".freeze, "test/test-gdk-selection.rb".freeze, "test/test-gdk-window-attr.rb".freeze]
+   s.homepage = "https://ruby-gnome2.osdn.jp/".freeze
+   s.licenses = ["LGPL-2.1+".freeze]
diff --git a/x11-toolkits/rubygem-gdk4/pkg-descr b/x11-toolkits/rubygem-gdk4/pkg-descr
new file mode 100644
index 000000000000..f3d5bd3a762e
--- /dev/null
+++ b/x11-toolkits/rubygem-gdk4/pkg-descr
@@ -0,0 +1,3 @@
+Ruby/GDK4 is a Ruby binding of GDK-4.x.
+
+WWW: https://ruby-gnome2.osdn.jp/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107141616.16EGGbTn008414>