commit:     73c7d1d23b25acb18e36f8acade1dfc52c0f4de3
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 17:22:03 2024 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 19:49:28 2024 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=73c7d1d2

media-gfx/lximage-qt: add 2.0.0

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 media-gfx/lximage-qt/Manifest                |  1 +
 media-gfx/lximage-qt/lximage-qt-2.0.0.ebuild | 48 ++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/media-gfx/lximage-qt/Manifest b/media-gfx/lximage-qt/Manifest
new file mode 100644
index 00000000..4d60d616
--- /dev/null
+++ b/media-gfx/lximage-qt/Manifest
@@ -0,0 +1 @@
+DIST lximage-qt-2.0.0.tar.xz 847796 BLAKE2B 
4a81730bfc71b3746f7df9a357feb2480c4d4ed1462b70349113fa2b0b4e2c77471205549366cba99236d836753235cb929a6c98b3c08c346346a89ba70e3935
 SHA512 
f0d8b810915102ecd2cff0b78049056eb6eb3e7b7112bac13742f780d1cacc51fce12114dacc47ca6846d77d01bf21efca0666b1d5f6ca467a6e07deefeee83a

diff --git a/media-gfx/lximage-qt/lximage-qt-2.0.0.ebuild 
b/media-gfx/lximage-qt/lximage-qt-2.0.0.ebuild
new file mode 100644
index 00000000..5a929584
--- /dev/null
+++ b/media-gfx/lximage-qt/lximage-qt-2.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="$(ver_cut 1-2)"
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Qt Image Viewer"
+HOMEPAGE="https://lxqt-project.org/";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/lxqt/${PN}.git";
+else
+       
SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+
+BDEPEND="
+       >=dev-qt/qttools-6.6:6[linguist]
+       >=dev-util/lxqt-build-tools-2.0.0
+       virtual/pkgconfig
+"
+DEPEND="
+       dev-libs/glib:2
+       >=dev-qt/qtbase-6.6:6[dbus,gui,network,widgets]
+       >=dev-qt/qtsvg-6.6:6
+       media-libs/libexif
+       =x11-libs/libfm-qt-${MY_PV}*:=
+       x11-libs/libX11
+       x11-libs/libXfixes
+"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to