summaryrefslogtreecommitdiff
path: root/media-gfx/maim
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/maim')
-rw-r--r--media-gfx/maim/Manifest6
-rw-r--r--media-gfx/maim/files/maim-3.4.47-no-gengetopt.patch24
-rw-r--r--media-gfx/maim/maim-3.4.47.ebuild26
-rw-r--r--media-gfx/maim/maim-5.4.63.ebuild30
-rw-r--r--media-gfx/maim/metadata.xml18
5 files changed, 104 insertions, 0 deletions
diff --git a/media-gfx/maim/Manifest b/media-gfx/maim/Manifest
new file mode 100644
index 000000000000..1a09c844867a
--- /dev/null
+++ b/media-gfx/maim/Manifest
@@ -0,0 +1,6 @@
+AUX maim-3.4.47-no-gengetopt.patch 1221 SHA256 0cb6d58a1efdb21cf232141df43befe778ea8e6b6994fb4c1942e595d68d912b SHA512 16a4f5f090d5072353144f0c0115cb0d5614206ec1d23b2415277744b3551f0e3c83445c2da96e93e99b49ddae965e368255daa707e1bd039620f5f445d859d8 WHIRLPOOL ecce066a05143c6c1fde945730659842b80a78323bc166c7007e2ad0d4cfea369889b47a3290a367f0247db02d7746c040395a205296914f3b19ab54c2ab5841
+DIST maim-3.4.47.tar.gz 46799 SHA256 fb12524cc05f7f4ff46fe40b951334c6dbc274e50b6d0ea08185f555ca3cd74d SHA512 4b21f8ad8f9f2f19693d5c489f5e815133e1b8308653c52934cdb8a3d8ae38732733a5ffb5527b44db49f59c3818a9bc83840ced5db71807a68277d0dcc03392 WHIRLPOOL de21bb02c2923fd158cc691df09ff9a55121206f2f491a6b4bcf080b7b56032822f7ac4bad98028294f5f6e6e103fb393db3933dc3a7efcd383db6602d2d17d9
+DIST maim-5.4.63.tar.gz 39666 SHA256 00753b7146348b4c0f76fb4254b3557d344d94db953b395483f1a657ebf09459 SHA512 d84cfe051109c9c4b79f2a006f2d73a0fa9cd40151c9d6996740326766886f8b070bc49029d0d3810fd8743cc63d76c051fc249e53b4e9ff37faf8708c149dfd WHIRLPOOL afb661a2f3e1a2b5103a40fdee5765f9ded1530e5e2d3a25702371cef7ae2b48b6401f50751fb9ef83ac64863d682e7e0170e4cb945c2032a9d3398b42c685ff
+EBUILD maim-3.4.47.ebuild 571 SHA256 bc2a5f633e49ccf642160d3fc10994b04c2aa05739a754f6b65f46ef5547b461 SHA512 6eb7fb72a17d8bd8dc8d78bf60aa6153c7d50d9a7325a2235795bba0e05f214dd8fd139af7bcd76a94001092b5e91870491888c6926d9b2f886f18eb6373fc33 WHIRLPOOL 0388d2496235f32a8ffa3baa75b8e1fc1e19b803922822c737cddaca0148b9d17107ab338132d1b115d3e1d497312f911803b687db74b2ada32e84b779f837bd
+EBUILD maim-5.4.63.ebuild 599 SHA256 56ff9777eb0ccde2a4e575cd7e0b639531dc44206e61395bda2dd6008822092f SHA512 a889034dd4c81f939c7e0edcb01f1de36b54e68bd8f793b08c935ba3affec3449c7492d418b7e614cf340e0092cd27410f72fa56b914d3d6ed6b9de849d607e6 WHIRLPOOL dd9873306a6e5cc395d01026fe9c0360a0c9e40d19dd22c0f8b04282dd51b290fbcbfb3aafc6cdcebef40cf03064ffba7f7681d6879e44dd6cfb73826fea6251
+MISC metadata.xml 574 SHA256 33db033d8302b72a0f6cea1c58ade665e81fb42c675cf7f883843714f2445bf5 SHA512 db87fa0cbc96b7fe012aa91d294fd28d5e584c24046ee6de415f22e28efd981bd839d4e3cc9019a407eabd184b0b73a0c03ba38d2657674fdafa091752e10f4c WHIRLPOOL 408b38ac2f106a5acb051f9f2829f4092240ef2262e088bc35f765818d889e4be524e58b2d74573b720bb83e478e41de4ccd3b029ed2123027058bd372fdf678
diff --git a/media-gfx/maim/files/maim-3.4.47-no-gengetopt.patch b/media-gfx/maim/files/maim-3.4.47-no-gengetopt.patch
new file mode 100644
index 000000000000..7a1035d3daf2
--- /dev/null
+++ b/media-gfx/maim/files/maim-3.4.47-no-gengetopt.patch
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fe4cd5f..f0eb718 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -65,19 +65,6 @@ if ( RONN_EXECUTABLE AND GZIP_EXECUTABLE )
+ WORKING_DIRECTORY man-src VERBATIM )
+ endif()
+
+-# Here we generate some of our code if we can. I package it pre-generated
+-# so nobody has to go find and install gengetopt if they don't want to.
+-find_program( GENGETOPT_EXECUTABLE gengetopt
+- DOC "A tool to generate code to grab command line options." )
+-if ( GENGETOPT_EXECUTABLE )
+- message( "-- Regenerating cmdline.in" )
+- execute_process( COMMAND "${GENGETOPT_EXECUTABLE}" "--input=options.ggo"
+- WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src" )
+- file( RENAME "${CMAKE_SOURCE_DIR}/src/cmdline.h" "${CMAKE_SOURCE_DIR}/src/cmdline.in" )
+-else()
+- message( "Warning: Command gengetopt not found! Won't regenerate command line code. (If you're just compiling this doesn't matter.)" )
+-endif()
+-
+ # By default our src/options.ggo has our cmake versions variables for
+ # the 'version ""' line. We replace them here.
+ # The ${CMAKE_SOURCE_DIR} is there to fix problems with OpenBSD's out-of-source build black magic.
diff --git a/media-gfx/maim/maim-3.4.47.ebuild b/media-gfx/maim/maim-3.4.47.ebuild
new file mode 100644
index 000000000000..374899e4f477
--- /dev/null
+++ b/media-gfx/maim/maim-3.4.47.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Commandline tool to take screenshots of the desktop"
+HOMEPAGE="https://github.com/naelstrof/maim"
+SRC_URI="https://github.com/naelstrof/maim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/maim-3.4.47-no-gengetopt.patch" )
+
+DEPEND="
+ media-libs/imlib2[X]
+ x11-libs/libX11
+ x11-libs/libXrandr
+ x11-libs/libXfixes"
+RDEPEND="
+ ${DEPEND}
+ x11-misc/slop"
diff --git a/media-gfx/maim/maim-5.4.63.ebuild b/media-gfx/maim/maim-5.4.63.ebuild
new file mode 100644
index 000000000000..3f7ece5696d3
--- /dev/null
+++ b/media-gfx/maim/maim-5.4.63.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Commandline tool to take screenshots of the desktop"
+HOMEPAGE="https://github.com/naelstrof/maim"
+SRC_URI="https://github.com/naelstrof/maim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ media-libs/libjpeg-turbo
+ media-libs/libpng:0=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+"
+
+DEPEND="${RDEPEND}
+ x11-libs/libXcomposite
+ virtual/opengl
+ x11-misc/slop
+"
diff --git a/media-gfx/maim/metadata.xml b/media-gfx/maim/metadata.xml
new file mode 100644
index 000000000000..86992144c590
--- /dev/null
+++ b/media-gfx/maim/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>palipalo9@googlemail.com</email>
+ <name>Ingolf Wagner</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ maim (Make Image) is a utility that takes screenshots of your desktop using imlib2.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">naelstrof/maim</remote-id>
+ </upstream>
+</pkgmetadata>