commit:     2904717a29a1f69010f6d3c8eea84ca1e232a5ad
Author:     Laurent Morretton <laurent <AT> morretton <DOT> fr>
AuthorDate: Mon Jun  5 20:05:42 2023 +0000
Commit:     Laurent Morretton <laurent.morretton <AT> gmail <DOT> com>
CommitDate: Mon Jun  5 20:16:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2904717a

net-im/fractal: new package, add 5_beta1

Signed-off-by: Laurent Morretton <laurent <AT> morretton.fr>

 net-im/fractal/Manifest               |  1 +
 net-im/fractal/fractal-5_beta1.ebuild | 59 +++++++++++++++++++++++++++++++++++
 net-im/fractal/metadata.xml           | 11 +++++++
 3 files changed, 71 insertions(+)

diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest
new file mode 100644
index 000000000..55d6963e2
--- /dev/null
+++ b/net-im/fractal/Manifest
@@ -0,0 +1 @@
+DIST fractal-5.beta1.tar.bz2 699474 BLAKE2B 
57fb2316f58009d2c6de53036231d7a3fab70dcbd12ec71cdc58c743d8d78a43e3c9eff91836f481daddf68405f7b8a6cd3d6e2f6c1fa22e752579ab1893df45
 SHA512 
e31f5f0503efc8a98fd03d42080f9c77e292587b4dd18b5c0a67dc273d017174a96d5176974ccb3d7c4aa90bddc4f0ac8fc3c339d6fd2874fad4fb7c18a603ac

diff --git a/net-im/fractal/fractal-5_beta1.ebuild 
b/net-im/fractal/fractal-5_beta1.ebuild
new file mode 100644
index 000000000..91a557193
--- /dev/null
+++ b/net-im/fractal/fractal-5_beta1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson gnome2-utils
+
+MY_PV=${PV//_/.}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Matrix group messaging app"
+HOMEPAGE="https://wiki.gnome.org/Apps/Fractal";
+
+if [[ ${PV} == "9999" ]]; then
+       inherit git-r3
+
+       SRC_URI=""
+       EGIT_REPO_URI="https://gitlab.gnome.org/world/fractal.git";
+       EGIT_BRANCH="master"
+else
+       
SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2";
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.72
+       >=app-text/gspell-1.8.1
+       >=gui-libs/libadwaita-1.3
+       >=media-libs/gstreamer-1.20
+       >=media-libs/gst-plugins-base-1.20
+       >=dev-db/sqlite-3.24
+       >=media-video/pipewire-0.3[gstreamer]
+       >=media-libs/libshumate-1
+       >=x11-libs/cairo-1.16.0
+       >=gui-libs/gtk-4.10:4
+       x11-libs/gtksourceview:4
+       media-plugins/gst-plugins-gtk"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/ninja
+       dev-util/meson
+       >=virtual/rust-1.31.1"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_preinst() {
+       gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_schemas_update
+       xdg_icon_cache_update
+}

diff --git a/net-im/fractal/metadata.xml b/net-im/fractal/metadata.xml
new file mode 100644
index 000000000..2047d957a
--- /dev/null
+++ b/net-im/fractal/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>laurent.morret...@gmail.com</email>
+    <name>Laurent Morretton</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="gnome-gitlab">GNOME/fractal</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to