Update to 3.1.3

- Add USES=gnome

Changes:	https://github.com/ruby-gnome2/ruby-gnome2/blob/master/NEWS
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-04-28 20:43:31 +00:00
parent b9b7510b51
commit 0c57800848
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439660
3 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= gtk2
PORTVERSION= 3.1.1
PORTVERSION= 3.1.3
CATEGORIES= x11-toolkits rubygems
MASTER_SITES= RG
@ -16,6 +16,6 @@ RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \
USE_GNOME= gtk20
USE_RUBY= yes
USES= gem
USES= gem gnome
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1488814838
SHA256 (rubygem/gtk2-3.1.1.gem) = bcb07a66e7eef16fa5a800f2fd88504ae9b0b7dea81cc6c0a46f760306758b01
SIZE (rubygem/gtk2-3.1.1.gem) = 466944
TIMESTAMP = 1493381449
SHA256 (rubygem/gtk2-3.1.3.gem) = 1677c39c553ee52c60764c2fa429c4a66a8073f267bef62fef7508409b2a3503
SIZE (rubygem/gtk2-3.1.3.gem) = 466944

View file

@ -1,11 +1,11 @@
--- ext/gtk2/extconf.rb.orig 2016-01-19 22:27:15 UTC
--- ext/gtk2/extconf.rb.orig 2017-04-28 06:44:21 UTC
+++ ext/gtk2/extconf.rb
@@ -33,7 +33,7 @@ end
have_func("rb_errinfo")
-["glib2", "atk", "pango", "gdk_pixbuf2"].each do |package|
+["cairo", "glib2", "atk", "pango", "gdk_pixbuf2"].each do |package|
-["glib2", "pango"].each do |package|
+["cairo", "glib2", "pango"].each do |package|
directory = "#{package}#{version_suffix}"
build_dir = "#{directory}/tmp/#{RUBY_PLATFORM}/#{package}/#{RUBY_VERSION}"
add_depend_package(package, "#{directory}/ext/#{package}",