mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
Merge updates from master
This commit is contained in:
@@ -1 +1 @@
|
|||||||
DIST odfdo-3.9.4.tar.gz 3857824 BLAKE2B a218e3f23470505fc8c089e33803958f6a59e9ebc70b1c7db243b83eb69a94469fec614f733b0826d935c491f12ccb37b3724ea1436bfc133e883773abe45099 SHA512 a8fe196c7eeb062d89b4f84fa04a1bec7d53b85637007ddae5a7e0655221a666c54bbfb0cc27de4858f58217e50b8a98a1fb90bea09fe356f428aaebb984a4ee
|
DIST odfdo-3.13.3.gh.tar.gz 4262739 BLAKE2B ccf71a67fea3c7160c8316fceefac805ea4aed1ece4702a12231ff94a98fcf2b5d19db2f4eee67d85b7fd30a1a7ac80c371fac59fb1ecb3528bbbddf107ab8c1 SHA512 7f30687f2f71a54f8f0983a564c97585d1b48894865bf9a7c695114c52170056e7c5dc274461e0225b6c19b6b47934de4992743c2aa948a69b1aa35cd8d55d91
|
||||||
|
|||||||
15
dev-python/odfdo/metadata.xml
Normal file
15
dev-python/odfdo/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<!-- maintainer-needed -->
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<changelog>https://github.com/jdum/odfdo/blob/master/CHANGES.md</changelog>
|
||||||
|
<maintainer>
|
||||||
|
<email>jerome.dumonteil@gmail.com</email>
|
||||||
|
<name>Jérôme Dumonteil</name>
|
||||||
|
</maintainer>
|
||||||
|
<remote-id type="github">jdum/odfdo</remote-id>
|
||||||
|
<remote-id type="pypi">odfdo</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 2024-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -9,13 +9,19 @@ PYTHON_COMPAT=( python3_{12..13} )
|
|||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Python library for OpenDocument format (ODF)"
|
DESCRIPTION="Python library for OpenDocument format (ODF)"
|
||||||
HOMEPAGE="https://github.com/jdum/odfdo"
|
HOMEPAGE="
|
||||||
SRC_URI="https://github.com/jdum/odfdo/archive/refs/tags/v${PV}.tar.gz -> odfdo-${PV}.tar.gz"
|
https://github.com/jdum/odfdo
|
||||||
|
https://pypi.org/project/odfdo/
|
||||||
|
"
|
||||||
|
SRC_URI="https://github.com/jdum/odfdo/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND=">=dev-python/lxml-5.3.0[${PYTHON_USEDEP}]"
|
||||||
>=dev-python/poetry-core-1.9.1
|
|
||||||
"
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
# No need to test performance downstream
|
||||||
|
EPYTEST_DESELECT=( tests/test_performance.py::test_all_perf )
|
||||||
@@ -1 +1 @@
|
|||||||
DIST odsparsator-1.12.1.tar.gz 167385 BLAKE2B 278236054b9dbf94c93757517e0d577c25e034b58332838c487c096b14382c92fa50eec4fcfcf5aba7ad2540939f26b0a558c3b6a090d53ba0c2a39f74173871 SHA512 c3c9abd8634f71826291a3a6f3b1684141c40932a8a77b01e48ef1205dfdac2863710c776c4000ff5b038960c41fa692ac67f9888dbf9e43e1405d166a1ac669
|
DIST odsparsator-1.12.1.gh.tar.gz 167385 BLAKE2B 278236054b9dbf94c93757517e0d577c25e034b58332838c487c096b14382c92fa50eec4fcfcf5aba7ad2540939f26b0a558c3b6a090d53ba0c2a39f74173871 SHA512 c3c9abd8634f71826291a3a6f3b1684141c40932a8a77b01e48ef1205dfdac2863710c776c4000ff5b038960c41fa692ac67f9888dbf9e43e1405d166a1ac669
|
||||||
|
|||||||
15
dev-python/odsparsator/metadata.xml
Normal file
15
dev-python/odsparsator/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<!-- maintainer-needed -->
|
||||||
|
<stabilize-allarches/>
|
||||||
|
<upstream>
|
||||||
|
<changelog>https://github.com/jdum/odsparsator/releases</changelog>
|
||||||
|
<maintainer>
|
||||||
|
<email>jerome.dumonteil@gmail.com</email>
|
||||||
|
<name>Jérôme Dumonteil</name>
|
||||||
|
</maintainer>
|
||||||
|
<remote-id type="github">jdum/odsparsator</remote-id>
|
||||||
|
<remote-id type="pypi">odsparsator</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 2024-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -9,13 +9,16 @@ PYTHON_COMPAT=( python3_{12..13} )
|
|||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
DESCRIPTION="Generate a JSON file from an OpenDocument Format .ods file."
|
DESCRIPTION="Generate a JSON file from an OpenDocument Format .ods file."
|
||||||
HOMEPAGE="https://github.com/jdum/odsparsator"
|
HOMEPAGE="
|
||||||
SRC_URI="https://github.com/jdum/odsparsator/archive/refs/tags/v${PV}.tar.gz -> odsparsator-${PV}.tar.gz"
|
https://github.com/jdum/odsparsator
|
||||||
|
https://pypi.org/project/odsparsator/
|
||||||
|
"
|
||||||
|
SRC_URI="https://github.com/jdum/odsparsator/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="dev-python/odfdo[${PYTHON_USEDEP}]"
|
||||||
>=dev-python/poetry-core-1.9.1
|
|
||||||
"
|
distutils_enable_tests pytest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2024 Gentoo Authors
|
# Copyright 2024-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
# CC-BY-SA-4.0 for soundpack
|
# CC-BY-SA-4.0 for soundpack
|
||||||
LICENSE="Apache-2.0 CC-BY-SA-3.0 CC-BY-SA-4.0 MIT OFL-1.1 Unicode-3.0"
|
LICENSE="Apache-2.0 CC-BY-SA-3.0 CC-BY-SA-4.0 MIT OFL-1.1 Unicode-3.0"
|
||||||
IUSE="debug ncurses nls +sound +soundpack test +tiles"
|
IUSE="debug doc ncurses nls +sound +soundpack test +tiles"
|
||||||
REQUIRED_USE="soundpack? ( sound ) sound? ( tiles ) \
|
REQUIRED_USE="soundpack? ( sound ) sound? ( tiles ) \
|
||||||
|| ( tiles ncurses )"
|
|| ( tiles ncurses )"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
@@ -50,6 +50,7 @@ RDEPEND="
|
|||||||
)"
|
)"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
|
doc? ( app-text/doxygen[dot] )
|
||||||
soundpack? ( app-arch/unzip )
|
soundpack? ( app-arch/unzip )
|
||||||
nls? ( sys-devel/gettext )
|
nls? ( sys-devel/gettext )
|
||||||
"
|
"
|
||||||
@@ -121,6 +122,8 @@ src_compile() {
|
|||||||
|
|
||||||
use nls && export LANGUAGES="all"
|
use nls && export LANGUAGES="all"
|
||||||
|
|
||||||
|
use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||||
|
|
||||||
if use ncurses; then
|
if use ncurses; then
|
||||||
# don't build tests twice
|
# don't build tests twice
|
||||||
if ! use tiles; then
|
if ! use tiles; then
|
||||||
@@ -151,6 +154,11 @@ src_install() {
|
|||||||
|
|
||||||
[[ -e "${WORKDIR}/cataclysm-${SLOT}" ]] && dobin "${WORKDIR}/cataclysm-${SLOT}"
|
[[ -e "${WORKDIR}/cataclysm-${SLOT}" ]] && dobin "${WORKDIR}/cataclysm-${SLOT}"
|
||||||
|
|
||||||
|
use doc && dodoc -r doxygen_doc/html
|
||||||
|
|
||||||
|
use tiles && newman "doc/cataclysm-tiles.6" "cataclysm-tiles-${SLOT}.6"
|
||||||
|
use ncurses && newman "doc/cataclysm.6" "cataclysm-${SLOT}.6"
|
||||||
|
|
||||||
if use soundpack; then
|
if use soundpack; then
|
||||||
insinto "/usr/share/${PN}-${SLOT}/sound"
|
insinto "/usr/share/${PN}-${SLOT}/sound"
|
||||||
doins -r "${WORKDIR}/CC-Sounds"
|
doins -r "${WORKDIR}/CC-Sounds"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2024 Gentoo Authors
|
# Copyright 2024-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -31,7 +31,7 @@ fi
|
|||||||
|
|
||||||
# CC-BY-SA-4.0 for soundpack
|
# CC-BY-SA-4.0 for soundpack
|
||||||
LICENSE="Apache-2.0 CC-BY-SA-3.0 CC-BY-SA-4.0 MIT OFL-1.1 Unicode-3.0"
|
LICENSE="Apache-2.0 CC-BY-SA-3.0 CC-BY-SA-4.0 MIT OFL-1.1 Unicode-3.0"
|
||||||
IUSE="debug ncurses nls +sound +soundpack test +tiles"
|
IUSE="debug doc ncurses nls +sound +soundpack test +tiles"
|
||||||
REQUIRED_USE="soundpack? ( sound ) sound? ( tiles ) \
|
REQUIRED_USE="soundpack? ( sound ) sound? ( tiles ) \
|
||||||
|| ( tiles ncurses )"
|
|| ( tiles ncurses )"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
@@ -50,6 +50,7 @@ RDEPEND="
|
|||||||
)"
|
)"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
|
doc? ( app-text/doxygen[dot] )
|
||||||
nls? ( sys-devel/gettext )
|
nls? ( sys-devel/gettext )
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -115,6 +116,8 @@ src_compile() {
|
|||||||
|
|
||||||
use nls && export LANGUAGES="all"
|
use nls && export LANGUAGES="all"
|
||||||
|
|
||||||
|
use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||||
|
|
||||||
if use ncurses; then
|
if use ncurses; then
|
||||||
# don't build tests twice
|
# don't build tests twice
|
||||||
if ! use tiles; then
|
if ! use tiles; then
|
||||||
@@ -145,6 +148,11 @@ src_install() {
|
|||||||
|
|
||||||
[[ -e "${WORKDIR}/cataclysm-${SLOT}" ]] && dobin "${WORKDIR}/cataclysm-${SLOT}"
|
[[ -e "${WORKDIR}/cataclysm-${SLOT}" ]] && dobin "${WORKDIR}/cataclysm-${SLOT}"
|
||||||
|
|
||||||
|
use doc && dodoc -r doxygen_doc/html
|
||||||
|
|
||||||
|
use tiles && newman "doc/cataclysm-tiles.6" "cataclysm-tiles-${SLOT}.6"
|
||||||
|
use ncurses && newman "doc/cataclysm.6" "cataclysm-${SLOT}.6"
|
||||||
|
|
||||||
if use soundpack; then
|
if use soundpack; then
|
||||||
insinto "/usr/share/${PN}-${SLOT}/sound"
|
insinto "/usr/share/${PN}-${SLOT}/sound"
|
||||||
doins -r "${WORKDIR}/CC-Sounds"
|
doins -r "${WORKDIR}/CC-Sounds"
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
DIST ProtonUp-Qt-2.9.2.tar.gz 915872 BLAKE2B a644c2b29b45cf925a9692c6f0e244d9bc1f22b74ab588f328bc0c2f8e2b07a9ca31e0e61bfde33aa24745e95d13f32e05308a22a4d393adaf888390c72e1095 SHA512 27c31c9b2e41f27deb71ca6c2a6d566ccd82fb0c8496b376ebb515239922425e15dd09b7582daf0a2da6e60dacbe22eab0854c96f4d1f665df840541d2bbfed7
|
DIST ProtonUp-Qt-2.11.1.tar.gz 944076 BLAKE2B bf2c1bd63e81b8fef15e78132b652e9b2ea44fe837ebaccd5eb12a719ef8199f013865f92dcf57e40bf5464f39d6fe7d69dc4e7eb4c5f9edc4d59d4fcace3087 SHA512 b839880656e8957c1b7d5d99a68b2809e208308ceb45df907e04bd1bd0ee24f695f79b3c7ba7c3ed12b9ed7e8106aed68afb361ff81181a556000c5717b25de7
|
||||||
|
|||||||
47
games-util/ProtonUp-Qt/ProtonUp-Qt-2.11.1.ebuild
Normal file
47
games-util/ProtonUp-Qt/ProtonUp-Qt-2.11.1.ebuild
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
|
||||||
|
inherit desktop distutils-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
|
||||||
|
HOMEPAGE="https://davidotek.github.io/protonup-qt/"
|
||||||
|
SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/pyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyside6[dbus,gui,uitools,widgets,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-python/steam[${PYTHON_USEDEP}]
|
||||||
|
dev-python/vdf[${PYTHON_USEDEP}]
|
||||||
|
dev-python/zstandard[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-add-entrypoint.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# execute entry point instead
|
||||||
|
sed -i "/^Exec=/s/net.davidotek.pupgui2/${PN}/" share/applications/net.davidotek.pupgui2.desktop || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
domenu share/applications/net.davidotek.pupgui2.desktop
|
||||||
|
for size in 64 128 256; do
|
||||||
|
doicon -s ${size} share/icons/hicolor/${size}x${size}/apps/net.davidotek.pupgui2.png
|
||||||
|
done
|
||||||
|
}
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
|
||||||
PYTHON_COMPAT=(python3_{9..12})
|
|
||||||
|
|
||||||
EPYTHON=python3
|
|
||||||
|
|
||||||
inherit distutils-r1 desktop xdg-utils
|
|
||||||
|
|
||||||
_app_id=net.davidotek.pupgui2
|
|
||||||
|
|
||||||
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
|
|
||||||
HOMEPAGE="https://davidotek.github.io/protonup-qt"
|
|
||||||
SRC_URI="https://github.com/DavidoTek/ProtonUp-Qt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/steam
|
|
||||||
dev-python/requests
|
|
||||||
dev-python/pyside6[gui,uitools,widgets]
|
|
||||||
dev-python/vdf
|
|
||||||
dev-python/pyxdg
|
|
||||||
dev-python/pyaml
|
|
||||||
dev-python/zstandard
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-libs/appstream-glib
|
|
||||||
"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
appstream-util validate-relax --nonet "share/metainfo/$_app_id.appdata.xml"
|
|
||||||
desktop-file-validate "share/applications/$_app_id.desktop"
|
|
||||||
distutils-r1_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
domenu "${FILESDIR}/ProtonUp-Qt.desktop"
|
|
||||||
dobin "${FILESDIR}/ProtonUp-Qt"
|
|
||||||
newicon -s 64 "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
|
||||||
newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
|
||||||
newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
@@ -1,48 +1,46 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
_app_id=net.davidotek.pupgui2
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
PYTHON_COMPAT=(python3_{9..12})
|
PYTHON_COMPAT=( python3_{10..12} )
|
||||||
|
|
||||||
EPYTHON=python3
|
inherit desktop distutils-r1 git-r3 xdg
|
||||||
|
|
||||||
inherit git-r3 distutils-r1 desktop xdg-utils
|
|
||||||
EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git"
|
|
||||||
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
|
DESCRIPTION="Install and manage GE-Proton, Luxtorpeda & more for Steam Lutris and Heroic."
|
||||||
HOMEPAGE="https://davidotek.github.io/protonup-qt"
|
HOMEPAGE="https://davidotek.github.io/protonup-qt/"
|
||||||
|
EGIT_REPO_URI="https://github.com/DavidoTek/ProtonUp-Qt.git"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|
||||||
DEPEND="dev-python/steam
|
RDEPEND="
|
||||||
dev-python/requests
|
dev-python/pyaml[${PYTHON_USEDEP}]
|
||||||
dev-python/pyside6[dbus,gui,uitools,widgets]
|
dev-python/pyside6[dbus,gui,uitools,widgets,${PYTHON_USEDEP}]
|
||||||
dev-python/vdf
|
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||||
dev-python/pyxdg
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
dev-python/pyaml
|
dev-python/steam[${PYTHON_USEDEP}]
|
||||||
dev-python/zstandard
|
dev-python/vdf[${PYTHON_USEDEP}]
|
||||||
dev-util/desktop-file-utils
|
dev-python/zstandard[${PYTHON_USEDEP}]
|
||||||
dev-libs/appstream-glib
|
|
||||||
"
|
"
|
||||||
|
|
||||||
src_compile() {
|
PATCHES=(
|
||||||
appstream-util validate-relax --nonet "share/metainfo/$_app_id.appdata.xml"
|
"${FILESDIR}/${P}-add-entrypoint.patch"
|
||||||
desktop-file-validate "share/applications/$_app_id.desktop"
|
)
|
||||||
distutils-r1_src_compile
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# execute entry point instead
|
||||||
|
sed -i "/^Exec=/s/net.davidotek.pupgui2/${PN}/" share/applications/net.davidotek.pupgui2.desktop || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
distutils-r1_src_install
|
distutils-r1_src_install
|
||||||
domenu "${FILESDIR}/ProtonUp-Qt.desktop"
|
domenu share/applications/net.davidotek.pupgui2.desktop
|
||||||
dobin "${FILESDIR}/ProtonUp-Qt"
|
for size in 64 128 256; do
|
||||||
newicon -s 64 "${WORKDIR}/${P}/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
doicon -s ${size} share/icons/hicolor/${size}x${size}/apps/net.davidotek.pupgui2.png
|
||||||
newicon -s 128 "${WORKDIR}/${P}/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
done
|
||||||
newicon -s 256 "${WORKDIR}/${P}/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" ProtonUp-Qt.png
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
/usr/bin/python -m pupgui2 "$@"
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
Add a GUI entry point.
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -30,3 +30,7 @@ install_requires =
|
||||||
|
zstandard>=0.19.0
|
||||||
|
|
||||||
|
packages = find:
|
||||||
|
+
|
||||||
|
+[options.entry_points]
|
||||||
|
+gui_scripts =
|
||||||
|
+ ProtonUp-Qt = pupgui2.pupgui2:main
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=ProtonUp-Qt
|
|
||||||
Exec=/usr/bin/ProtonUp-Qt
|
|
||||||
Type=Application
|
|
||||||
Comment=Install Wine and Proton-based Compatibility Tools
|
|
||||||
Comment[de]=Wine und Proton Kompatibilitätstools installieren
|
|
||||||
Comment[it]=Installa tool di compatibilità basati su Wine e Proton
|
|
||||||
Comment[nl]=Installeer op Wine en Proton gebaseerde compatibiliteitshulpmiddelen
|
|
||||||
Comment[pl]=Zainstaluj narzędzia kompatybilności oparte na Wine i Protonie
|
|
||||||
Terminal=false
|
|
||||||
Icon=ProtonUp-Qt
|
|
||||||
Categories=Game;Utility;
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
DIST xdg-desktop-portal-hyprland-1.3.3.gh.tar.gz 49323 BLAKE2B 6f0bd6636d1a457d238dbb9095782a41961e30b37eacd05e1a4d545fc933b9d3b529400321a31cfb08c6b5d69279bb8905e84f11743bf97b22587432a5e9cf14 SHA512 c100ca27e9cd430602ad0ea4733f34919d84206df084df0d9f8ed8ca8a634069cc7ef71cb587f92eae6eeedf4029a88644b24b9b8d37138cb544279f5be30720
|
|
||||||
DIST xdg-desktop-portal-hyprland-1.3.8.gh.tar.gz 50149 BLAKE2B 72fe8b534dce50f8a01e26660ba16516dc15f078a30fecff885afcbf6e36a6b47aefcb1f4cdbd7952d7bf7f1c89fabfb30f288915fdfa320b29f51a2d38cb2a7 SHA512 71e727c6fea3984f8eac62e5448fc7cf4f57ed28f2620a863578b210d2e0a8fd8882b12b65c5e8d3a3f690ef57206815dbb13a7fed4aab50418df2024d70269d
|
DIST xdg-desktop-portal-hyprland-1.3.8.gh.tar.gz 50149 BLAKE2B 72fe8b534dce50f8a01e26660ba16516dc15f078a30fecff885afcbf6e36a6b47aefcb1f4cdbd7952d7bf7f1c89fabfb30f288915fdfa320b29f51a2d38cb2a7 SHA512 71e727c6fea3984f8eac62e5448fc7cf4f57ed28f2620a863578b210d2e0a8fd8882b12b65c5e8d3a3f690ef57206815dbb13a7fed4aab50418df2024d70269d
|
||||||
|
DIST xdg-desktop-portal-hyprland-1.3.9.gh.tar.gz 50667 BLAKE2B 581013bd3bfc2c38f17624cee3a6bc759c88db50d67e0de7031d1ee7cf4cf906238a176f26d12a8f2ae5a88caf983dfdd119d7919bfe2481c9a140d3f8b9ebd8 SHA512 2a157d406b63371b0594a679622e113379a326ef68a02163aa5c0b14703c2472f972d080ff146d401c87e084bbfdbc4133768792d4996c2d2ad45ca6db8ccc1e
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2022-2024 Gentoo Authors
|
# Copyright 2022-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -21,22 +21,21 @@ SLOT="0"
|
|||||||
IUSE="elogind systemd"
|
IUSE="elogind systemd"
|
||||||
REQUIRED_USE="?? ( elogind systemd )"
|
REQUIRED_USE="?? ( elogind systemd )"
|
||||||
|
|
||||||
# sdbus is restricted to 0/1 due to #942404
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
>=media-video/pipewire-1.2.0:=
|
>=dev-cpp/sdbus-c++-2.0.0
|
||||||
dev-cpp/sdbus-c++:0/1
|
|
||||||
dev-libs/hyprlang:=
|
dev-libs/hyprlang:=
|
||||||
dev-libs/inih
|
dev-libs/inih
|
||||||
dev-libs/wayland
|
dev-libs/wayland
|
||||||
dev-qt/qtbase:6[gui,widgets]
|
dev-qt/qtbase:6[gui,widgets]
|
||||||
dev-qt/qtwayland:6
|
dev-qt/qtwayland:6
|
||||||
media-libs/mesa
|
media-libs/mesa
|
||||||
|
>=media-video/pipewire-1.2.0:=
|
||||||
sys-apps/util-linux
|
sys-apps/util-linux
|
||||||
x11-libs/libdrm
|
x11-libs/libdrm
|
||||||
|| (
|
|| (
|
||||||
systemd? ( >=sys-apps/systemd-237 )
|
|
||||||
elogind? ( >=sys-auth/elogind-237 )
|
|
||||||
sys-libs/basu
|
sys-libs/basu
|
||||||
|
elogind? ( >=sys-auth/elogind-237 )
|
||||||
|
systemd? ( >=sys-apps/systemd-237 )
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -46,28 +45,28 @@ RDEPEND="
|
|||||||
"
|
"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
>=dev-libs/wayland-protocols-1.24
|
|
||||||
dev-libs/hyprland-protocols
|
dev-libs/hyprland-protocols
|
||||||
|
>=dev-libs/wayland-protocols-1.24
|
||||||
|
>=dev-util/hyprwayland-scanner-0.4.2
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
|| ( >=sys-devel/gcc-13:* >=llvm-core/clang-17:* )
|
|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* )
|
||||||
"
|
"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
[[ ${MERGE_TYPE} == binary ]] && return
|
[[ ${MERGE_TYPE} == binary ]] && return
|
||||||
|
|
||||||
if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
|
if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then
|
||||||
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
|
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||||
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
|
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
|
||||||
die "GCC version is too old to compile XDPH!"
|
die "GCC version is too old to compile XDPH!"
|
||||||
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
|
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
|
||||||
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
|
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||||
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
|
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
|
||||||
die "Clang version is too old to compile XDPH!"
|
die "Clang version is too old to compile XDPH!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.2_use_sys_sdbus-c++.patch"
|
|
||||||
sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
|
sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
|
||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2022-2024 Gentoo Authors
|
# Copyright 2022-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -22,7 +22,6 @@ IUSE="elogind systemd"
|
|||||||
REQUIRED_USE="?? ( elogind systemd )"
|
REQUIRED_USE="?? ( elogind systemd )"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
>=media-video/pipewire-1.2.0:=
|
|
||||||
>=dev-cpp/sdbus-c++-2.0.0
|
>=dev-cpp/sdbus-c++-2.0.0
|
||||||
dev-libs/hyprlang:=
|
dev-libs/hyprlang:=
|
||||||
dev-libs/inih
|
dev-libs/inih
|
||||||
@@ -30,12 +29,13 @@ DEPEND="
|
|||||||
dev-qt/qtbase:6[gui,widgets]
|
dev-qt/qtbase:6[gui,widgets]
|
||||||
dev-qt/qtwayland:6
|
dev-qt/qtwayland:6
|
||||||
media-libs/mesa
|
media-libs/mesa
|
||||||
|
>=media-video/pipewire-1.2.0:=
|
||||||
sys-apps/util-linux
|
sys-apps/util-linux
|
||||||
x11-libs/libdrm
|
x11-libs/libdrm
|
||||||
|| (
|
|| (
|
||||||
systemd? ( >=sys-apps/systemd-237 )
|
|
||||||
elogind? ( >=sys-auth/elogind-237 )
|
|
||||||
sys-libs/basu
|
sys-libs/basu
|
||||||
|
elogind? ( >=sys-auth/elogind-237 )
|
||||||
|
systemd? ( >=sys-apps/systemd-237 )
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
@@ -45,22 +45,22 @@ RDEPEND="
|
|||||||
"
|
"
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
|
dev-libs/hyprland-protocols
|
||||||
>=dev-libs/wayland-protocols-1.24
|
>=dev-libs/wayland-protocols-1.24
|
||||||
>=dev-util/hyprwayland-scanner-0.4.2
|
>=dev-util/hyprwayland-scanner-0.4.2
|
||||||
dev-libs/hyprland-protocols
|
|
||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
|| ( >=sys-devel/gcc-13:* >=llvm-core/clang-17:* )
|
|| ( >=sys-devel/gcc-14:* >=llvm-core/clang-17:* )
|
||||||
"
|
"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
[[ ${MERGE_TYPE} == binary ]] && return
|
[[ ${MERGE_TYPE} == binary ]] && return
|
||||||
|
|
||||||
if tc-is-gcc && ver_test $(gcc-version) -lt 13 ; then
|
if tc-is-gcc && ver_test $(gcc-version) -lt 14 ; then
|
||||||
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
|
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||||
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
|
eerror "Please upgrade GCC: emerge -v1 sys-devel/gcc"
|
||||||
die "GCC version is too old to compile XDPH!"
|
die "GCC version is too old to compile XDPH!"
|
||||||
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
|
elif tc-is-clang && ver_test $(clang-version) -lt 17 ; then
|
||||||
eerror "XDPH needs >=gcc-13 or >=clang-17 to compile."
|
eerror "XDPH needs >=gcc-14 or >=clang-17 to compile."
|
||||||
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
|
eerror "Please upgrade Clang: emerge -v1 llvm-core/clang"
|
||||||
die "Clang version is too old to compile XDPH!"
|
die "Clang version is too old to compile XDPH!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user