commit: 24d4f2182ac7debfe6fc57c31a7e06935ab058fb Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Sat Jun 28 22:54:50 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 29 08:36:50 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d4f218
media-gfx/maim: add 5.8.1 * Remove the incorrect dependency on virtual/opengl, which was a remnant of version 5.8.0. * CMakeLists.txt adds a dependency on media-libs/glm, which we previously pulled in transitively. See-also: https://github.com/naelstrof/maim/pull/301 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> Part-of: https://github.com/gentoo/gentoo/pull/42792 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/maim/Manifest | 1 + media-gfx/maim/maim-5.8.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/media-gfx/maim/Manifest b/media-gfx/maim/Manifest index a3ee3b49f9b7..020fb5413ff3 100644 --- a/media-gfx/maim/Manifest +++ b/media-gfx/maim/Manifest @@ -1 +1,2 @@ DIST maim-5.8.0.tar.gz 42224 BLAKE2B 572743db1d59d802ed7eb7e259a5cb4a4d2147d95169bbb40adf6d36b849562e8f1756b082bc076bc46d2449827ac3b02f0b539ce86760c755920b4e35b6762d SHA512 418725b1950f9374c2ff7508e1c52f6986b253ea1c155ef28604e514f1cf0753185eea43cde76a65b9de80bb8dd65ced48b49ce5dfccaf20f5caa49f41743f5b +DIST maim-5.8.1.tar.gz 41729 BLAKE2B 540be4bd3bab3b10c5aace41835c3932ae1c92b1492ef2cfa21d3613c8c3453bd1c27f4111a638799203c371133e676c5ebe14ec01e1a744b075575d73d62a2f SHA512 34f649b3f1143833bc5a564c18f5aa99e1550792767f33165fc8212efef43ecfba7857791729945d25749c6cf17d707e35a0069f0a590a3c67a4648d952830aa diff --git a/media-gfx/maim/maim-5.8.1.ebuild b/media-gfx/maim/maim-5.8.1.ebuild new file mode 100644 index 000000000000..8e3d786790ae --- /dev/null +++ b/media-gfx/maim/maim-5.8.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature + +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+ MIT" +SLOT="0" +IUSE="icu" + +COMMON_DEPEND=" + media-libs/libjpeg-turbo:= + media-libs/libpng:0= + media-libs/libwebp:= + 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:= ) +" +DEPEND=" + ${COMMON_DEPEND} + media-libs/glm + x11-base/xorg-proto +" +RDEPEND="${COMMON_DEPEND}" + +src_configure() { + local mycmakeargs=( + -DMAIM_UNICODE=$(usex icu) + ) + cmake_src_configure +} + +pkg_postinst() { + optfeature "using OpenGL-based CLI flags" x11-misc/slop[opengl] +}
