Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-12-28 20:46:50 +00:00
6 changed files with 138 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST dpp-10.0.23.tar.gz 13721815 BLAKE2B abbe6849025270554f8462dcbef6adefff412ee06216c19a730f236cd44c7e4da1c6b801f2b10a493df253626a4af9b8132aa155c7f585fe3de35eaa5c5cf4df SHA512 18bbb7d2c1385d179cac9ded31d1b11e8d24f172e7ffe2ba79071203e1e2f277657e21d660b18ee4b849bc093d350f4bc5401702400084b56c3ebd6f03ce28df
DIST dpp-10.0.24.tar.gz 13739463 BLAKE2B 0531d9d14b943302293aac62a3972a4628487332107b77ca6d09ae39ae8a9d1cfeceae1a656790cc8699932af9c5d46a0ae5bc26885a9c29cc970388cdb60f3f SHA512 2f1e5415c121d5f19d2abb1b389512ad22c3cac6779ed897403d430b2c4e62c758ab25d46a3fd02538add711073fadd616a690b4981f3782e46c18ff05d116dc
DIST dpp-10.0.25.tar.gz 14312767 BLAKE2B 52263024ad615198fe901f3cc79290e1b88c4e44c22c318fb7df2e9a3d4069611282b18650602f29f40bff3b042b16d0b8a47b8d3ff9c5b5ea89fa9514777609 SHA512 49cb6fedcb75d3dd146243f46f9e34cfe79e1c9a6ae76fc69c8c6935d9a10ccf562452311085791674ff659913befe1dc6f8a191b518d45151cb23d779396572
DIST dpp-10.0.29.tar.gz 15560520 BLAKE2B 491730da342e2db08e061ec71d5488be3c23addc4ef5ae537631a83d3a461a53f34033da72d387f8202c45d529d39ff6bcc70e8a69f94006b2e1fb607aed2d23 SHA512 fcb9b8181827fc63fb2f9aff44e697d18a0bfd94714888492a63a04e0112f42f9506bfab8181e822aa5ce85e6b6a8aa44e0774baeac3e52c3f41348cbf55a76a

View File

@@ -0,0 +1,52 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Lightweight C++ Discord bot library"
HOMEPAGE="https://dpp.dev/ https://github.com/brainboxdotcc/DPP"
SRC_URI="
https://github.com/brainboxdotcc/DPP/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="Apache-2.0"
# DPP is extremely ABI instable due to frequent changes in the Discord API
# See https://github.com/brainboxdotcc/DPP/issues/207#issuecomment-1007030157
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="voice"
RDEPEND="
dev-libs/openssl:=
sys-libs/zlib:=
voice? (
dev-libs/libsodium:=
media-libs/opus
)
"
DEPEND="
${RDEPEND}
dev-cpp/nlohmann_json
"
S="${WORKDIR}/DPP-${PV}"
DOCS=( "README.md" "SECURITY.md" )
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=true
-DBUILD_VOICE_SUPPORT="$(usex voice)"
-DRUN_LDCONFIG=false
# Tests require network access
-DDPP_BUILD_TEST=false
-DDPP_NO_VCPKG=true
-DDPP_USE_EXTERNAL_JSON=true
)
cmake_src_configure
}

View File

@@ -0,0 +1,9 @@
DIST r2modman-128x128.png 4729 BLAKE2B bf7050ad2f512634331f4fd993a19f985835d6f63a0afe51b8e66bc205edf7401faccd03ada8cc898cee099d6a31c7086252425755acc6129dad101bbdb1fe7e SHA512 8dd26f80dd682c8be63af237062337c43e99fdc70497056aa709d37a106ef49862e3017348b6facd65eb480696c628c575e3aecb1ff054523bee119d4db63ab9
DIST r2modman-16x16.png 630 BLAKE2B babe2fd2e48f18b5584fcfba4453b4cfee3c45c81ff4c54058d20752e392d1f09c0df5d111ec9f8daae871fd9ec322a64ee2a0a236abfd478364aa833c71a954 SHA512 e89f06ab89ffec2899c49115329ae43c6a12338bbc15c8e786d66287fd224e2d478f70076878591b4ea5f3c18dd6779011ab21bd64d3bd2b697ca933e4081fc9
DIST r2modman-192x192.png 7319 BLAKE2B 378899c12ce58942539c354b652a302d1fd3c91387e2645892b161f035cef8396f0d92c753918d945112a96da5daa4ccfbed2144fc7edfbdf56ba7e72121c6c0 SHA512 c6392c415034c61545f401287a4b445a116211edefb5f55e5cf5ccfaf6ca5f9be535a5b8bd781ddeeed44e7097e774cc8c2f294ba5a4713ab506b037e99dd212
DIST r2modman-256x256.png 6690 BLAKE2B c0e62dc9d3bc7b261751a46e1fef35d2b6cf0ca06ee6c5b6f6ed61c3fe91e9f82b9d67a7641cf40f5724f5a0b6f109e370c9d2330728be3ff35ccc0a3b2f0f90 SHA512 bc67772e00d404816ab5d737b7d5dfbd093f1f457ca72863356dd5a3da8625535e7ed3f724275bc74356073f9d35b3b56bc392479561e33c8cc63a583762f2a1
DIST r2modman-32x32.png 1262 BLAKE2B 76f1205935009b55afe63812ef8bb2b9a3a307c16343359c5a15de70745f587f50834dba73cf98b06b9d2a11ec3e1b58617168ce67a19b9e13d5a19aac65af66 SHA512 9778da7bd19d569fe65f4f44984bf1213f8161013f9820be577154559a8dfff4cc165d494e303d4f6595f9eafd2d502a1088e522cbba4993aaaa58ebac3bf29d
DIST r2modman-48x48.png 1837 BLAKE2B 5956f438170d3ba3d30ebc7d7cf57b21d5b7d3ee7552b7beb51a59ac4619dc1b721a57a18b7798c64f35238dcd23ffeabfb12bafde02b45a67126236b5755325 SHA512 265bc260f4eefb2fc7b0e770999b5932b84200d76b5ca2afa97f5d5b446dab5dfa0a744e0585ccbef93703441300817c61159f9adff420784bfad95ae3557947
DIST r2modman-64x64.png 2439 BLAKE2B 2d44448882fb73db2b503cf41593531e856b3b2280a79fc0c8722338c25d4b92dd8fb7d21aa37a544156edf96185cc46ca53eb653a8e1d904c3531470f27d1ef SHA512 0f8bee1b874531e57889889d0f230d91a1a3c0a2f158b40d3d12c6f1891bd9982f850b69ea6cdcafe878df58b3e36c00c80c0ff9457584d6f1e14564afc2541c
DIST r2modman-96x96.png 3607 BLAKE2B 1e86a115e2f90ea3a39e3f2dfb61036b47f20c67897bbc268c512910433f04ee3dac505b0dd4f97f07ca11568e65df4c58b497fc9eef04ea3597665e56656cc1 SHA512 5ca72dc1069660f7deb92e7046f56e2ac216b8e3bce77fb68b67e0f8d79849ce3521ea0afff5702726c4f709a9d006e5d90ec8aab8b26782b57e2564f3fba231
DIST r2modman-bin-3.1.45.tar.gz 113307930 BLAKE2B 9986a264b1feae0bb3189c866734e193a4cfb674681e6f1b4c3c002a963d784aa02bada90598d386ea0a3a2dbbf1dcc0c838780605e8b9d3f3557648320c4920 SHA512 15703a27066f33f6f3945df06cbbd922e13f8eae018ca6dc94068fee4ecdb492472add5f53bc037fef404c8c10dc15de13e2e0de52338b2d33fd4490ad85ed53

View File

@@ -0,0 +1,13 @@
[Desktop Entry]
Comment=A simple and easy to use mod manager for several Unity games using Thunderstore.
Encoding=UTF-8
Exec=env DESKTOPINTEGRATION=false GDK_BACKEND=x11 /opt/r2modman/r2modman
Icon=r2modman
StartupWMClass=r2modman
Name=r2modman
StartupNotify=true
Terminal=false
Type=Application
X-KDE-SubstituteUID=false
MimeType=x-scheme-handler/ror2mm;
Categories=Game;

View File

@@ -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>gonegrier.duarte@gmail.com</email>
<name>Gonçalo Negrier Duarte</name>
</maintainer>
<upstream>
<remote-id type="github">ebkr/r2modmanPlus</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
M_PN=r2modman
inherit desktop xdg
SRC_URI="
https://github.com/ebkr/${M_PN}Plus/releases/download/v${PV}/${M_PN}-${PV}.tar.gz -> ${P}.tar.gz
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/16x16.png -> "${M_PN}"-16x16.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/32x32.png -> "${M_PN}"-32x32.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/48x48.png -> "${M_PN}"-48x48.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/64x64.png -> "${M_PN}"-64x64.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/96x96.png -> "${M_PN}"-96x96.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/128x128.png -> "${M_PN}"-128x128.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/192x192.png -> "${M_PN}"-192x192.png
https://raw.githubusercontent.com/ebkr/r2modmanPlus/v${PV}/src/assets/icon/256x256.png -> "${M_PN}"-256x256.png
"
DESCRIPTION="A simple and easy to use mod manager for several games using Thunderstore"
HOMEPAGE="https://github.com/ebkr/r2modmanPlus"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"
src_install() {
# Install binaries file
mv "${M_PN}-${PV}" "${M_PN}" || die #Fix folder name
insinto /opt
doins -r "${M_PN}"
fperms 755 "/opt/${M_PN}/r2modman"
#Install License file in proper location
find "${ED}" -name "LICENSE*" -delete || die
# Install desktop file
domenu "${FILESDIR}/${M_PN}".desktop
# Install icons
newicon -s 16 "${DISTDIR}/${M_PN}"-16x16.png "${M_PN}".png
newicon -s 32 "${DISTDIR}/${M_PN}"-32x32.png "${M_PN}".png
newicon -s 48 "${DISTDIR}/${M_PN}"-48x48.png "${M_PN}".png
newicon -s 64 "${DISTDIR}/${M_PN}"-64x64.png "${M_PN}".png
newicon -s 96 "${DISTDIR}/${M_PN}"-96x96.png "${M_PN}".png
newicon -s 128 "${DISTDIR}/${M_PN}"-128x128.png "${M_PN}".png
newicon -s 192 "${DISTDIR}/${M_PN}"-192x192.png "${M_PN}".png
newicon -s 256 "${DISTDIR}/${M_PN}"-256x256.png "${M_PN}".png
}