Import of pkgsrc-2014Q1
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ruby-libnotify is a ruby binding for libnotify (http://www.galago-project.org)
|
||||
@@ -0,0 +1,22 @@
|
||||
# $NetBSD: Makefile,v 1.6 2014/03/26 14:27:22 taca Exp $
|
||||
|
||||
DISTNAME= ruby-libnotify-0.5.1
|
||||
PKGNAME= ${DISTNAME:S/ruby/${RUBY_PKGPREFIX}/}
|
||||
PKGREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= -https://github.com/vargolo/ruby-libnotify/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= obache@NetBSD.org
|
||||
HOMEPAGE= http://github.com/vargolo/ruby-libnotify
|
||||
COMMENT= Ruby binding for libnotify
|
||||
LICENSE= gnu-lgpl-v2.1
|
||||
|
||||
USE_RUBY_SETUP= yes
|
||||
|
||||
RUBY_VERSION_SUPPORTED= 193 200 21
|
||||
|
||||
.include "../../x11/ruby-gnome2-gtk/buildlink3.mk"
|
||||
.include "../../sysutils/libnotify/buildlink3.mk"
|
||||
.include "../../devel/ruby-pkg-config/tool.mk"
|
||||
.include "../../lang/ruby/modules.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
@@ -0,0 +1,3 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/08/14 12:51:16 obache Exp $
|
||||
${RUBY_SITELIB}/RNotify.rb
|
||||
${RUBY_SITEARCHLIB}/rnotify.${RUBY_DLEXT}
|
||||
@@ -0,0 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.3 2013/09/18 08:33:32 obache Exp $
|
||||
|
||||
SHA1 (ruby-libnotify-0.5.1.tar.gz) = 49c03da48c80ce962d164338e030114bd99300ef
|
||||
RMD160 (ruby-libnotify-0.5.1.tar.gz) = 97285d65f55938b9902841e76e8da69108313a06
|
||||
Size (ruby-libnotify-0.5.1.tar.gz) = 25822 bytes
|
||||
SHA1 (patch-ext_extconf.rb) = 62094980312bac7ac3f9c8bff423056aefaea3ec
|
||||
SHA1 (patch-ext_rnotify.c) = f737a74df9eb3556cff6e4f64cbf25413073e30f
|
||||
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-ext_extconf.rb,v 1.1 2013/09/18 08:33:32 obache Exp $
|
||||
|
||||
* not using gems in pkgsrc.
|
||||
|
||||
--- ext/extconf.rb.orig 2012-11-24 17:54:50.000000000 +0000
|
||||
+++ ext/extconf.rb
|
||||
@@ -5,8 +5,6 @@ type=0, DEBUG
|
||||
type=1, RELEASE
|
||||
=end
|
||||
|
||||
-require 'rubygems'
|
||||
-
|
||||
begin
|
||||
require 'mkmf-gnome2'
|
||||
require 'gtk2'
|
||||
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-ext_rnotify.c,v 1.1 2013/08/30 16:55:47 joerg Exp $
|
||||
|
||||
--- ext/rnotify.c.orig 2013-08-30 16:12:51.000000000 +0000
|
||||
+++ ext/rnotify.c
|
||||
@@ -12,6 +12,10 @@
|
||||
#define MODULE_NAME "Notify"
|
||||
#define CLASS_NAME "Notification"
|
||||
|
||||
+#ifndef UNUSED
|
||||
+#define UNUSED(x) x
|
||||
+#endif
|
||||
+
|
||||
typedef struct _ActionData ActionData;
|
||||
struct _ActionData
|
||||
{
|
||||
Reference in New Issue
Block a user