diff options
author | demize <demize@unstable.systems> | 2024-10-28 19:24:02 -0400 |
---|---|---|
committer | demize <demize@unstable.systems> | 2024-10-28 19:35:01 -0400 |
commit | d36e7a05a69a508cc4a7cf97b5584b6378390fe1 (patch) | |
tree | 7df3140400f2407d8a7ad87bc442231ce0d51411 /net-im | |
parent | net-p2p/yggdrasil-go: drop 0.5.7 (diff) | |
download | guru-d36e7a05a69a508cc4a7cf97b5584b6378390fe1.tar.gz guru-d36e7a05a69a508cc4a7cf97b5584b6378390fe1.tar.bz2 guru-d36e7a05a69a508cc4a7cf97b5584b6378390fe1.zip |
Move net-im/armcord-bin to net-im/legcord-bin
This follows an upstream package rename.
Closes: https://bugs.gentoo.org/942218
Signed-off-by: demize <demize@unstable.systems>
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/armcord-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/armcord-bin/armcord-bin-3.3.1.ebuild | 99 | ||||
-rw-r--r-- | net-im/armcord-bin/files/armcord-bin-desktop.patch | 12 | ||||
-rw-r--r-- | net-im/legcord-bin/Manifest | 1 | ||||
-rw-r--r-- | net-im/legcord-bin/files/legcord-bin-desktop.patch | 12 | ||||
-rw-r--r-- | net-im/legcord-bin/legcord-bin-1.0.2.ebuild (renamed from net-im/armcord-bin/armcord-bin-3.2.7.ebuild) | 30 | ||||
-rw-r--r-- | net-im/legcord-bin/metadata.xml (renamed from net-im/armcord-bin/metadata.xml) | 2 |
7 files changed, 29 insertions, 129 deletions
diff --git a/net-im/armcord-bin/Manifest b/net-im/armcord-bin/Manifest deleted file mode 100644 index 4729b114b..000000000 --- a/net-im/armcord-bin/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST armcord-bin-3.2.7.deb 74353498 BLAKE2B d4c84aa21d6a4097ae95d33bc307a176dddd350cbaad762dc40b97a36f22a44127a48ec570e49db3fb5b86d9998588b5f8fb7e5b6d1ab64d0d3943ed0dd21634 SHA512 dc3aeca58ff8d3586dfccb238c7150ca1ef711f3d3b78cb9e056072eda1522cef8238fd4d09b0030c5189324b26d3ad8e4c892db2d1cdf90d4d0b45de228bd03 -DIST armcord-bin-3.3.1.deb 76462926 BLAKE2B 5d40364492e90344b239221a3942d2dcfa17e02c6bd3919a30a805207cbd8efad3d12940af06b5a8a47d6c7874517728a498625f70a19f7bd4c94c9827eafca9 SHA512 d8fc76621660cc134986417ac3533f89e0a43c8748e7d9aa4a4ccf0d9c99a0dd14597acd54c3020c281329e90b21638420cc9591c76be7d357afcd3a9566e8db diff --git a/net-im/armcord-bin/armcord-bin-3.3.1.ebuild b/net-im/armcord-bin/armcord-bin-3.3.1.ebuild deleted file mode 100644 index fddec3087..000000000 --- a/net-im/armcord-bin/armcord-bin-3.3.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# 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}-linux-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} -} diff --git a/net-im/armcord-bin/files/armcord-bin-desktop.patch b/net-im/armcord-bin/files/armcord-bin-desktop.patch deleted file mode 100644 index 316040779..000000000 --- a/net-im/armcord-bin/files/armcord-bin-desktop.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/usr/share/applications/armcord.desktop b/usr/share/applications/armcord.desktop -index fdecb63..c374b75 100644 ---- a/usr/share/applications/armcord.desktop -+++ b/usr/share/applications/armcord.desktop -@@ -1,6 +1,6 @@ - [Desktop Entry] - Name=ArmCord --Exec=/opt/ArmCord/armcord %U -+Exec=/usr/bin/armcord-bin %U - Terminal=false - Type=Application - Icon=armcord diff --git a/net-im/legcord-bin/Manifest b/net-im/legcord-bin/Manifest new file mode 100644 index 000000000..0e1697d1a --- /dev/null +++ b/net-im/legcord-bin/Manifest @@ -0,0 +1 @@ +DIST legcord-bin-1.0.2.deb 76153068 BLAKE2B 9076b9367a350e7d47664312f1420693fb833e4c6ed55a76818861c8de01ef3056866232718449469d1b144b1a8e00135167ae04b9558f15ac5aa7b6567c1de7 SHA512 40f25077010619e2f47ef51d2619d4137e8d9e1ec071a87a6ae25a8aaa22ab6732a19796b55c69a60706db9bb337d716a300aed077817f04e34ba3b2c3b55545 diff --git a/net-im/legcord-bin/files/legcord-bin-desktop.patch b/net-im/legcord-bin/files/legcord-bin-desktop.patch new file mode 100644 index 000000000..974703c8f --- /dev/null +++ b/net-im/legcord-bin/files/legcord-bin-desktop.patch @@ -0,0 +1,12 @@ +diff --git a/usr/share/applications/legcord.desktop b/usr/share/applications/legcord.desktop +index fdecb63..c374b75 100644 +--- a/usr/share/applications/legcord.desktop ++++ b/usr/share/applications/legcord.desktop +@@ -1,6 +1,6 @@ + [Desktop Entry] + Name=Legcord +-Exec=/opt/Legcord/legcord %U ++Exec=/usr/bin/legcord-bin %U + Terminal=false + Type=Application + Icon=legcord diff --git a/net-im/armcord-bin/armcord-bin-3.2.7.ebuild b/net-im/legcord-bin/legcord-bin-1.0.2.ebuild index 5a09a31ac..99afe9822 100644 --- a/net-im/armcord-bin/armcord-bin-3.2.7.ebuild +++ b/net-im/legcord-bin/legcord-bin-1.0.2.ebuild @@ -5,9 +5,9 @@ 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" +DESCRIPTION="Legcord is a custom client designed to enhance your Discord experience." +HOMEPAGE="https://legcord.app/" +SRC_URI="https://github.com/Legcord/Legcord/releases/download/v${PV}/Legcord-${PV}-linux-amd64.deb -> ${P}.deb" S="${WORKDIR}" LICENSE="MIT BSD OSL-3.0" @@ -52,8 +52,8 @@ src_unpack() { src_prepare() { default - mv "${WORKDIR}/opt/ArmCord" "${WORKDIR}/opt/${PN}" || die - mv "${WORKDIR}/usr/share/applications/armcord.desktop" "${WORKDIR}/${PN}.desktop" || die + mv "${WORKDIR}/opt/Legcord" "${WORKDIR}/opt/${PN}" || die + mv "${WORKDIR}/usr/share/applications/legcord.desktop" "${WORKDIR}/${PN}.desktop" || die mv "${WORKDIR}"/usr/share/icons/hicolor/* "${WORKDIR}/" || die rm -rf "${WORKDIR}/usr/share/doc" || die } @@ -61,19 +61,19 @@ src_prepare() { 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" + doicon -s 16 "16x16/apps/legcord.png" + doicon -s 32 "32x32/apps/legcord.png" + doicon -s 48 "48x48/apps/legcord.png" + doicon -s 64 "64x64/apps/legcord.png" + doicon -s 128 "128x128/apps/legcord.png" + doicon -s 256 "256x256/apps/legcord.png" + doicon -s 512 "512x512/apps/legcord.png" + doicon -s 1024 "1024x1024/apps/legcord.png" domenu "${PN}.desktop" exeinto "${DESTDIR}" - doexe "opt/${PN}/armcord" "opt/${PN}/chrome-sandbox" "opt/${PN}/libEGL.so" \ + doexe "opt/${PN}/legcord" "opt/${PN}/chrome-sandbox" "opt/${PN}/libEGL.so" \ "opt/${PN}/libffmpeg.so" "opt/${PN}/libGLESv2.so" "opt/${PN}/libvk_swiftshader.so" insinto "${DESTDIR}" @@ -95,5 +95,5 @@ src_install() { doins "opt/${PN}/chrome_crashpad_handler" fperms 755 "${DESTDIR}/chrome_crashpad_handler" - dosym -r /opt/${PN}/armcord /usr/bin/${PN} + dosym -r /opt/${PN}/legcord /usr/bin/${PN} } diff --git a/net-im/armcord-bin/metadata.xml b/net-im/legcord-bin/metadata.xml index 157113c61..701a32606 100644 --- a/net-im/armcord-bin/metadata.xml +++ b/net-im/legcord-bin/metadata.xml @@ -6,6 +6,6 @@ <name>AquaOneLove</name> </maintainer> <upstream> - <remote-id type="github">ArmCord/ArmCord</remote-id> + <remote-id type="github">Legcord/Legcord</remote-id> </upstream> </pkgmetadata> |