summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-05 00:07:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-05 00:08:09 +0200
commit9e5f6718613cf045f490713b88d2664b224fb118 (patch)
tree787dcd20dc3876843efafd9b4bc5898bf8219d5b /media-gfx/maim
parentx11-misc/slop: 7.5 version bump (diff)
downloadgentoo-9e5f6718613cf045f490713b88d2664b224fb118.tar.gz
gentoo-9e5f6718613cf045f490713b88d2664b224fb118.tar.bz2
gentoo-9e5f6718613cf045f490713b88d2664b224fb118.zip
media-gfx/maim: 5.6.3 version bump
Closes: https://bugs.gentoo.org/711980 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/maim')
-rw-r--r--media-gfx/maim/Manifest1
-rw-r--r--media-gfx/maim/maim-5.6.3.ebuild42
-rw-r--r--media-gfx/maim/maim-9999.ebuild9
3 files changed, 48 insertions, 4 deletions
diff --git a/media-gfx/maim/Manifest b/media-gfx/maim/Manifest
index c38019da3fbc..76af00548e26 100644
--- a/media-gfx/maim/Manifest
+++ b/media-gfx/maim/Manifest
@@ -1 +1,2 @@
DIST maim-5.5.3.tar.gz 40083 BLAKE2B 93392bcec8d1ae5188c27414695b04d0ff94a0824e9ef4a7fe8ca0949a1583b7dc7893346bde94bcdf629d9dc8d3f8350a8484eb8cc5bcbf8ff24cbdcb651b10 SHA512 bbcd4f0276090b9650cda88e527d0d1b80270a50935fbc02aac9a302a64bc3975386f24a97d8eb3c1f97d7d32cc9905d5e1f652915fbe3aae0766bd90bc5f51a
+DIST maim-5.6.3.tar.gz 40217 BLAKE2B 90f6854d8e54b92f8c6e8d5b597ea287e85e622ad689f1b72361aa919d0ce57bf4f28f289fd0da51b30c1195977b70982837d8b4b81ec5597361bc6ed5f1ad0a SHA512 8e19bd4e89db117bcb74a9b9e35f3232cdd0ef3836a536d170f803d7159fbc4be415d20695e5e61942ff7714d990d027149cee20a689f797d25d01610cc1c3be
diff --git a/media-gfx/maim/maim-5.6.3.ebuild b/media-gfx/maim/maim-5.6.3.ebuild
new file mode 100644
index 000000000000..561201c54d12
--- /dev/null
+++ b/media-gfx/maim/maim-5.6.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Commandline tool to take screenshots of the desktop"
+HOMEPAGE="https://github.com/naelstrof/maim"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/naelstrof/maim.git"
+else
+ SRC_URI="https://github.com/naelstrof/maim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="icu"
+
+DEPEND="
+ media-libs/libglvnd
+ media-libs/libpng:0=
+ virtual/jpeg:0
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ >=x11-misc/slop-7.5:=
+ icu? ( dev-libs/icu:= )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DMAIM_UNICODE=$(usex icu)
+ )
+ cmake_src_configure
+}
diff --git a/media-gfx/maim/maim-9999.ebuild b/media-gfx/maim/maim-9999.ebuild
index 7d5505eca012..561201c54d12 100644
--- a/media-gfx/maim/maim-9999.ebuild
+++ b/media-gfx/maim/maim-9999.ebuild
@@ -18,9 +18,10 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="unicode"
+IUSE="icu"
DEPEND="
+ media-libs/libglvnd
media-libs/libpng:0=
virtual/jpeg:0
x11-libs/libX11
@@ -29,13 +30,13 @@ DEPEND="
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libXrender
- x11-misc/slop:=
- unicode? ( dev-libs/icu:= )"
+ >=x11-misc/slop-7.5:=
+ icu? ( dev-libs/icu:= )"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
- -DMAIM_UNICODE=$(usex unicode)
+ -DMAIM_UNICODE=$(usex icu)
)
cmake_src_configure
}