From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/ueberzugpp/
Date: Fri, 12 May 2023 09:02:44 +0000 (UTC) [thread overview]
Message-ID: <1683881978.c8c3cbd7ba47ebcffc0b53cf5c3c65d73561eff1.ionen@gentoo> (raw)
commit: c8c3cbd7ba47ebcffc0b53cf5c3c65d73561eff1
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 23:35:32 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 12 08:59:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c3cbd7
media-gfx/ueberzugpp: new package, add 2.8.0
This is a more versatile+faster ueberzug, albeit with heavier
dependencies and some users may prefer the original if it does
all they need.
>=net-misc/ytfzf-2.6.0 recognizes the pp version and supports
more features with it.
Still untested with masked libfmt-10 (assume may be broken), but
can't easily try given spdlog (also a dependency) is itself broken
with it.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-gfx/ueberzugpp/Manifest | 1 +
media-gfx/ueberzugpp/metadata.xml | 14 +++++++
media-gfx/ueberzugpp/ueberzugpp-2.8.0.ebuild | 58 ++++++++++++++++++++++++++++
3 files changed, 73 insertions(+)
diff --git a/media-gfx/ueberzugpp/Manifest b/media-gfx/ueberzugpp/Manifest
new file mode 100644
index 000000000000..6ada33d3f14a
--- /dev/null
+++ b/media-gfx/ueberzugpp/Manifest
@@ -0,0 +1 @@
+DIST ueberzugpp-2.8.0.tar.gz 38768 BLAKE2B 80c879196339e3ce8fc5aeb2a87df8d3785021f72e5c0e47c55026d5cefc8cd3caa2174fea8413c642f54190970480488a6ec09d93e765b59dcf6616369dfbb7 SHA512 a5fceec97300cc3ada6c087fadc3b2d70f574207c5fd3f682c1a56b877c2b76ff40abe0ae76767e22ae82742be2bedee782e0ec86d200d28a15061bc1b4c2696
diff --git a/media-gfx/ueberzugpp/metadata.xml b/media-gfx/ueberzugpp/metadata.xml
new file mode 100644
index 000000000000..19342d5360ec
--- /dev/null
+++ b/media-gfx/ueberzugpp/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <use>
+ <flag name="opencv">Use <pkg>media-libs/opencv</pkg> for additional image formats and OpenCL accelerated scaling</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jstkdng/ueberzugpp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.8.0.ebuild b/media-gfx/ueberzugpp/ueberzugpp-2.8.0.ebuild
new file mode 100644
index 000000000000..f096268d66ed
--- /dev/null
+++ b/media-gfx/ueberzugpp/ueberzugpp-2.8.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Drop in replacement for ueberzug written in C++"
+HOMEPAGE="https://github.com/jstkdng/ueberzugpp/"
+SRC_URI="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X opencv"
+
+RDEPEND="
+ dev-cpp/tbb:=
+ dev-libs/glib:2
+ dev-libs/libfmt:=
+ dev-libs/openssl:=
+ dev-libs/spdlog:=
+ media-libs/libsixel
+ media-libs/vips:=
+ net-libs/zeromq:=
+ X? (
+ x11-libs/libxcb:=
+ x11-libs/xcb-util-image
+ )
+ opencv? ( media-libs/opencv:= )
+ !media-gfx/ueberzug"
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/cli11
+ dev-cpp/nlohmann_json
+ net-libs/cppzmq
+ X? ( x11-base/xorg-proto )"
+
+src_configure() {
+ CMAKE_BUILD_TYPE=Release # install target wants this
+
+ local mycmakeargs=(
+ -DENABLE_OPENCV=$(usex opencv)
+ -DENABLE_X11=$(usex X)
+ -DENABLE_TURBOBASE64=no # not packaged
+ -DFETCHCONTENT_FULLY_DISCONNECTED=yes
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ # not handled by cmake, but upstream creates the pp symlink in their
+ # self-maintained AUR package and some scripts like ytfzf look for it
+ dosym ueberzug /usr/bin/${PN}
+}
next reply other threads:[~2023-05-12 9:02 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-12 9:02 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-12 9:02 [gentoo-commits] repo/gentoo:master commit in: media-gfx/ueberzugpp/ Ionen Wolkens
2023-05-13 7:27 Ionen Wolkens
2023-05-13 7:27 Ionen Wolkens
2023-05-16 6:43 Ionen Wolkens
2023-05-21 19:10 Ionen Wolkens
2023-05-21 19:10 Ionen Wolkens
2023-05-26 2:39 Ionen Wolkens
2023-05-26 23:16 Ionen Wolkens
2023-05-28 21:45 Ionen Wolkens
2023-05-28 21:45 Ionen Wolkens
2023-06-01 11:45 Ionen Wolkens
2023-06-10 11:09 Ionen Wolkens
2023-06-10 11:09 Ionen Wolkens
2023-06-23 22:10 Ionen Wolkens
2023-06-23 22:10 Ionen Wolkens
2023-07-18 1:26 Ionen Wolkens
2023-08-06 4:32 Ionen Wolkens
2023-08-08 6:36 Ionen Wolkens
2023-08-19 11:00 Ionen Wolkens
2023-08-19 11:00 Ionen Wolkens
2023-09-18 11:57 Ionen Wolkens
2023-09-19 12:43 Ionen Wolkens
2023-10-10 20:20 Ionen Wolkens
2024-01-16 5:46 Viorel Munteanu
2024-02-25 1:19 Ionen Wolkens
2024-02-26 11:43 Ionen Wolkens
2024-03-20 7:17 Ionen Wolkens
2024-03-22 6:14 Arthur Zamarin
2024-05-11 8:32 Ionen Wolkens
2024-05-26 18:19 Arthur Zamarin
2024-06-09 16:04 Ionen Wolkens
2024-06-25 22:03 Sam James
2024-06-28 14:45 Ionen Wolkens
2024-08-19 2:24 Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1683881978.c8c3cbd7ba47ebcffc0b53cf5c3c65d73561eff1.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox