From c8090710aeea82e301525274ad562de03ac56741 Mon Sep 17 00:00:00 2001 From: Christoph Moench-Tegeder Date: Tue, 11 May 2021 22:29:58 +0200 Subject: [PATCH] x11-toolkits/p5-Gtk3-ImageView: new port Gtk3::ImageView - Image viewer widget for Gtk3 https://metacpan.org/pod/Gtk3::ImageView --- x11-toolkits/Makefile | 1 + x11-toolkits/p5-Gtk3-ImageView/Makefile | 27 ++++++++++++++++++++++++ x11-toolkits/p5-Gtk3-ImageView/distinfo | 3 +++ x11-toolkits/p5-Gtk3-ImageView/pkg-descr | 9 ++++++++ x11-toolkits/p5-Gtk3-ImageView/pkg-plist | 6 ++++++ 5 files changed, 46 insertions(+) create mode 100644 x11-toolkits/p5-Gtk3-ImageView/Makefile create mode 100644 x11-toolkits/p5-Gtk3-ImageView/distinfo create mode 100644 x11-toolkits/p5-Gtk3-ImageView/pkg-descr create mode 100644 x11-toolkits/p5-Gtk3-ImageView/pkg-plist diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 3a975dddf833..99a5804a8261 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -111,6 +111,7 @@ SUBDIR += p5-Gtk2-PathButtonBar SUBDIR += p5-Gtk2-TrayIcon SUBDIR += p5-Gtk3 + SUBDIR += p5-Gtk3-ImageView SUBDIR += p5-Gtk3-SimpleList SUBDIR += p5-Pango SUBDIR += p5-Prima diff --git a/x11-toolkits/p5-Gtk3-ImageView/Makefile b/x11-toolkits/p5-Gtk3-ImageView/Makefile new file mode 100644 index 000000000000..6df7dab8381a --- /dev/null +++ b/x11-toolkits/p5-Gtk3-ImageView/Makefile @@ -0,0 +1,27 @@ +# created by: cmt@FreeBSD.org + +PORTNAME= Gtk3-ImageView +PORTVERSION= 8 +CATEGORIES= x11-toolkits perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:ASOKOLOV +PKGNAMEPREFIX= p5- + +MAINTAINER= cmt@FreeBSD.org +COMMENT= Perl bindings to the GtkImageView image viewer widget + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Gtk3>=0.034:x11-toolkits/p5-Gtk3 \ + p5-Glib>=1.163:devel/p5-Glib \ + p5-Readonly>0:devel/p5-Readonly + +USES= gnome perl5 +USE_PERL5= configure +USE_GNOME= gtk30 + +NO_ARCH= yes + +.include diff --git a/x11-toolkits/p5-Gtk3-ImageView/distinfo b/x11-toolkits/p5-Gtk3-ImageView/distinfo new file mode 100644 index 000000000000..9d62a147b2c5 --- /dev/null +++ b/x11-toolkits/p5-Gtk3-ImageView/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1620754300 +SHA256 (Gtk3-ImageView-8.tar.gz) = a74dcc61b8fa534a5b4e62dae22e429cd70a78cacdd548cfd1669e9eac28ae2d +SIZE (Gtk3-ImageView-8.tar.gz) = 16025 diff --git a/x11-toolkits/p5-Gtk3-ImageView/pkg-descr b/x11-toolkits/p5-Gtk3-ImageView/pkg-descr new file mode 100644 index 000000000000..b250f14bdb9f --- /dev/null +++ b/x11-toolkits/p5-Gtk3-ImageView/pkg-descr @@ -0,0 +1,9 @@ +The Gtk3::ImageView widget allows the user to zoom, pan and select the +specified image and provides hooks to allow additional tools, e.g. +painter, to be created and used. + +Gtk3::ImageView is a Gtk3 port of Gtk2::ImageView. + +Find out more about GtkImageView at http://trac.bjourne.webfactional.com/. + +WWW: https://metacpan.org/release/Gtk3-ImageView diff --git a/x11-toolkits/p5-Gtk3-ImageView/pkg-plist b/x11-toolkits/p5-Gtk3-ImageView/pkg-plist new file mode 100644 index 000000000000..17ac625ef8c6 --- /dev/null +++ b/x11-toolkits/p5-Gtk3-ImageView/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Gtk3/ImageView.pm +%%SITE_PERL%%/Gtk3/ImageView/Tool.pm +%%SITE_PERL%%/Gtk3/ImageView/Tool/Dragger.pm +%%SITE_PERL%%/Gtk3/ImageView/Tool/Selector.pm +%%SITE_PERL%%/Gtk3/ImageView/Tool/SelectorDragger.pm +%%PERL5_MAN3%%/Gtk3::ImageView.3.gz