diff options
author | nia <nia@pkgsrc.org> | 2018-07-28 15:19:59 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2018-07-28 15:19:59 +0000 |
commit | 22fba7e8887d270b3f11689919297635555bb6db (patch) | |
tree | 4b27c60f8231463b4f78abb359d317de5467cb42 /x11/slop | |
parent | 39cb71a6a3a5cb29f117412bab03cb069315d1f5 (diff) | |
download | pkgsrc-22fba7e8887d270b3f11689919297635555bb6db.tar.gz |
x11/slop: Import slop-7.4
slop (Select Operation) is an X11 application that queries for a screen
area selection from the user and prints the region to stdout.
Diffstat (limited to 'x11/slop')
-rw-r--r-- | x11/slop/DESCR | 2 | ||||
-rw-r--r-- | x11/slop/Makefile | 26 | ||||
-rw-r--r-- | x11/slop/PLIST | 6 | ||||
-rw-r--r-- | x11/slop/buildlink3.mk | 18 | ||||
-rw-r--r-- | x11/slop/distinfo | 8 | ||||
-rw-r--r-- | x11/slop/patches/patch-src_framebuffer.cpp | 11 | ||||
-rw-r--r-- | x11/slop/patches/patch-src_shader.hpp | 14 |
7 files changed, 85 insertions, 0 deletions
diff --git a/x11/slop/DESCR b/x11/slop/DESCR new file mode 100644 index 00000000000..bbb621fb9cf --- /dev/null +++ b/x11/slop/DESCR @@ -0,0 +1,2 @@ +slop (Select Operation) is an X11 application that queries for a screen +area selection from the user and prints the region to stdout. diff --git a/x11/slop/Makefile b/x11/slop/Makefile new file mode 100644 index 00000000000..61a6678e4da --- /dev/null +++ b/x11/slop/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2018/07/28 15:19:59 nia Exp $ + +DISTNAME= slop-7.4 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_GITHUB:=naelstrof/} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= nia@NetBSD.org +HOMEPAGE= https://github.com/naelstrof/slop +COMMENT= X display selection tool +LICENSE= gnu-gpl-v3 + +EXTRACT_USING= bsdtar + +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ +USE_CMAKE= yes + +.include "../../graphics/glew/buildlink3.mk" +.include "../../graphics/glm/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../textproc/icu/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXrender/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/slop/PLIST b/x11/slop/PLIST new file mode 100644 index 00000000000..3cde4babe95 --- /dev/null +++ b/x11/slop/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2018/07/28 15:19:59 nia Exp $ +bin/slop +include/slop.hpp +lib/libslopy.so +lib/libslopy.so.${PKGVERSION} +man/man1/slop.1 diff --git a/x11/slop/buildlink3.mk b/x11/slop/buildlink3.mk new file mode 100644 index 00000000000..8988e78595f --- /dev/null +++ b/x11/slop/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/07/28 15:19:59 nia Exp $ + +BUILDLINK_TREE+= slop + +.if !defined(SLOP_BUILDLINK3_MK) +SLOP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.slop+= slop>=7.4 +BUILDLINK_PKGSRCDIR.slop?= ../../x11/slop + +.include "../../graphics/glew/buildlink3.mk" +.include "../../graphics/MesaLib/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXrender/buildlink3.mk" +.endif # SLOP_BUILDLINK3_MK + +BUILDLINK_TREE+= -slop diff --git a/x11/slop/distinfo b/x11/slop/distinfo new file mode 100644 index 00000000000..f78648a527d --- /dev/null +++ b/x11/slop/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1 2018/07/28 15:19:59 nia Exp $ + +SHA1 (slop-7.4.tar.gz) = 0e1d3c1d1996d743eb4067ee90b55fcce009906f +RMD160 (slop-7.4.tar.gz) = fa1fe48b3d12f4d17be27d9bf4f586fb2edf49e5 +SHA512 (slop-7.4.tar.gz) = 13d09c2c9f05760ee0a273edb6d40da8a87989d3f071a8c868a0c7e535ba89b9eb934c79d56212cd689687f86e3683cef1b749ef7b37be3805ea8eb05c796e58 +Size (slop-7.4.tar.gz) = 50079 bytes +SHA1 (patch-src_framebuffer.cpp) = 19abfe6d4a93808fb024b2ca36ca70ce351d1ff2 +SHA1 (patch-src_shader.hpp) = 0c0c2b5d1e431d5097ac9c72814e6421d3e7afff diff --git a/x11/slop/patches/patch-src_framebuffer.cpp b/x11/slop/patches/patch-src_framebuffer.cpp new file mode 100644 index 00000000000..4a0d99b208b --- /dev/null +++ b/x11/slop/patches/patch-src_framebuffer.cpp @@ -0,0 +1,11 @@ +$NetBSD: patch-src_framebuffer.cpp,v 1.1 2018/07/28 15:19:59 nia Exp $ + +error: 'XDestroyImage' was not declared in this scope + +--- src/framebuffer.cpp.orig 2018-04-23 07:56:02.000000000 +0000 ++++ src/framebuffer.cpp +@@ -1,3 +1,4 @@ ++#include <X11/Xutil.h> + #include "framebuffer.hpp" + + slop::Framebuffer::Framebuffer( int w, int h ) { diff --git a/x11/slop/patches/patch-src_shader.hpp b/x11/slop/patches/patch-src_shader.hpp new file mode 100644 index 00000000000..03e5f9136d6 --- /dev/null +++ b/x11/slop/patches/patch-src_shader.hpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_shader.hpp,v 1.1 2018/07/28 15:19:59 nia Exp $ + +Don't introduce an unneeded dependency on egl support. + +--- src/shader.hpp.orig 2018-04-23 07:56:02.000000000 +0000 ++++ src/shader.hpp +@@ -29,7 +29,6 @@ + #include <GL/glew.h> + #include <glm/glm.hpp> + #include <glm/gtc/type_ptr.hpp> +-#include <EGL/egl.h> + #include <GL/gl.h> + + #include "resource.hpp" |