[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/

2024-05-30 Thread AquaOneLove
commit: d8c1480d622ab181834a29c19ad491d3acd0dd12
Author: AquaOneLove  proton  me>
AuthorDate: Thu May 30 17:14:43 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Thu May 30 17:15:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8c1480d

net-im/armcord-bin: add 3.2.7

Signed-off-by: AquaOneLove  proton.me>

 net-im/armcord-bin/Manifest |  1 +
 net-im/armcord-bin/armcord-bin-3.2.7.ebuild | 99 +
 2 files changed, 100 insertions(+)

diff --git a/net-im/armcord-bin/Manifest b/net-im/armcord-bin/Manifest
index c3fc8a541..511579158 100644
--- a/net-im/armcord-bin/Manifest
+++ b/net-im/armcord-bin/Manifest
@@ -1 +1,2 @@
 DIST armcord-bin-3.2.6.deb 74268974 BLAKE2B 
c7fc6bfcef006c6823bd3d2cf2bfb976c7feb6cf6146d49154446d5394b295b48278119df60f056a9609111f0510c4fa5abaafb89c556987060092c523dd6d4a
 SHA512 
844f88527735b3f54e203c6b2acba7f949c9bc38236b702759db37a1540378588406350a5920d49d4a45b3fdf34e3a6b7afa91db6bf9f4175ddd7fadbba51eb7
+DIST armcord-bin-3.2.7.deb 74353498 BLAKE2B 
d4c84aa21d6a4097ae95d33bc307a176350cbaad762dc40b97a36f22a44127a48ec570e49db3fb5b86d9998588b5f8fb7e5b6d1ab64d0d3943ed0dd21634
 SHA512 
dc3aeca58ff8d3586dfccb238c7150ca1ef711f3d3b78cb9e056072eda1522cef8238fd4d09b0030c5189324b26d3ad8e4c892db2d1cdf90d4d0b45de228bd03

diff --git a/net-im/armcord-bin/armcord-bin-3.2.7.ebuild 
b/net-im/armcord-bin/armcord-bin-3.2.7.ebuild
new file mode 100644
index 0..5a09a31ac
--- /dev/null
+++ b/net-im/armcord-bin/armcord-bin-3.2.7.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker desktop xdg
+
+DESCRIPTION="ArmCord is a custom client designed to enhance your Discord 
experience."
+HOMEPAGE="https://armcord.app/;
+SRC_URI="https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord_${PV}_amd64.deb
 -> ${P}.deb"
+S="${WORKDIR}"
+
+LICENSE="MIT BSD OSL-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="bindist mirror test strip"
+
+RDEPEND="
+   app-accessibility/at-spi2-core:2
+   dev-libs/expat
+   dev-libs/glib:2
+   dev-libs/nspr
+   dev-libs/nss
+   media-libs/alsa-lib
+   media-libs/mesa
+   net-print/cups
+   sys-apps/dbus
+   x11-libs/cairo
+   x11-libs/gtk+:3
+   x11-libs/libdrm
+   x11-libs/libX11
+   x11-libs/libxcb
+   x11-libs/libXcomposite
+   x11-libs/libXdamage
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libxkbcommon
+   x11-libs/libXrandr
+   x11-libs/pango
+"
+QA_PREBUILT=".*"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-desktop.patch"
+)
+
+src_unpack() {
+   unpack_deb "${P}.deb"
+}
+
+src_prepare() {
+   default
+
+   mv "${WORKDIR}/opt/ArmCord" "${WORKDIR}/opt/${PN}" || die
+   mv "${WORKDIR}/usr/share/applications/armcord.desktop" 
"${WORKDIR}/${PN}.desktop" || die
+   mv "${WORKDIR}"/usr/share/icons/hicolor/* "${WORKDIR}/" || die
+   rm -rf "${WORKDIR}/usr/share/doc" || die
+}
+
+src_install() {
+   DESTDIR="/opt/${PN}"
+
+   doicon -s 16 "16x16/apps/armcord.png"
+   doicon -s 32 "32x32/apps/armcord.png"
+   doicon -s 48 "48x48/apps/armcord.png"
+   doicon -s 64 "64x64/apps/armcord.png"
+   doicon -s 128 "128x128/apps/armcord.png"
+   doicon -s 256 "256x256/apps/armcord.png"
+   doicon -s 512 "512x512/apps/armcord.png"
+   doicon -s 1024 "1024x1024/apps/armcord.png"
+
+   domenu "${PN}.desktop"
+
+   exeinto "${DESTDIR}"
+   doexe "opt/${PN}/armcord" "opt/${PN}/chrome-sandbox" 
"opt/${PN}/libEGL.so" \
+   "opt/${PN}/libffmpeg.so" "opt/${PN}/libGLESv2.so" 
"opt/${PN}/libvk_swiftshader.so"
+
+   insinto "${DESTDIR}"
+   doins "opt/${PN}/chrome_100_percent.pak" 
"opt/${PN}/chrome_200_percent.pak" "opt/${PN}/icudtl.dat" \
+   "opt/${PN}/resources.pak" "opt/${PN}/snapshot_blob.bin" 
"opt/${PN}/v8_context_snapshot.bin"
+   insopts -m0766
+   doins -r "opt/${PN}/locales" "opt/${PN}/resources"
+
+   fperms -R 644 "${DESTDIR}/locales"
+   fperms -R 644 "${DESTDIR}/resources"
+
+   # Fix bug 930639
+   fperms -R a+r "${DESTDIR}"/resources/
+   fperms a+x "${DESTDIR}"/resources/
+
+   fowners root "${DESTDIR}/chrome-sandbox"
+   fperms 4711 "${DESTDIR}/chrome-sandbox"
+
+   doins "opt/${PN}/chrome_crashpad_handler"
+   fperms 755 "${DESTDIR}/chrome_crashpad_handler"
+
+   dosym -r /opt/${PN}/armcord /usr/bin/${PN}
+}



[gentoo-commits] repo/proj/guru:dev commit in: games-arcade/tetrio-desktop/files/, games-arcade/tetrio-desktop/

2024-05-12 Thread AquaOneLove
commit: 57f79a76e6785de48cb8282a9032bb70939f208e
Author: AquaOneLove  proton  me>
AuthorDate: Sun May 12 12:51:59 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Sun May 12 12:55:24 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57f79a76

games-arcade/tetrio-desktop: Change name for tetrio-plus.zip, add version 9

Signed-off-by: AquaOneLove  proton.me>

 games-arcade/tetrio-desktop/Manifest   |  4 ++-
 .../files/tetrio-desktop-9-application.patch   | 16 
 .../tetrio-desktop/tetrio-desktop-8.ebuild |  4 +--
 ...io-desktop-8.ebuild => tetrio-desktop-9.ebuild} | 30 +-
 4 files changed, 33 insertions(+), 21 deletions(-)

diff --git a/games-arcade/tetrio-desktop/Manifest 
b/games-arcade/tetrio-desktop/Manifest
index ab43b6197e..f26dd8426c 100644
--- a/games-arcade/tetrio-desktop/Manifest
+++ b/games-arcade/tetrio-desktop/Manifest
@@ -1,2 +1,4 @@
 DIST tetrio-desktop-8.deb 51480890 BLAKE2B 
641606cc29113098d3b686b17164669203e5c91801119e88a8cd7b4ef331bf25bfbed55d443bdb19d2a5b755919194861e4540489d85ebbdefd24b54c5c895cf
 SHA512 
04841ac7186bb864d4b8dfc15fee287ecbe713b3971521f703dd054b61cbbba481b296228ac9d83b0b58dcdd6b715d827c03edac4a1c97c11a362d85e015bcdd
-DIST tetrio-plus.zip 4733782 BLAKE2B 
493361cb92dbfa0f0ed47b8c132cb43f91941ed85f2127398c4eb52a7c3b6e9be8b38fa4dd6374930197cfe9dc423aa6b1dbd790fbfc3fe96f042487b44b6a1a
 SHA512 
ab9402085b6ec5e37e70e2945300fa05902a6da82b5512931851cd08a3eff90604e835cef162c077ac703d570ed36886952a6d06a7906ed2a3601e71f361d083
+DIST tetrio-desktop-9.deb 74732756 BLAKE2B 
d225276ec77c23a8b4a792cd7ef866563d29b71adb557566dd6a18be96d4789e3a84f661216feea2a63d235aabb625c489b7177dfd6ccc7993fad90fe58bd8ad
 SHA512 
a8852ea847d12cac46d29a26c7793f4f1911d3336647392cfe16cd955c8e1175fe0ff77764452713c0498f6b1a3044aaf4d131a0ce3b58861be59fd60a8a6e8c
+DIST tetrio-plus-8.zip 4733782 BLAKE2B 
493361cb92dbfa0f0ed47b8c132cb43f91941ed85f2127398c4eb52a7c3b6e9be8b38fa4dd6374930197cfe9dc423aa6b1dbd790fbfc3fe96f042487b44b6a1a
 SHA512 
ab9402085b6ec5e37e70e2945300fa05902a6da82b5512931851cd08a3eff90604e835cef162c077ac703d570ed36886952a6d06a7906ed2a3601e71f361d083
+DIST tetrio-plus-9.zip 17011563 BLAKE2B 
111834d5ff0ebc3d652478d2812945e1a763ee85ef3af5e7d2da32a9b023b9d3e3cb96866fbb7c0f5173635c043ca2d432c7f8bbf06b1daaef7cc65edf575d25
 SHA512 
bde79ae2c3e4d7757db7c17c079e55113f1e061f8fd8ad1cb2f17d918098a7aa33077625138c6199fb86313e9d0f15d9fcf0806ffcb77ca57321d2abcb413453

diff --git 
a/games-arcade/tetrio-desktop/files/tetrio-desktop-9-application.patch 
b/games-arcade/tetrio-desktop/files/tetrio-desktop-9-application.patch
new file mode 100644
index 00..a0ea147367
--- /dev/null
+++ b/games-arcade/tetrio-desktop/files/tetrio-desktop-9-application.patch
@@ -0,0 +1,16 @@
+diff --git a/usr/share/applications/tetrio-desktop.desktop 
b/usr/share/applications/tetrio-desktop.desktop
+index 802f685..898b247 100644
+--- a/usr/share/applications/tetrio-desktop.desktop
 b/usr/share/applications/tetrio-desktop.desktop
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Name=TETR.IO
+-Exec=/opt/TETR.IO/TETR.IO %U
++Exec="/usr/bin/tetrio-desktop" %U
+ Terminal=false
+ Type=Application
+ Icon=TETR.IO
+ StartupWMClass=TETR.IO
+ Comment=Puzzle together in this modern yet familiar online stacker!
+ MimeType=x-scheme-handler/tetrio;
+ Categories=Game;BlocksGame;

diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild 
b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
index 352bf90904..2edcaaa971 100644
--- a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
+++ b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://tetr.io/;
 
 SRC_URI="https://tetr.io/about/desktop/builds/${PV}/TETR.IO%20Setup.deb -> 
${P}.deb
tetrio-plus?( https://gitlab.com/UniQMG/tetrio-plus/uploads/\
-a7342b94f03d670b72235ab453c427a5/tetrio-plus_0.26.0_app.asar.zip -> 
tetrio-plus.zip )"
+a7342b94f03d670b72235ab453c427a5/tetrio-plus_0.26.0_app.asar.zip -> 
tetrio-plus-${PV}.zip )"
 
 S="${WORKDIR}"
 
@@ -64,7 +64,7 @@ PATCHES=(
 src_unpack() {
unpack_deb "${P}.deb"
if use tetrio-plus; then
-   unpack "tetrio-plus.zip"
+   unpack "tetrio-plus-${PV}.zip"
fi
 }
 

diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild 
b/games-arcade/tetrio-desktop/tetrio-desktop-9.ebuild
similarity index 70%
copy from games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
copy to games-arcade/tetrio-desktop/tetrio-desktop-9.ebuild
index 352bf90904..b79d499f9a 100644
--- a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
+++ b/games-arcade/tetrio-desktop/tetrio-desktop-9.ebuild
@@ -9,8 +9,7 @@ DESCRIPTION="TETR.IO desktop client."
 HOMEPAGE="https://tetr.io/;
 
 SRC_URI="https://tetr.io/about/desktop/builds/${PV}/TETR.IO%20Setup.deb -> 
${P}.deb

[gentoo-commits] repo/proj/guru:dev commit in: games-arcade/tetrio-desktop/

2024-04-28 Thread AquaOneLove
commit: e2b40db6b69c44abaadd30e56be6e3d256e62098
Author: AquaOneLove  proton  me>
AuthorDate: Sun Apr 28 12:33:03 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Sun Apr 28 12:33:41 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2b40db6

games-arcade/tetrio-desktop: Fix issue with fperms

Bug: https://bugs.gentoo.org/930811
Closes: https://bugs.gentoo.org/930811
Signed-off-by: AquaOneLove  proton.me>

 games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild 
b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
index 5f683b8c9a..352bf90904 100644
--- a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
+++ b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
@@ -100,7 +100,7 @@ src_install() {
 
doins -r "opt/${PN}/locales" "opt/${PN}/resources" 
"opt/${PN}/swiftshader"
 
-   fperms a+x "${DESTDIR}/swiftshader/"*
+   fperms -R a+x "${DESTDIR}/swiftshader/"
 
fowners root "${DESTDIR}/chrome-sandbox"
fperms 4711 "${DESTDIR}/chrome-sandbox"



[gentoo-commits] repo/proj/guru:dev commit in: games-arcade/tetrio-desktop/

2024-04-27 Thread AquaOneLove
commit: 37699567caec8b3192f6f0de7021247fe3c4bdfd
Author: AquaOneLove  proton  me>
AuthorDate: Sat Apr 27 23:24:02 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Sat Apr 27 23:25:19 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37699567

games-arcade/tetrio-desktop: replace eapply with default

Signed-off-by: AquaOneLove  proton.me>

 games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild 
b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
index a6281968db..5f683b8c9a 100644
--- a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
+++ b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
@@ -69,8 +69,7 @@ src_unpack() {
 }
 
 src_prepare() {
-   eapply ${PATCHES}
-   eapply_user
+   default
 
if use tetrio-plus; then
mv "${S}/app.asar" "${S}/opt/TETR.IO/resources/app.asar" || die



[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/

2024-04-27 Thread AquaOneLove
commit: 636f33fe6f46a793d976ae51733bfcf8c2e9a7d6
Author: AquaOneLove  proton  me>
AuthorDate: Sat Apr 27 10:47:30 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Sat Apr 27 10:49:06 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=636f33fe

net-im/armcord-bin: Fix issue with fperms

Bug: https://bugs.gentoo.org/930762
Closes: https://bugs.gentoo.org/930762
Signed-off-by: AquaOneLove  proton.me>

 net-im/armcord-bin/armcord-bin-3.2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/armcord-bin/armcord-bin-3.2.6.ebuild 
b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
index 4499d96b9f..5a09a31acf 100644
--- a/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
+++ b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
@@ -86,8 +86,8 @@ src_install() {
fperms -R 644 "${DESTDIR}/resources"
 
# Fix bug 930639
-   fperms a+rx "${DESTDIR}"/resources/
-   fperms a+r "${DESTDIR}"/resources/*
+   fperms -R a+r "${DESTDIR}"/resources/
+   fperms a+x "${DESTDIR}"/resources/
 
fowners root "${DESTDIR}/chrome-sandbox"
fperms 4711 "${DESTDIR}/chrome-sandbox"



[gentoo-commits] repo/proj/guru:dev commit in: games-arcade/tetrio-desktop/, games-arcade/tetrio-desktop/files/

2024-04-25 Thread AquaOneLove
commit: 2b6d3f6d53229bfe0f0687ac1cb3ab79412bd6f5
Author: AquaOneLove  proton  me>
AuthorDate: Thu Apr 25 23:55:58 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Thu Apr 25 23:57:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2b6d3f6d

games-arcade/tetrio-desktop: new package, add 8

Signed-off-by: AquaOneLove  proton.me>

 games-arcade/tetrio-desktop/Manifest   |   2 +
 .../files/tetrio-desktop-8-application.patch   |  13 +++
 games-arcade/tetrio-desktop/metadata.xml   |  11 +++
 .../tetrio-desktop/tetrio-desktop-8.ebuild | 110 +
 4 files changed, 136 insertions(+)

diff --git a/games-arcade/tetrio-desktop/Manifest 
b/games-arcade/tetrio-desktop/Manifest
new file mode 100644
index 00..ab43b6197e
--- /dev/null
+++ b/games-arcade/tetrio-desktop/Manifest
@@ -0,0 +1,2 @@
+DIST tetrio-desktop-8.deb 51480890 BLAKE2B 
641606cc29113098d3b686b17164669203e5c91801119e88a8cd7b4ef331bf25bfbed55d443bdb19d2a5b755919194861e4540489d85ebbdefd24b54c5c895cf
 SHA512 
04841ac7186bb864d4b8dfc15fee287ecbe713b3971521f703dd054b61cbbba481b296228ac9d83b0b58dcdd6b715d827c03edac4a1c97c11a362d85e015bcdd
+DIST tetrio-plus.zip 4733782 BLAKE2B 
493361cb92dbfa0f0ed47b8c132cb43f91941ed85f2127398c4eb52a7c3b6e9be8b38fa4dd6374930197cfe9dc423aa6b1dbd790fbfc3fe96f042487b44b6a1a
 SHA512 
ab9402085b6ec5e37e70e2945300fa05902a6da82b5512931851cd08a3eff90604e835cef162c077ac703d570ed36886952a6d06a7906ed2a3601e71f361d083

diff --git 
a/games-arcade/tetrio-desktop/files/tetrio-desktop-8-application.patch 
b/games-arcade/tetrio-desktop/files/tetrio-desktop-8-application.patch
new file mode 100644
index 00..b8752e3991
--- /dev/null
+++ b/games-arcade/tetrio-desktop/files/tetrio-desktop-8-application.patch
@@ -0,0 +1,13 @@
+diff --git a/usr/share/applications/tetrio-desktop.desktop 
b/usr/share/applications/tetrio-desktop.desktop
+index 802f685..898b247 100644
+--- a/usr/share/applications/tetrio-desktop.desktop
 b/usr/share/applications/tetrio-desktop.desktop
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Name=TETR.IO
+ Comment=Puzzle together in this modern yet familiar online stacker!
+-Exec="/opt/TETR.IO/tetrio-desktop" %U
++Exec="/usr/bin/tetrio-desktop" %U
+ Terminal=false
+ Type=Application
+ Icon=tetrio-desktop

diff --git a/games-arcade/tetrio-desktop/metadata.xml 
b/games-arcade/tetrio-desktop/metadata.xml
new file mode 100644
index 00..b5a321ff2d
--- /dev/null
+++ b/games-arcade/tetrio-desktop/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+    aquaonel...@proton.me
+AquaOneLove
+
+
+Install with TETR.IO PLUS modification
+
+

diff --git a/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild 
b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
new file mode 100644
index 00..a6281968db
--- /dev/null
+++ b/games-arcade/tetrio-desktop/tetrio-desktop-8.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker desktop xdg
+
+DESCRIPTION="TETR.IO desktop client."
+HOMEPAGE="https://tetr.io/;
+
+SRC_URI="https://tetr.io/about/desktop/builds/${PV}/TETR.IO%20Setup.deb -> 
${P}.deb
+   tetrio-plus?( https://gitlab.com/UniQMG/tetrio-plus/uploads/\
+a7342b94f03d670b72235ab453c427a5/tetrio-plus_0.26.0_app.asar.zip -> 
tetrio-plus.zip )"
+
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="tetrio-plus"
+
+RESTRICT="bindist mirror test strip"
+
+BDEPEND="
+   app-arch/unzip
+"
+RDEPEND="
+   x11-libs/gdk-pixbuf:2
+   x11-libs/libXScrnSaver
+   x11-libs/libXcursor
+   x11-libs/libXi
+   x11-libs/libXrender
+   x11-libs/libXtst
+   app-accessibility/at-spi2-core:2
+   dev-libs/expat
+   dev-libs/glib:2
+   dev-libs/nspr
+   dev-libs/nss
+   media-libs/alsa-lib
+   media-libs/mesa
+   net-print/cups
+   sys-apps/dbus
+   x11-libs/cairo
+   x11-libs/gtk+:3
+   x11-libs/libdrm
+   x11-libs/libX11
+   x11-libs/libxcb
+   x11-libs/libXcomposite
+   x11-libs/libXdamage
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXrandr
+   x11-libs/pango
+"
+
+QA_PREBUILT=".*"
+
+PATCHES=(
+   "${FILESDIR}/${P}-application.patch"
+
+)
+
+src_unpack() {
+   unpack_deb "${P}.deb"
+   if use tetrio-plus; then
+   unpack "tetrio-plus.zip"
+   fi
+}
+
+src_prepare() {
+   eapply ${PATCHES}
+   eapply_user
+
+   if use tetrio-plus; then
+   mv "${S}/app.asar" "${S}/opt/TETR.IO/resources/app.asar" || die
+   fi
+
+   mv "${S}/opt/TETR.IO" "${S}/opt

[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/

2024-04-24 Thread AquaOneLove
commit: e29fde7446d0cbff2c3c9c03343976fa800f6c27
Author: AquaOneLove  proton  me>
AuthorDate: Wed Apr 24 22:43:02 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Wed Apr 24 22:44:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e29fde74

net-im/armcord-bin:

Bug: https://bugs.gentoo.org/930639
Signed-off-by: AquaOneLove  proton.me>

Fix issue with permissions for /opt/armcord-bin/resources

 net-im/armcord-bin/armcord-bin-3.2.6.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-im/armcord-bin/armcord-bin-3.2.6.ebuild 
b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
index ae0c489fdd..4499d96b9f 100644
--- a/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
+++ b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
@@ -85,6 +85,10 @@ src_install() {
fperms -R 644 "${DESTDIR}/locales"
fperms -R 644 "${DESTDIR}/resources"
 
+   # Fix bug 930639
+   fperms a+rx "${DESTDIR}"/resources/
+   fperms a+r "${DESTDIR}"/resources/*
+
fowners root "${DESTDIR}/chrome-sandbox"
fperms 4711 "${DESTDIR}/chrome-sandbox"
 



[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/

2024-04-22 Thread AquaOneLove
commit: 19dffc80423099d2a8cc25792e4b56282b92c961
Author: AquaOneLove  proton  me>
AuthorDate: Mon Apr 22 22:21:53 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Mon Apr 22 22:21:53 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19dffc80

net-im/armcord-bin: add myself as a maintainer

Signed-off-by: AquaOneLove  proton.me>

 net-im/armcord-bin/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-im/armcord-bin/metadata.xml b/net-im/armcord-bin/metadata.xml
index bebdba6fcd..a8f454e3a4 100644
--- a/net-im/armcord-bin/metadata.xml
+++ b/net-im/armcord-bin/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+
+aquaonel...@proton.me
+    AquaOneLove
+
 
 ArmCord/ArmCord
 



[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/, net-im/armcord-bin/files/

2024-04-22 Thread AquaOneLove
commit: 683029438d344786a156f822735ad107181b7753
Author: AquaOneLove  proton  me>
AuthorDate: Mon Apr 22 14:17:03 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Mon Apr 22 18:06:46 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68302943

net-im/armcord-bin: new package, add 3.2.6

Signed-off-by: AquaOneLove  proton.me>

 net-im/armcord-bin/Manifest|  1 +
 net-im/armcord-bin/armcord-bin-3.2.6.ebuild| 95 ++
 net-im/armcord-bin/files/armcord-bin-desktop.patch | 12 +++
 net-im/armcord-bin/metadata.xml|  4 +
 4 files changed, 112 insertions(+)

diff --git a/net-im/armcord-bin/Manifest b/net-im/armcord-bin/Manifest
new file mode 100644
index 00..c3fc8a5414
--- /dev/null
+++ b/net-im/armcord-bin/Manifest
@@ -0,0 +1 @@
+DIST armcord-bin-3.2.6.deb 74268974 BLAKE2B 
c7fc6bfcef006c6823bd3d2cf2bfb976c7feb6cf6146d49154446d5394b295b48278119df60f056a9609111f0510c4fa5abaafb89c556987060092c523dd6d4a
 SHA512 
844f88527735b3f54e203c6b2acba7f949c9bc38236b702759db37a1540378588406350a5920d49d4a45b3fdf34e3a6b7afa91db6bf9f4175ddd7fadbba51eb7

diff --git a/net-im/armcord-bin/armcord-bin-3.2.6.ebuild 
b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
new file mode 100644
index 00..ae0c489fdd
--- /dev/null
+++ b/net-im/armcord-bin/armcord-bin-3.2.6.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit unpacker desktop xdg
+
+DESCRIPTION="ArmCord is a custom client designed to enhance your Discord 
experience."
+HOMEPAGE="https://armcord.app/;
+SRC_URI="https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord_${PV}_amd64.deb
 -> ${P}.deb"
+S="${WORKDIR}"
+
+LICENSE="MIT BSD OSL-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="bindist mirror test strip"
+
+RDEPEND="
+   app-accessibility/at-spi2-core:2
+   dev-libs/expat
+   dev-libs/glib:2
+   dev-libs/nspr
+   dev-libs/nss
+   media-libs/alsa-lib
+   media-libs/mesa
+   net-print/cups
+   sys-apps/dbus
+   x11-libs/cairo
+   x11-libs/gtk+:3
+   x11-libs/libdrm
+   x11-libs/libX11
+   x11-libs/libxcb
+   x11-libs/libXcomposite
+   x11-libs/libXdamage
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libxkbcommon
+   x11-libs/libXrandr
+   x11-libs/pango
+"
+QA_PREBUILT=".*"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-desktop.patch"
+)
+
+src_unpack() {
+   unpack_deb "${P}.deb"
+}
+
+src_prepare() {
+   default
+
+   mv "${WORKDIR}/opt/ArmCord" "${WORKDIR}/opt/${PN}" || die
+   mv "${WORKDIR}/usr/share/applications/armcord.desktop" 
"${WORKDIR}/${PN}.desktop" || die
+   mv "${WORKDIR}"/usr/share/icons/hicolor/* "${WORKDIR}/" || die
+   rm -rf "${WORKDIR}/usr/share/doc" || die
+}
+
+src_install() {
+   DESTDIR="/opt/${PN}"
+
+   doicon -s 16 "16x16/apps/armcord.png"
+   doicon -s 32 "32x32/apps/armcord.png"
+   doicon -s 48 "48x48/apps/armcord.png"
+   doicon -s 64 "64x64/apps/armcord.png"
+   doicon -s 128 "128x128/apps/armcord.png"
+   doicon -s 256 "256x256/apps/armcord.png"
+   doicon -s 512 "512x512/apps/armcord.png"
+   doicon -s 1024 "1024x1024/apps/armcord.png"
+
+   domenu "${PN}.desktop"
+
+   exeinto "${DESTDIR}"
+   doexe "opt/${PN}/armcord" "opt/${PN}/chrome-sandbox" 
"opt/${PN}/libEGL.so" \
+   "opt/${PN}/libffmpeg.so" "opt/${PN}/libGLESv2.so" 
"opt/${PN}/libvk_swiftshader.so"
+
+   insinto "${DESTDIR}"
+   doins "opt/${PN}/chrome_100_percent.pak" 
"opt/${PN}/chrome_200_percent.pak" "opt/${PN}/icudtl.dat" \
+   "opt/${PN}/resources.pak" "opt/${PN}/snapshot_blob.bin" 
"opt/${PN}/v8_context_snapshot.bin"
+   insopts -m0766
+   doins -r "opt/${PN}/locales" "opt/${PN}/resources"
+
+   fperms -R 644 "${DESTDIR}/locales"
+   fperms -R 644 "${DESTDIR}/resources"
+
+   fowners root "${DESTDIR}/chrome-sandbox"
+   fperms 4711 "${DESTDIR}/chrome-sandbox"
+
+   doins "opt/${PN}/chrome_crashpad_handler"
+   fperms 755 "${DESTDIR}/chrome_crashpad_handler"
+
+   dosym -r /opt/${PN}/armcord /usr/bin/${PN}
+}

diff --git a/net-im/armcord-bin/files/armcord-bin-desktop.patch 
b/net-im/armcord-bin/files/armcord-bin-desktop.patch
new file mode 100644
index 00..3160407797
--- /dev/null
+++ b/net-im/armcord-bin/files/armcord-bin-d

[gentoo-commits] repo/proj/guru:dev commit in: net-im/armcord-bin/

2024-04-22 Thread AquaOneLove
commit: cf0e8426fbf284470ddc78d61d394d0282eb14fc
Author: AquaOneLove  proton  me>
AuthorDate: Mon Apr 22 18:41:17 2024 +
Commit:     AquaOneLove  proton  me>
CommitDate: Mon Apr 22 18:41:17 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf0e8426

net-im/armcord-bin: add github upstream metadata

Signed-off-by: AquaOneLove  proton.me>

 net-im/armcord-bin/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-im/armcord-bin/metadata.xml b/net-im/armcord-bin/metadata.xml
index 097975e3ad..bebdba6fcd 100644
--- a/net-im/armcord-bin/metadata.xml
+++ b/net-im/armcord-bin/metadata.xml
@@ -1,4 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+
+ArmCord/ArmCord
+