summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /app-editors
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin13427 -> 13431 bytes
-rw-r--r--app-editors/mousepad/Manifest7
-rw-r--r--app-editors/mousepad/files/mousepad-0.5.2-select-all.patch28
-rw-r--r--app-editors/mousepad/mousepad-0.5.3-r1.ebuild40
-rw-r--r--app-editors/mousepad/mousepad-0.5.4.ebuild43
-rw-r--r--app-editors/mousepad/mousepad-0.5.5.ebuild2
-rw-r--r--app-editors/pluma/Manifest2
-rw-r--r--app-editors/pluma/pluma-1.24.2.ebuild81
-rw-r--r--app-editors/vscodium/Manifest4
-rw-r--r--app-editors/vscodium/vscodium-1.57.1.ebuild95
10 files changed, 184 insertions, 118 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index c83446244432..aace3fc8cd27 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/mousepad/Manifest b/app-editors/mousepad/Manifest
index 71cad4e81180..9501190e0c43 100644
--- a/app-editors/mousepad/Manifest
+++ b/app-editors/mousepad/Manifest
@@ -1,8 +1,3 @@
-AUX mousepad-0.5.2-select-all.patch 1019 BLAKE2B cdc2bb2ea67d3e51da322abdc3fcbfc9d0b8ceb47e61f7dc35e8ecf3ed691006ec4e57726446653dfc54d9161cbea13b0d57496645320e69df6a5556df8bbe96 SHA512 6a4dcae46012637405c6b2c7aa673036105771da2c23fe39b4d33b6c38ea8a069b8897c2d14e0959353a51a02bc23e5ff2f0db86ae7c48cc3f5b94cc03480330
-DIST mousepad-0.5.3.tar.bz2 848169 BLAKE2B c5001d5a1f3c8ef820fdf2297679b8c7acae7cb08ed134529b7b1e0861e8d9b36c9495b6a207371c9e6a0f59a3f7bd41adaa678250d96ab7112427d5cfc2aa0d SHA512 596d85a9b7caa1616bd5adc2bb4f7ddbdf47d9e4a049f100581ecba9c61db5243f45d3dd8217ecaed1803c73c2221a396817790efe3898c487c12c8ce8d328c6
-DIST mousepad-0.5.4.tar.bz2 855416 BLAKE2B a998b2faabae1ad505da3a8fb560c731e6f5002801cdc3a4edcd515d5d75210ae509261644070e1951629271bd5956aee1e196c35c6b7e9c3ab782cd06b35ac6 SHA512 52d1d9b235b13a651ee7e6e1633074c7829c27e880033637eacdd7cd63f246d1f47d0cd2c981cf2a7eb96dbb7119204a685f00a60968e4478d5057bce8500370
DIST mousepad-0.5.5.tar.bz2 891263 BLAKE2B a75930385f9087f6294811c91b2a162d2e9ca2e945ec84efdfd932806211ee105d2ac2835122c2de4ea519b6728959478147d11df75ff3b00324c262983046a0 SHA512 5c6d6d048fe8a08c04ddeff7adb7d621d9beac631dd58fe5778cc8236e06ddb4ab50380eaebf4236c655b6d26058242024d5d3bbb1772607ab1f10744f8936f1
-EBUILD mousepad-0.5.3-r1.ebuild 863 BLAKE2B 01428fc40098ea9e23b35152c594c295e463854bf2c382957a6b67097b7a53205b5826413d84540ba4ec42de635bd09f2b367985b83bdd71c4bd5141a454cfe0 SHA512 ef0c3b0587389e009b59d0de6abe438de696002a361343f358545f06a6a0605531f7a3b96dd9ff853f2ec51ea3dea6ccda4af6966cf2d5bc42b437568df75781
-EBUILD mousepad-0.5.4.ebuild 892 BLAKE2B 113ae6fc8701c4920a3da8fc148c31d62e29b3364359bde515e8ef3cd1571232b28f6f27870624f8d16905e06f350f2984a6097af568b2e7412a2636a814c1cd SHA512 199b474bf3f87047d3f241c78c274376ff9abcd28278def2f8266a815cbcbb43501d75ba263dba2029906d6b476f4757e9af9a2ced9c158296c6a93c09ced6d3
-EBUILD mousepad-0.5.5.ebuild 865 BLAKE2B 6d8b99afce428bd8ddfe3b9e170aeff47c2198ae5be94f5b8b0fb4a5051365547150a9819d3ed948df2b4330e26d37485bd4bf7d143fb5836a24beca29eda12c SHA512 c33da95d6f6ef47dbdb4b10d4381a95259a19d7e33d8ba6895b6749a7c2efca304614aa05dc394f6e005d4dd89d951eb83dffbeb336caf491791db09916e456b
+EBUILD mousepad-0.5.5.ebuild 863 BLAKE2B 02de904b60dbf85fa7f8160671d1be6fc48590b9f6acbdf8112398485d6f367b9d9e6e8bbf041f75887f3eb49071f530d5d8342fa67c207113b86b80cfa2d58a SHA512 de8269ab6791e78318a257c9e52678db31e996c2bd0cb37b36dda062dbb1ec33f243f70f365cd2690815241bf7021b80e9ab866bdbbd9249d63e484cf13facc8
MISC metadata.xml 241 BLAKE2B 19a1f7371ba9451232b7795e806499d1de2aba44dc9864bf1c8c72f6074af18387f6091c891f84c402c70e52f8502bc7a9a937828d63991402d2f0d17b247782 SHA512 97a8057b496da7d18b75e0cec2f5de16f7f16187776c3d7134ade6b0be2539c5f0e8de7ce43c2a4fc342ca9c3dd83a74c194a506ad28221c260dfa8a4eadb1e8
diff --git a/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch b/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
deleted file mode 100644
index 46762e687c46..000000000000
--- a/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 8473653ad37a32375ff416205c0f44f771f380df Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 1 Mar 2021 13:36:33 +0100
-Subject: [PATCH] Fix missing parameter to "select-all" signal
-
-Add missing "select" parameter to the "select-all" signal. This fixes
-undefined behavior reported in https://bugs.gentoo.org/772245.
-Thanks to Mart Raudsepp for figuring out the problem.
----
- mousepad/mousepad-window.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
-index 2f901b2..9ba6223 100644
---- a/mousepad/mousepad-window.c
-+++ b/mousepad/mousepad-window.c
-@@ -5223,7 +5223,7 @@ mousepad_window_action_select_all (GSimpleAction *action,
- g_return_if_fail (MOUSEPAD_IS_DOCUMENT (window->active));
-
- /* select everything in the document */
-- g_signal_emit_by_name (window->active->textview, "select-all");
-+ g_signal_emit_by_name (window->active->textview, "select-all", TRUE);
- }
-
-
---
-GitLab
-
diff --git a/app-editors/mousepad/mousepad-0.5.3-r1.ebuild b/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
deleted file mode 100644
index ed7d2cd8fcf0..000000000000
--- a/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit gnome2-utils xdg-utils
-
-DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
-HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
-SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-RDEPEND=">=dev-libs/glib-2.52
- >=xfce-base/xfconf-4.12:=
- >=x11-libs/gtk+-3.22:3
- >=x11-libs/gtksourceview-3.24:3.0"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-lang/perl
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/mousepad-0.5.2-select-all.patch
-)
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/app-editors/mousepad/mousepad-0.5.4.ebuild b/app-editors/mousepad/mousepad-0.5.4.ebuild
deleted file mode 100644
index bcb567c7aa26..000000000000
--- a/app-editors/mousepad/mousepad-0.5.4.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit gnome2-utils xdg-utils
-
-DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
-HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
-SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-RDEPEND=">=dev-libs/glib-2.52
- >=xfce-base/xfconf-4.12:=
- >=x11-libs/gtk+-3.22:3
- >=x11-libs/gtksourceview-4.0.0:4"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-lang/perl
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_configure() {
- local myconf=(
- --enable-gtksourceview4
- )
- econf "${myconf[@]}"
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/app-editors/mousepad/mousepad-0.5.5.ebuild b/app-editors/mousepad/mousepad-0.5.5.ebuild
index 1dee543de886..ea82a7eeeb5a 100644
--- a/app-editors/mousepad/mousepad-0.5.5.ebuild
+++ b/app-editors/mousepad/mousepad-0.5.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
RDEPEND=">=dev-libs/glib-2.52
>=x11-libs/gtk+-3.22:3
diff --git a/app-editors/pluma/Manifest b/app-editors/pluma/Manifest
index a4c95c82692c..21d89bec8367 100644
--- a/app-editors/pluma/Manifest
+++ b/app-editors/pluma/Manifest
@@ -1,3 +1,5 @@
DIST pluma-1.24.1.tar.xz 3679636 BLAKE2B e792433b93862c8b0c47145255311c3a3386c1b99ec1ac87ed91608d839ece4430205f83fcc3c0f5145f986105d4c5d8803393035fcaaea08155197bbcf15d03 SHA512 0cfd6a035fc95993dce3e556c49641e799888f20159b29f2c0712c54ee772aa6df1ce755f329414c94efdb2cb3819ce633b92e6559b0c8cb064dab3c74729ab3
+DIST pluma-1.24.2.tar.xz 3745160 BLAKE2B ed855b19f1ab80cb6ef9bc175eea3c2af386b1e45123bc0e3ad93d1964efb4822fe1b3d7490308357fcff96557bb6189f081a467f41a6907e76a1961de8f23d3 SHA512 588640744f8a0bec08d0c51c0309380a57cb6319c98124885e30d05e7dd8488ba7bd5acec1bf21fb0d6832626ae8925b24cd241202265af1a631a91313cdad2b
EBUILD pluma-1.24.1.ebuild 1794 BLAKE2B 5bc6c48c82c0f2305597a7cbb3c494757fb489988c6bade269f5d8daf3b5da52b108f705be83a7616daecc143fa5b305334990e16dc6825ea30c7cbbeaafd959 SHA512 8415629459f251aeb93ebb511415160f2126212768aca7d506da193e6fffda0690b9e0cd75268e6147295a73a1575a3167d792e5c4f0d3e2a8ff820346f8a914
+EBUILD pluma-1.24.2.ebuild 1786 BLAKE2B 94b895d698fd208b9687614b43d64c45c5d6fa438e8fd7534d18c43b93afc2f90c0fac61105ababcac79f606a5f49fb267849b6ee11115eeb979d339a7d5d650 SHA512 167031df22d481c7fecb361e3f16d155cf45e95c38ec537aa527e7c74f197bc9a9b31f75b411b706d4fe41850d59623b6c26ca51320d6c35d10389af602c4aca
MISC metadata.xml 334 BLAKE2B 2d5ac79ba6879f5486724c826a89ed81cf393bc3fedbdea40764b1fb23962672e7c2a625137080a16ccd8e67a55097a4f497269f89ccd8b256490ef99e15b9cb SHA512 fe30c9986ed7086a894a0835847351d92938c424af5b7da51211a23fc197eebbce53cc205014cdd2c3bcc951a5a449c5d5726bede7991716d81fb7bbfe8a3fca
diff --git a/app-editors/pluma/pluma-1.24.2.ebuild b/app-editors/pluma/pluma-1.24.2.ebuild
new file mode 100644
index 000000000000..061436117e9e
--- /dev/null
+++ b/app-editors/pluma/pluma-1.24.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+
+inherit mate python-single-r1 virtualx
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Pluma text editor for the MATE desktop"
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
+SLOT="0"
+
+IUSE="+introspection spell test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
+# https://github.com/mate-desktop/mate-text-editor/issues/33
+RESTRICT="test"
+
+COMMON_DEPEND="dev-libs/atk
+ >=dev-libs/glib-2.50:2
+ >=dev-libs/libpeas-1.2.0[gtk]
+ >=dev-libs/libxml2-2.5:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3[introspection?]
+ >=x11-libs/gtksourceview-3.0.0:3.0
+ x11-libs/libICE
+ x11-libs/libX11
+ >=x11-libs/libSM-1.0
+ x11-libs/pango
+ introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
+ spell? (
+ >=app-text/enchant-1.6:=
+ >=app-text/iso-codes-0.35
+ )
+ !!app-editors/mate-text-editor
+"
+
+RDEPEND="${PYTHON_DEPS}
+ ${COMMON_DEPEND}
+ >=mate-base/mate-desktop-1.9[introspection?]
+ virtual/libintl
+"
+
+DEPEND="${COMMON_DEPEND}
+ ~app-text/docbook-xml-dtd-4.1.2
+ app-text/rarian
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/yelp-tools
+ dev-util/glib-utils
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ >=sys-devel/libtool-2.2.6:2
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+ mate_src_configure \
+ $(use_enable introspection) \
+ $(use_enable spell) \
+ $(use_enable test tests)
+}
+
+src_test() {
+ # FIXME: This should be handled at eclass level.
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
+
+ unset DBUS_SESSION_BUS_ADDRESS
+
+ GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
+}
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 50e20a1c8c53..caea39b91760 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -6,6 +6,10 @@ DIST vscodium-1.56.2-arm64.tar.gz 113358341 BLAKE2B f7f8c8589985edd11ba80b4fff9a
DIST vscodium-1.57.0-amd64.tar.gz 107752144 BLAKE2B c7f6f07a526e25b52f5a93eecdcf285f32bf5af38ff4e0b4882303078c110555134e37d85fad01d92970758e867e17e199586878a0a3abebd6fc18866d1c557a SHA512 e58d6161cff2ab0ef206ae629c65d03a947cc9112826a880f86c296d19462edf03e66c2d17399268b32aed597ea688f93b20cade8aac79d97871306c4d967073
DIST vscodium-1.57.0-arm.tar.gz 96394761 BLAKE2B 3fc3ab8d4be7343cc8597cf9c09a13e1e28a1bfce12b19a11f5bdf46c1d6931c12718306f19c78fd7c567b622bf40434165009b0b0b6b9de3b86005833188511 SHA512 d7eb1776ceedd0072b039a04ec194779d6c27decc92d311cc9bd8c630b776ec1c85e46b8c3afe93c3cae904f27a2e05d69c6ca4155cae6a90c44570f59afedb2
DIST vscodium-1.57.0-arm64.tar.gz 113075134 BLAKE2B eeead9b70a8e7b353ac744b65b3854ce5954f242a777e974ba4c8a586aa8c99d6dc5ee793e01568275a3edc48f8287ee3c3c8d1ae6b3c54b9df8913d4f32f96d SHA512 0c8a282b36ec3067246b590c241b3301a623cc9b0bd15bdbc3a2ad6303399c24bb721264ea69f4342717d8ad29046e6ed25ff6b3449923a315e2df2ccc85e0db
+DIST vscodium-1.57.1-amd64.tar.gz 107747154 BLAKE2B 0a348d77616eb691b9a7ef7ded4a2f3b07cf6e44b0e37fdc4f93f0a2327d040aa8a5442f1b978d6c5086d188bcb1aedbefef5f449da05a3f772b1d029bf38e26 SHA512 f4560725d67e690a99b6c1911a1542f877a0caa44e5b6be1aa4a06e0c3c3b16454c06a1a3d881a6af43b4ab97619b9fa464dc979c99c2af0882fe2b2960499d6
+DIST vscodium-1.57.1-arm.tar.gz 96383568 BLAKE2B 13140773fe7442d0c947dba2e9b30ea80fda5f42bdf8557e214bca2741e92d99f8e11821e569fe69b1ade84cc277604a931422610cfdd8a35dfe05be30c9d20a SHA512 2d7e406674b22ce9ca12aee423147b31df8381e615e2a7341c3373509cd63146325dd276bacebd63221dac0cde8b6c0c3b9406c4a437612b46e2e55bf4bb6531
+DIST vscodium-1.57.1-arm64.tar.gz 113062013 BLAKE2B 8befda9f99183097963842fd86e5721563562aba540a4634c273de88fff344f4f3e0554329d5a964f610b5eef02e7f34fd3a2380a96abfa44debbcc7f250e3f2 SHA512 22254e07ea9527b4ecdc77b63aedd55a56b7ede719178a74eeea7134fadda0beab7b604549625c0a48dafe3d18e14c997111ffea261086a608faa9567af911b6
EBUILD vscodium-1.56.2.ebuild 2353 BLAKE2B b0d5df95befc92bc17316a3948c93ae5cb0f7cc12d3cde72b92b805fbcbfde61913bac6a438d2cc1b809ae55b4cea7ee7775d5cbe87961addc7572b161b55f82 SHA512 7003ddd421cc3416d7aa26181e1da148ab152fcecda780c0fecba4b8f1d8df9bf7af89fac0fc4fb5a5e88d1c945348adafcd59d280f016c89bfe32147bbc98e7
EBUILD vscodium-1.57.0.ebuild 2353 BLAKE2B b0d5df95befc92bc17316a3948c93ae5cb0f7cc12d3cde72b92b805fbcbfde61913bac6a438d2cc1b809ae55b4cea7ee7775d5cbe87961addc7572b161b55f82 SHA512 7003ddd421cc3416d7aa26181e1da148ab152fcecda780c0fecba4b8f1d8df9bf7af89fac0fc4fb5a5e88d1c945348adafcd59d280f016c89bfe32147bbc98e7
+EBUILD vscodium-1.57.1.ebuild 2353 BLAKE2B b0d5df95befc92bc17316a3948c93ae5cb0f7cc12d3cde72b92b805fbcbfde61913bac6a438d2cc1b809ae55b4cea7ee7775d5cbe87961addc7572b161b55f82 SHA512 7003ddd421cc3416d7aa26181e1da148ab152fcecda780c0fecba4b8f1d8df9bf7af89fac0fc4fb5a5e88d1c945348adafcd59d280f016c89bfe32147bbc98e7
MISC metadata.xml 1190 BLAKE2B d2a237155cf015fd18d0bf562747788584142e136c3ffd98ebe1a07c796562a65c27818c0ba0db9e5b64a3a8d1f5c9465e48de285f38042890160eedcdcf017f SHA512 f8e6986a85092e68c016aa34bd4948f0eea6f83b26935e07697ff1c536616c6829495467b2e09d4cda01699bae5c7825fcc711adc2f90e81e60592c168220d4e
diff --git a/app-editors/vscodium/vscodium-1.57.1.ebuild b/app-editors/vscodium/vscodium-1.57.1.ebuild
new file mode 100644
index 000000000000..e25a3967ed49
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.57.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils xdg
+
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
+HOMEPAGE="https://vscodium.com/"
+SRC_URI="
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz )
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz )
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz )
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="
+ Apache-2.0
+ BSD
+ BSD-1
+ BSD-2
+ BSD-4
+ CC-BY-4.0
+ ISC
+ LGPL-2.1+
+ MIT
+ MPL-2.0
+ openssl
+ PYTHON
+ TextMate-bundle
+ Unlicense
+ UoI-NCSA
+ W3C
+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE=""
+
+RDEPEND="
+ app-accessibility/at-spi2-atk
+ app-crypt/libsecret[crypt]
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/libpng:0/16
+ net-print/cups
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libnotify
+ x11-libs/libxkbcommon
+ x11-libs/libxkbfile
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ x11-libs/pango
+"
+
+QA_PREBUILT="
+ /opt/vscodium/codium
+ /opt/vscodium/libEGL.so
+ /opt/vscodium/libffmpeg.so
+ /opt/vscodium/libGLESv2.so
+ /opt/vscodium/libvulkan.so*
+ /opt/vscodium/chrome-sandbox
+ /opt/vscodium/libvk_swiftshader.so
+ /opt/vscodium/swiftshader/libEGL.so
+ /opt/vscodium/swiftshader/libGLESv2.so
+ /opt/vscodium/resources/app/extensions/*
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+"
+
+S="${WORKDIR}"
+
+src_install() {
+ # Cleanup
+ rm "${S}/resources/app/LICENSE.txt" || die
+
+ # Install
+ pax-mark m codium
+ insinto "/opt/${PN}"
+ doins -r *
+ fperms +x /opt/${PN}/{,bin/}codium
+ fperms +x /opt/${PN}/chrome-sandbox
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium"
+ domenu "${FILESDIR}/vscodium.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler.desktop"
+ newicon "resources/app/resources/linux/code.png" "vscodium.png"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ elog "When compared to the regular VSCode, VSCodium has a few quirks"
+ elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md"
+}