aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Morretton <laurent@morretton.fr>2023-06-05 22:05:42 +0200
committerLaurent Morretton <laurent@morretton.fr>2023-06-05 22:16:36 +0200
commit2904717a29a1f69010f6d3c8eea84ca1e232a5ad (patch)
treeb2678513e0ac0a911a904f7124808f31c42d16ed
parentnet-p2p/feather: fix incorrect monero commit (diff)
downloadguru-2904717a.tar.gz
guru-2904717a.tar.bz2
guru-2904717a.zip
net-im/fractal: new package, add 5_beta1
Signed-off-by: Laurent Morretton <laurent@morretton.fr>
-rw-r--r--net-im/fractal/Manifest1
-rw-r--r--net-im/fractal/fractal-5_beta1.ebuild59
-rw-r--r--net-im/fractal/metadata.xml11
3 files changed, 71 insertions, 0 deletions
diff --git a/net-im/fractal/Manifest b/net-im/fractal/Manifest
new file mode 100644
index 0000000000..55d6963e27
--- /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 0000000000..91a5571934
--- /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 0000000000..2047d957a7
--- /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.morretton@gmail.com</email>
+ <name>Laurent Morretton</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">GNOME/fractal</remote-id>
+ </upstream>
+</pkgmetadata>