summaryrefslogtreecommitdiff
path: root/www-client/tangram
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-14 00:16:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-14 00:16:43 +0000
commit55b20c97078ded20d0e7c6b3ef33d673c861d8b4 (patch)
tree92579cc158fd711b487e332cf87f87f3cf489d69 /www-client/tangram
parent8c9b482f4679667d7b439749d9a9c65d559d11b8 (diff)
gentoo auto-resync : 14:03:2023 - 00:16:42
Diffstat (limited to 'www-client/tangram')
-rw-r--r--www-client/tangram/Manifest5
-rw-r--r--www-client/tangram/files/tangram-2.0-dont-validate-appstream.patch11
-rw-r--r--www-client/tangram/files/tangram-2.0-meson-blueprint-compiler.patch11
-rw-r--r--www-client/tangram/metadata.xml18
-rw-r--r--www-client/tangram/tangram-2.0.ebuild51
5 files changed, 96 insertions, 0 deletions
diff --git a/www-client/tangram/Manifest b/www-client/tangram/Manifest
new file mode 100644
index 000000000000..617e702149a1
--- /dev/null
+++ b/www-client/tangram/Manifest
@@ -0,0 +1,5 @@
+AUX tangram-2.0-dont-validate-appstream.patch 316 BLAKE2B bf27658b8e818376f3bac3e70e24053d3feb79079bc9dce3564f292950e3c91f8fb645ed8e6c8c5942f8ef6fbebd5229878b641478824e6037897c218c3d783a SHA512 2d05626678c3d193207bda0010f5a907c4eccdc46f71fa23b551dd6363c70c4a25a3e397f31052d620c5f390cbf047fbf626646c95de10808776d16fab24561b
+AUX tangram-2.0-meson-blueprint-compiler.patch 286 BLAKE2B 639a6e9627ae46c2758ca33a9bb815f30c122feea2ac4de926e620b389fbc6a0060bf8f19b0e504717f0c86acb506688819b097a1fd495ae57d3ab234929f98d SHA512 504cbd1e6e74c87cd1c501fe965e5613cbb79d0febbf4ec7876ef12e3cfe37de653568cf7b90a43899357ba007680355bc7a1e3059e1ec92bf653231fef2eeb8
+DIST tangram-2.0.tar.xz 991180 BLAKE2B 1f51b8218a2d7bec9581335319448548765c26f6057ce2be0c5862324fe6659637040f8c878829505550c9c49707987c3f12b707b549f087805bb1adae12ae3d SHA512 e851153f1621e7e14dd4c5445de108126adbb0f56396331b8c2d3354ba49c1ea77b5053e5557d02f1ba817d04c2553f68ab18a9afbc4842a258e0bf9e6a798d6
+EBUILD tangram-2.0.ebuild 1010 BLAKE2B 25466ddb32b665a634be575fb82872ceb74aacf3ce1e849965e15cca16e81797d18d3d78e5dbaab355792360c5ed95b4ea5d84f0f3d398567001c58ce540aae5 SHA512 8be8f0794c490c35f981197a468477efa7c9ca4b36ae7863cf771f06d11f5c2404b176c5872bfb030ededff0763033665744870cebcef7625bbc50bbd3df5799
+MISC metadata.xml 659 BLAKE2B c4df3b1b2325290fb904862aa2f22313a0d676034276c9225ce131306c836ebef9851edb86656b7126a03dff0a5d1bf567eb78b71810bcbd41225b9a9641e056 SHA512 86ac7e661201b17c52a27f42c3b6f6390e0b3bca6815a1241c30e9225c0129886ed335681d7ffe810edd988e2c11607e37dab4b6db5eceaea054935f5010e3d9
diff --git a/www-client/tangram/files/tangram-2.0-dont-validate-appstream.patch b/www-client/tangram/files/tangram-2.0-dont-validate-appstream.patch
new file mode 100644
index 000000000000..4f636213c70b
--- /dev/null
+++ b/www-client/tangram/files/tangram-2.0-dont-validate-appstream.patch
@@ -0,0 +1,11 @@
+--- a/data/appdata/meson.build
++++ b/data/appdata/meson.build
+@@ -7,7 +7,7 @@ appstream_file = i18n.merge_file(
+ )
+
+ appstream_util = find_program('appstream-util', required: false)
+-if appstream_util.found()
++if false
+ test('Validate appstream file', appstream_util,
+ args: ['validate', appstream_file]
+ )
diff --git a/www-client/tangram/files/tangram-2.0-meson-blueprint-compiler.patch b/www-client/tangram/files/tangram-2.0-meson-blueprint-compiler.patch
new file mode 100644
index 000000000000..1ea82d214aee
--- /dev/null
+++ b/www-client/tangram/files/tangram-2.0-meson-blueprint-compiler.patch
@@ -0,0 +1,11 @@
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -5,7 +5,7 @@ blueprint_compiler = find_program(
+ # Flatpak
+ '/app/bin/blueprint-compiler',
+ # host
+- '../blueprint-compiler/blueprint-compiler.py'
++ 'blueprint-compiler'
+ )
+
+ gjspack = find_program('../troll/gjspack/bin/gjspack')
diff --git a/www-client/tangram/metadata.xml b/www-client/tangram/metadata.xml
new file mode 100644
index 000000000000..3cbb62a8129a
--- /dev/null
+++ b/www-client/tangram/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <longdescription>
+ Tangram is a new kind of browser. It is designed to organize and run your
+ Web applications. Each tab is persistent and independent. You can set
+ multiple tabs with different accounts for the same application.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/sonnyp/Tangram/issues</bugs-to>
+ <remote-id type="github">sonnyp/Tangram</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-client/tangram/tangram-2.0.ebuild b/www-client/tangram/tangram-2.0.ebuild
new file mode 100644
index 000000000000..22985cb29ff6
--- /dev/null
+++ b/www-client/tangram/tangram-2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+DESCRIPTION="Web browser designed to organize and run Web applications"
+HOMEPAGE="https://apps.gnome.org/app/re.sonny.Tangram/
+ https://github.com/sonnyp/Tangram/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/sonnyp/${PN^}.git"
+else
+ SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/gjs
+ gui-libs/gtk:4
+ gui-libs/libadwaita:1
+ net-libs/webkit-gtk:5
+"
+BDEPEND="
+ ${RDEPEND}
+ dev-libs/appstream-glib
+ dev-util/blueprint-compiler
+ dev-util/desktop-file-utils
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0-dont-validate-appstream.patch
+ "${FILESDIR}"/${PN}-2.0-meson-blueprint-compiler.patch
+)
+
+DOCS=( README.md TODO.md )
+
+pkg_postinst() {
+ gnome2_schemas_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+ xdg_pkg_postrm
+}