Merge updates from master

This commit is contained in:
Repository mirror & CI
2025-05-04 07:24:17 +00:00
32 changed files with 654 additions and 203 deletions

View File

@@ -1,3 +1,4 @@
DIST blocksync-fast-1.0.3.tar.gz 159994 BLAKE2B 228d44a07f825ede0236ece06d0b8dd98285f3f74b5a7e32f05f444bba1d1eb53deaf19124ce20f1ae8d0057c551465d3d3cbe51f3d0e6d5977b2651745535a8 SHA512 83a086aeabb7b31eb274a682f40e0b2970b5d5ca786baca615ca5353ee2d5e10043f9020d4740bb88660bae3bde54e2d5821b082386e24da41c3ce014e9571bd
DIST blocksync-fast-1.0.4.tar.gz 175598 BLAKE2B e4c398b3645377f8ccc79dcf0f779ef6eb1d2e5b2c6f3282e5bef8ddf04a601e87627835e119e2d9ed687aa2968286b61411a84740678823d2117a595cd3794a SHA512 acd2dfc9864d075bdf1b3291b90a1b24ead72b00284efcf9810d762565b00ecd1f76151edfbe136333746a2f9759bb6bc399f3fd5e233f72b504a1b2d891f415
DIST blocksync-fast-1.0.6.tar.gz 182014 BLAKE2B 5f135dce3d0ce9e4d86f91537bf8f7f2c69098dce14cc955f63ee9d4e49a0e59c3898ee0ee6aa85cbd9f4a1ff5e222bfa9b5237ffbffaf2efe38478718f2b7c0 SHA512 f8a13130e14be94bf809fb1b439a26883ceff17d88ac66aafc76e50d4337486bd574db956c3c714272d0fa638d500672446a08d42ca2411a49e2a3a416c8e4e2
DIST blocksync-fast-1.0.7.tar.gz 182130 BLAKE2B 596ef3bc49fa36730891032b6709ce0a661b59b6347e4417539113aa73845cba7ecee86cb852b4bd8417e502c81cbf085ec7a2711a6d591da21d1184114c3b0a SHA512 f28a117da41f1e1a02bf32d939453790d5968ff3ae8ea5c1db38bcd2881f520f969ff16581e8aff7a37029eff9e9c8b5bb0e80eb5d013e3df5838be487477d98

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Fast block device sync with digest, designed to improve block-based backups."
HOMEPAGE="https://github.com/nethappen/blocksync-fast/"
SRC_URI="https://github.com/nethappen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+xxhash"
RDEPEND="
>=dev-libs/libgcrypt-1.9.0:0=
xxhash? ( >=dev-libs/xxhash-0.8 )"
DEPEND="${RDEPEND}"
src_configure() {
eautoreconf
econf $(use_with xxhash)
}
src_install() {
DOCS=(README.md CHANGELOG.md LICENSE scripts)
default_src_install
}

View File

@@ -1 +1,2 @@
DIST waydroid-1.4.3.tar.gz 240785 BLAKE2B e654f2ed74f8d22810417ee5d6f6134ee5050b4e105dd2c643fa39df660e8c325a80f8e75176dd65e052deba187890f8afd94c384d707e0287027d3454a533ea SHA512 e94edeca7097cb1572296d0b6e308483b1bd21e1bd50d9e6d2bd54d4ba75ffeb8bd4e1d1f8143fbcf49dddd30155da2e3c5a58240a85b159dae4e71985e547aa
DIST waydroid-1.5.1.tar.gz 241421 BLAKE2B 0368304d2088f8920d3dd65cd7fcb9d9517097146b543d838219f337f55444e32d10e2dfc4d0ec2570268959f005686cc3a756c8a44cb89bd87a473cf40a05d1 SHA512 fde8c699fdd67d49ee355c96dbba5c94ce2061c280bb28533035982cd460335f93cd9350de90b525d286f72bd3e4bad73a341fca31909e9623553e9280fe7463

View File

@@ -0,0 +1,110 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
inherit linux-info xdg python-single-r1
DESCRIPTION="Container-based approach to boot a full Android system on Linux systems"
HOMEPAGE="https://waydro.id"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
IUSE="apparmor +clipboard systemd"
DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
RDEPEND="
systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?,apparmor?,seccomp]
$(python_gen_cond_dep '
clipboard? ( >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}] )
dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
')
net-firewall/nftables
net-dns/dnsmasq
>=dev-libs/libglibutil-1.0.79
>=dev-libs/gbinder-1.1.41
${PYTHON_DEPS}
"
CONFIG_CHECK="
~ANDROID_BINDER_IPC
~ANDROID_BINDERFS
~MEMFD_CREATE
~NETFILTER_XT_TARGET_MASQUERADE
~NETFILTER_XT_NAT
~PSI
~!PSI_DEFAULT_DISABLED
~NF_TABLES
~NF_TABLES_INET
~NF_TABLES_NETDEV
~NFT_NUMGEN
~NFT_NAT
~NFT_TUNNEL
~NFT_QUOTA
~NFT_SOCKET
~NF_FLOW_TABLE
~NFT_BRIDGE_META
~NFT_BRIDGE_REJECT
"
ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating Android-specific binder IPC channels"
ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating Android-specific binder IPC channels"
ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated ISHMEM drivers,
therefore it's vital for android-specific memory management"
ERROR_NETFILTER_XT_NAT="CONFIG_NETFILTER_XT_NAT: see bug #937106"
ERROR_NETFILTER_XT_TARGET_MASQUERADE="CONFIG_NETFILTER_XT_TARGET_MASQUERADE: see bug #937106"
ERROR_PSI="CONFIG_PSI: see bug #947280"
ERROR_NF_TABLES="CONFIG_NF_TABLES: Make sure you have NFTABLES up and running in your kernel"
ERROR_NFT_NAT="CONFIG_NFT_NAT: see bug #947280"
ERROR_NFT_BRIDGE_META="CONFIG_NFT_BRIDGE_META: see bug #947280"
pkg_setup() {
linux-info_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
if ! use apparmor; then
# https://github.com/waydroid/waydroid/issues/652
sed -e '/^lxc\.apparmor\.profile =/d' \
-i data/configs/config_3 || die
fi
default
}
src_install() {
python_fix_shebang waydroid.py
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 1 0)
if ! use systemd; then
elog "Installing waydroid OpenRC daemon"
doinitd "${FILESDIR}"/waydroid
fi
}
pkg_postinst() {
xdg_pkg_postinst
elog "After package installation run either 'emerge --config app-containers/waydroid'"
elog "or 'waydroid init' from root shell to install android container runtime"
elog "To run waydroid, 1. Start container: 'rc-service waydroid start'"
elog "2. start wayland channel (from user shell) 'waydroid session start'"
elog "Contact https://docs.waydro.id/usage/install-on-desktops for how-to guides"
elog "(does not cover Gentoo-specific things sadly)"
elog
ewarn "Make sure you have NFTABLES up and running in your kernel. See"
ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
ewarn
if use apparmor; then
ewarn "Check the known issues for apparmor:"
ewarn "https://docs.waydro.id/debugging/known-issues"
fi
}
pkg_config() {
"${EROOT}"/usr/bin/waydroid init
}

View File

@@ -1,2 +1,2 @@
DIST v_2.6.3.tar.gz 6730071 BLAKE2B 09e629c4bc77a93acdbe92a455355cb09ef54eb025c824fbf829db093f6d5b5a9491023aec80b050667aeeca910dbe82183d542268b0f722c83aa81e3278ade8 SHA512 9d35cae6bbc55058b4926026f73d8f368d8c78669493a67ab0901a3b044b27db87297715d763116fd3460f3a76dc890dbede09e24c3eae8354ac005d8f1c8bd7
DIST v_2.6.4.tar.gz 6854330 BLAKE2B 577de3d07a40822c88358d267fa4be8b9ff68e4928218002a9cd45c9d3edd2e1faecbd8dec11d54aeeb6c49f087b8aff8d0fb0e22ffcc5fb0152b0d27774dc03 SHA512 87dfdbcecc0617d200288f113a7a59ae3192c9ab3f0e39fa1dac4992cedc9fdce2bf2bdc317446d37a078581c2c7dd5d7cf4fcb65e1577fafeec91974eb08a59
DIST v_2.6.5.tar.gz 8274199 BLAKE2B 9a154a94c1d3fc7aa9c088263740c7edaeee857bbdf11e7b5fbc041786b12e8a98ccb82f0507d2de7ad18e347fc18bdc600d48f410ee0b176050fe81373a3eac SHA512 b643acbfb416127a3bde1e40093416a2b11abae54b6f5147ce5524cf19af3dbd4c45bf19585cb2b03288cdf69d6fabfdbca8dc4caa76212c9ef76d7aa87211bd

View File

@@ -3,7 +3,9 @@
EAPI=8
WX_GTK_VER="3.0-gtk3"
PYTHON_COMPAT=( python3_{11..13} )
WX_GTK_VER="3.2-gtk3"
inherit cmake xdg wxwidgets
@@ -24,24 +26,25 @@ fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+ssl sftp samba nfs webdav +archive +wxwidgets"
IUSE="+archive +chardet +colorer nfs samba sftp +ssl webdav wxwidgets X"
RESTRICT="mirror"
BDEPEND="sys-devel/m4"
RDEPEND="dev-libs/xerces-c
dev-libs/spdlog
app-i18n/uchardet
RDEPEND="
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
ssl? ( dev-libs/openssl )
sftp? ( net-libs/libssh[sftp] )
samba? ( net-fs/samba )
nfs? ( net-fs/libnfs )
webdav? ( net-libs/neon )
X? (
x11-libs/libX11
x11-libs/libXi
)
archive? (
dev-libs/libpcre2
app-arch/libarchive
)"
)
chardet? ( app-i18n/uchardet )
colorer? ( dev-libs/libxml2 )
nfs? ( net-fs/libnfs )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh[sftp] )
ssl? ( dev-libs/openssl )
webdav? ( net-libs/neon )"
DEPEND="${RDEPEND}"
@@ -54,11 +57,11 @@ pkg_setup() {
}
src_prepare() {
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_askpass)::"
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_askpass)::" \
-i "${S}"/CMakeLists.txt || die
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_sudoapp)::"
sed -e "s:execute_process(COMMAND ln -sf \../../bin/far2l \${CMAKE_INSTALL_PREFIX}/lib/far2l/far2l_sudoapp)::" \
-i "${S}"/CMakeLists.txt || die
sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/.*::"
sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/.*::" \
-i "${S}"/CMakeLists.txt || die
cmake_src_prepare
}
@@ -66,12 +69,12 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DUSEWX="$(usex wxwidgets)"
-DUSEUCD=$"$(usex chardet)"
-DCOLORER="$(usex colorer)"
# FIXME: add python plugins support
# We need pcpp for this
# -DPYTHON="$(usex python)"
-DBUILD_SHARED_LIBS=OFF
)
cmake_src_configure
}

View File

@@ -0,0 +1 @@
DIST #authlib-1.5.2.tar.gz 3101 BLAKE2B 82203ce4d6463184d05fdbc868f7a00cb4895ed6c393b0f15988f30a9d60a8cb74410fa8e217e39b4c361fb99d99584a5fcb556a37433c51c2636e1f79ddc459 SHA512 77d305f747373f73da81dc9cb0f56bb782d868911e1246700179745645bc8b6b0c2300ae069f16f19d415628d870eb669244fc8257bc653ea78f2d300a67546f

View File

@@ -0,0 +1,54 @@
# Copyright 2025
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10,11,12} )
DISTUTILS_USE_PEP517="setuptools"
inherit distutils-r1
DESCRIPTION="A Python library in building OAuth and OpenID Connect servers and clients."
HOMEPAGE="https://authlib.org/"
SRC_URI="https://pypi.org/project/Authlib/#${PN}-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="django flask jose test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/cryptography[${PYTHON_USEDEP}]
django? (
dev-python/django[${PYTHON_USEDEP}]
)
flask? (
dev-python/flask[${PYTHON_USEDEP}]
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
)
jose? (
>=dev-python/pycryptodome-3.10[${PYTHON_USEDEP}]
<dev-python/pycryptodome-4[${PYTHON_USEDEP}]
)
"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/cachelib[${PYTHON_USEDEP}]
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
epytest
}

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<name>Oz Tiram</name>
<email>oz.tiram@gmail.com</email>
</maintainer>
<maintainer type="project" proxied="no">
<name>Proxy Maintainers</name>
<email>proxy-maint@gentoo.org</email>
</maintainer>
<use>
<flag name="django">Enable Django framework support</flag>
<flag name="flask">Enable Flask framework support</flag>
<flag name="jose">Enable JSON Object Signing and Encryption (JOSE) support via <pkg>dev-python/pycryptodome</pkg></flag>
</use>
<upstream>
<remote-id type="github">lepture/authlib</remote-id>
<remote-id type="pypi">Authlib</remote-id>
<doc>https://docs.authlib.org/</doc>
<bugs-to>https://github.com/authlib/authlib/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -1 +1 @@
DIST pyproject2ebuild-0.0.1.tar.gz 19237 BLAKE2B 156231b06bd40a53d436f5cb9c973da7e13ca14979cbf258799112c94c1604b5288f075520dacdde62ce4b1dfb7af19839eb468a484d827126b2476dce148cfc SHA512 bda132bd24e504f5bc231aa7513408c5f6b40f7258e25d8d8884103bc32fd770895ab12d93aa773ca2ebf19ffe3403bba9d8668c0ee2b08b38034332fbb4999f
DIST pyproject2ebuild-0.0.2.tar.gz 19935 BLAKE2B 6b39d520af50856c010d8a6854ab8134b7a3972a84672f91736e5f3eb2388fd1d8944dc065dfbd40dcd1680921b1872b07b51f9fa12d083d6e583fc5a617f4a7 SHA512 7404b187a4b7b2d28365fe4a70624b676bae7a990d7da1b40d4362cc3a4a905ca742ccda996f44a917caf85072e362e13744472d1b29b50fa504d9f31e277d84

View File

@@ -0,0 +1 @@
DIST pysdl3-0.9.8b1.tar.gz 1419632 BLAKE2B 15e5e6fd35eeb4c4349f9c9616c86a36130da05a31303d9fcc2d2508208f7f5075146404306a61143e7e4fa0d3684a5b34aee05eaa481588a8a7f1c8ff485fe2 SHA512 519cca8833c9e68ad33da3bc5009689d6d22766a0511d61c52486a00fddf9e8677d583edfe6b51a454fed98125e26747c4b5485ac8fc737b3d0d5124e4a4a64a

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
<upstream>
<remote-id type="github">Aermoss/PySDL3</remote-id>
<remote-id type="pypi">pysdl3</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,48 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1 pypi
DESCRIPTION="A pure Python wrapper for SDL3"
HOMEPAGE="
https://pypi.org/project/pysdl3/
https://github.com/Aermoss/PySDL3
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
"
RDEPEND="
media-libs/libsdl3
${DEPEND}
"
src_install() {
distutils-r1_src_install
cat - > 99pysdl3 <<EOF
SDL_DISABLE_METADATA=1
SDL_DOC_GENERATOR=0
SDL_BINARY_PATH=/usr/$(get_libdir)
EOF
# Workaround for https://github.com/Aermoss/PySDL3/issues/27
doenvd 99pysdl3
}
python_test() {
SDL_DISABLE_METADATA=1 SDL_DOC_GENERATOR=0 SDL_BINARY_PATH="/usr/$(get_libdir)" \
${EPYTHON} -c 'import tests' || die
}

View File

@@ -0,0 +1 @@
DIST safety_schemas-0.0.14.tar.gz 53216 BLAKE2B 50680713a2530275fa2e093fa426cce12cd9ed1f469c27d8d8a4eec0d663c411e71af35f932c9ff4c86bbc00ee78a0b8cc77c50e42fc59848fb1b1da07bc3dad SHA512 47a4bc3cafff9cc8292898eac278d08f08b07c13f12cf55e97ef8b269aea02072483882e11152b339784595e24ebb3861d8818120f6712d2ec4805d3e770be4e

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<name>Oz Tiram</name>
<email>oz.tiram@gmail.com</email>
</maintainer>
<maintainer type="project" proxied="no">
<name>Proxy Maintainers</name>
<email>proxy-maint@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="pypi">safety-schemas</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2025
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 python3_12 )
DISTUTILS_USE_PEP517="hatchling"
inherit distutils-r1 pypi
DESCRIPTION="Schemas for Safety tools"
HOMEPAGE="https://pypi.org/project/safety-schemas/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
<dev-python/pydantic-2.11[${PYTHON_USEDEP}]
>=dev-python/dparse-0.6.4[${PYTHON_USEDEP}]
>=dev-python/ruamel-yaml-0.17.21[${PYTHON_USEDEP}]
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"

View File

@@ -0,0 +1 @@
DIST typer-0.15.3.tar.gz 101641 BLAKE2B c400974553ecaa1aa8ebeacc0042b50b5c7805dadbeca33225d9bedff415b10ce644b384fc699660a34f1d3a5049ceff67e682a5e7fb5910d7b264b49ce0e4ef SHA512 0562b8305bb8d494112919962aa74ca750ecdef2f70c0fd1f956101d2b81c28e9f31b94c8258eaa7f3cf7c3f685e48c86d8469a63c9d0e65eb1b49d79e6220c6

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<name>Oz Tiram</name>
<email>oz.tiram@gmail.com</email>
</maintainer>
<maintainer type="project" proxied="no">
<name>Proxy Maintainers</name>
<email>proxy-maint@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">tiangolo/typer</remote-id>
<remote-id type="pypi">typer</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 2025
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_1{1..3} )
DISTUTILS_USE_PEP517="hatchling"
inherit distutils-r1 pypi
DESCRIPTION="Typer, build great CLIs. Easy to code. Based on Python type hints."
HOMEPAGE="https://typer.tiangolo.com/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/shellingham[${PYTHON_USEDEP}]
>=dev-python/click-8.0.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"

View File

@@ -1 +1,2 @@
DIST dosbox-x-v2025.02.01.tar.gz 122016342 BLAKE2B 83fa9c39bb554e6c6e9079ee45ee1b0cbb61ca62291ca503690a86400f60dbdfbf1cd91955002676bce423198dab03ef9d8cc947b633266e0f70882d97c5ed96 SHA512 6832525ae08ce49a13ba277d5a26f16c2ba49331b7341b7e7bbfe330f4a082facc2e9fe8123b8bc0a6444111c947e975a1d6410f4b1fa0373eec15adf074c7c8
DIST dosbox-x-v2025.05.03.tar.gz 122834930 BLAKE2B a153370032d8c3e8e203ac50f2c25076b017133a484af9e63f86e1f02ff7298ee6455d7a73863725e9d82c9ea3ea1ae3bf16481f6c165d2f5410d67605969fd1 SHA512 5ff487f58b0c0672bfca7f2f37a8a64635d0e55a94b2659bde845a0c6fae64558946328d854a837b51f375f4504d3fc8f76218fba199f00e2ee2f3fed6faef18

View File

@@ -0,0 +1,216 @@
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools toolchain-funcs xdg
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/joncampbell123/dosbox-x.git"
else
SRC_URI="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v${PV}.tar.gz"
S="${WORKDIR}/${PN}-${PN}-v${PV}"
KEYWORDS="~amd64"
fi
DESCRIPTION="Complete, accurate DOS emulator forked from DOSBox"
HOMEPAGE="https://dosbox-x.com/"
# Stay consistent with games-emulation/dosbox::gentoo even though source file
# headers specify the GPL version to be "either version 2 of the License, or
# (at your option) any later version." The same header is used in both the
# DOSBox source tree and the DOSBox-X source tree.
LICENSE="GPL-2"
SLOT="0"
IUSE="X debug ffmpeg fluidsynth opengl png slirp truetype"
# Unit tests are only available in debug builds
RESTRICT="!debug? ( test )"
BDEPEND="
dev-lang/nasm
sys-libs/libcap
"
# Unconditionally pulling in automagically-enabled optional dependencies:
# - media-libs/alsa-lib
# - media-libs/sdl2-net
# - net-libs/libpcap
#
# With media-libs/libsdl2[-X,wayland], this package does work on a Wayland
# desktop, but (at least on GNOME) the program does not launch in a movable
# and resizable window; whereas with media-libs/libsdl2[X], it does. Thus,
# unconditionally require media-libs/libsdl2[X] for better user experience.
#
# DOSBox-X works with multiple audio backends of SDL 2 but requires at least
# one available backend (https://bugs.gentoo.org/901303). Unconditionally
# depending on media-libs/libsdl2[alsa] to satisfy this requirement since
# this ebuild already unconditionally pulls in media-libs/alsa-lib.
COMMON_DEPEND="
media-libs/alsa-lib
media-libs/libsdl2[X,alsa,opengl?,sound,threads(+),video]
media-libs/sdl2-net
net-libs/libpcap
sys-libs/zlib
X? (
x11-libs/libX11
x11-libs/libXrandr
x11-libs/libxkbfile
)
debug? ( sys-libs/ncurses:= )
ffmpeg? ( media-video/ffmpeg:= )
fluidsynth? ( media-sound/fluidsynth:= )
opengl? ( media-libs/libglvnd[X] )
png? ( media-libs/libpng:= )
slirp? ( net-libs/libslirp )
truetype? ( media-libs/freetype )
"
DEPEND="
${COMMON_DEPEND}
"
# DOSBox-X can still run normally without any of these dependencies --
# it just cannot show a file dialog. However, upon the initial launch,
# DOSBox-X will try to show a file dialog to let the user choose the
# working directory; without one of these dependencies, the user would
# see nothing when they launch DOSBox-X for the first time.
FILE_DIALOG_DEPEND="
|| (
gnome-extra/zenity
kde-apps/kdialog
x11-misc/xdialog
)
"
RDEPEND="
${COMMON_DEPEND}
${FILE_DIALOG_DEPEND}
"
pkg_pretend() {
if use ffmpeg && use !png; then
ewarn "Setting the 'ffmpeg' USE flag when the 'png' USE flag is"
ewarn "unset does not have any effect. Unsetting the 'png' USE"
ewarn "flag disables the video capture feature, so additional"
ewarn "video capture formats enabled by the 'ffmpeg' USE flag"
ewarn "will end up being unused."
fi
}
src_prepare() {
default
# https://bugs.gentoo.org/887669
# Mask lines touching '-O*', and avoid creating an empty command
# list as a result to not break 'if', 'for', or functions
sed -i -E -e 's/((C|CXX)FLAGS=.*-O)/: \1/' configure.ac ||
die "Failed to stop configure.ac from touching '-O*' compiler flags"
eautoreconf
}
src_configure() {
local myconf=(
# Always use SDL 2, even though the package provides the option to
# build with SDL 1.x, because this package is expected to be built
# with the bundled, heavily-modified version of SDL 1.x if that
# branch is used. Compiler errors are likely to occur if the
# bundled version of SDL 1.x is not used. Bundled dependencies
# should be avoided on Gentoo, so SDL 2 is more preferable.
--enable-sdl2
# Explicitly enable ALSA MIDI support, same as default. As of
# v2022.08.0, even when it is disabled, media-libs/alsa-lib will
# still be automagically linked if it is present in the build
# environment (presumably for other components of this package),
# so the dependency cannot be made optional by disabling this
# option. Plus, disabling this option has no observable effect
# on build time, build size, or the program's functionality, as
# 'mididevice=alsa' still works with '--disable-alsa-midi'.
--enable-alsa-midi
$(use_enable debug '' heavy)
$(use_enable X x11)
$(use_enable ffmpeg avcodec)
$(use_enable fluidsynth libfluidsynth)
$(use_enable opengl)
$(use_enable png screenshots)
$(use_enable slirp libslirp)
$(use_enable truetype freetype)
)
econf "${myconf[@]}"
}
src_compile() {
# https://bugs.gentoo.org/856352
emake AR="$(tc-getAR)"
}
src_test() {
xdg_environment_reset # Tests may create config files in XDG_CONFIG_HOME
set -- src/dosbox-x -tests
echo "${@}" >&2
"${@}" || die "Unit tests failed"
}
pkg_preinst() {
xdg_pkg_preinst
# Returns whether or not the USE flag specified with the first positional
# argument is newly enabled for this installation of the package.
newuse() {
local flag="${1}"
# The 'has_version' call tests if any USE flags are newly enabled.
# It is to extract information about any existing copy of this
# package installed on the system, which is why it should be made
# before the new copy of this package just built is merged.
use "${flag}" && ! has_version "${CATEGORY}/${PN}[${flag}]"
}
newuse debug && PRINT_NOTES_FOR_DEBUGGER=1
newuse fluidsynth && PRINT_NOTES_FOR_FLUIDSYNTH=1
}
pkg_postinst() {
xdg_pkg_postinst
if [[ "${PRINT_NOTES_FOR_DEBUGGER}" ]]; then
elog
elog "Note on the Debugger"
elog
elog "The debugger can only be started when DOSBox-X is launched"
elog "from a terminal. Otherwise, the \"Start DOSBox-X Debugger\""
elog "option in the \"Debug\" drop-down menu would be unavailable."
elog
elog "For more information about the debugger, please consult:"
elog " ${EPREFIX}/usr/share/doc/${PF}/README.debugger*"
fi
if [[ "${PRINT_NOTES_FOR_FLUIDSYNTH}" ]]; then
elog
elog "Note on FluidSynth"
elog
elog "To use FluidSynth as the MIDI device for DOSBox-X, a soundfont"
elog "is required. If no existing soundfont is available, a new one"
elog "can be installed and configured for DOSBox-X very easily:"
elog
elog "1. Install the following package:"
elog " media-sound/fluid-soundfont"
elog "2. Add the following lines to DOSBox-X's configuration file:"
elog " [midi]"
elog " mididevice=fluidsynth"
elog
elog "Usually, there is no need to explicitly specify the soundfont"
elog "file's path because the package mentioned in step 1 installs"
elog "soundfont files to a standard location, allowing them to be"
elog "detected and selected automatically."
elog
elog "For advanced FluidSynth configuration, please consult:"
elog " https://dosbox-x.com/wiki/Guide%3ASetting-up-MIDI-in-DOSBox%E2%80%90X#_fluidsynth"
fi
}

View File

@@ -1,2 +1,2 @@
DIST labwc-0.8.2.tar.gz 473740 BLAKE2B addcf8c12dc6c34a6f9e958db40bbfd8f85aec582e0507be1d3d7d2904175d5d1cea480c4ba3365167767e64c02c269ce6b34ad5cf81eec4ae3a34af1123eba8 SHA512 31928cf93225189762a19a288e7469adebdb6b2d5810815d9735bb7f5b0eef3d2e8efa27032f37120c77428e11414fd1b48df357a7832ea78006456dec19d2aa
DIST labwc-0.8.3.tar.gz 491309 BLAKE2B 45afcf81fd5b1c6601165ac3d433353d89ff409570e9c9f998dcf8327bee796fc9075567cddaac22d002591ecb6d4956a4405a798a559e55704718d766459055 SHA512 70c7a318925b0dbe93266e2e6e24fb56518f567c2b25ed116f367cbc37051656ee8bc7ffef60602681ed6cd65172fad91876bdd2ca3924715deaea9ade6018dd
DIST labwc-0.8.4.tar.gz 492730 BLAKE2B b3ae88e047f889829c5f300a576b8ce41acce9f537fa98fd28d222c613970a598b87e17d645f2c59c5b62c0173dbbe600e59104ed43bde8b9ce71fb79fd37da0 SHA512 20e45bd274e93cc68b6645ec4dc368fcdc25cc31d0d7d4f35f7f141faec842e09f39e2d511128927fd8d9a6f005faf975d59f7503c64d52ef86d3ce652702279

View File

@@ -2,5 +2,5 @@ DIST amdvlk-bin-2021.2.5-amd64.rpm 16616736 BLAKE2B 091d14036fc164e15ebb138812ba
DIST amdvlk-bin-2021.2.5-i386.deb 23475164 BLAKE2B b7f7fb91d88c7a37e69f99a2a036b6e1eda1ae00f0f378eb0a245253b12ea6adbd23de70e9bc06c95438a02f2d1905eb8dd55c601ba616106e2b2e2f7db08a93 SHA512 1f6067c97661285f62bcd0cb8a81138943f7280ebfda3d70aa32237cea0b715131c7b8af982b62c63ef813f6c1ff54672eea61244cf3c13f1cb536edbb4a749c
DIST amdvlk-bin-2023.3.3-amd64.rpm 16954920 BLAKE2B 8b8d2e353a2055a823c5a7932c55a5e113036388a68c2f61a665de0209e82dd219b21e6f4a79f2ad6141381601e408b0007068140fcc2692bf5904ac289ab597 SHA512 827bcf885f207557b452360491187b9909279a601dff9c635561b4aa5f2c8aae9d940e880a98c7fb1482efd7fec068e8f3667729930ecd20dfa7c06be15193c9
DIST amdvlk-bin-2023.3.3-i386.deb 25352166 BLAKE2B f4e3af91c2f4e7be6c447c2553ac3deed106be86ce3bd3204ac2e6734ca09dba4c59da8ffd49b52f85dfcbe5eaba09cfa2519578ececfb6f7b21ee4a3d67430d SHA512 3668d701292b7283409ec2209f52b0b01cd7821754969efc4c91c74b2b075ee612f41fafd471dd92da1b204644c76bb92fd60c4c916588b7ee8961257523ba50
DIST amdvlk-bin-2025.1.3-amd64.rpm 21242464 BLAKE2B ad7d4f42bd81641983e26a9af450809e806012269c72b19988bbb357bca64e014a5bb6bfb7999d37a66d0bac323cfd713b978de4f559b3737f381ecefc69163e SHA512 f7cda467b7ccac1fb69b477b3bbf74f33c6ead52fcd5e5854afcde275d466dff864a055cd38fbf35ce36dd365a9b24896501ef8f3d0bb69aea27187d0011737d
DIST amdvlk-bin-2025.1.3-i386.deb 31280708 BLAKE2B 84062f68e14c4d1014fb768cac4188ef5dae9b06fbc08e9c61503bb64482a7ff515d2d9b530c4f15a9e644b47b149345d8cb9abfc1ca7b9d2e8d6f96169f5a85 SHA512 1e9b902d1c1b1175d6e42e808838faeab17579cf0b1a3346b2f3396e365dc1cd7c67429b7c0c573ebad2a7d5aafbf7f06e94c706bbc2b759650e8df188165440
DIST amdvlk-bin-2025.2.1-amd64.rpm 21316765 BLAKE2B 39432336d3c8c6b03ec96af2aa4bff42b8fed5366f42360499317be0bee7b0621171d422e150a792c34222b610fe43d69c0ee20d29881d5fcddacef7d7e3e1d8 SHA512 1b7c4fda0e0275de08558ab29ba6808c87e252dc5361b5756cbb6d1e8b2e373386296dadec970e8ee9d3d81d327d02e1c04056cf302b9bb40f3521da6b07c6a9
DIST amdvlk-bin-2025.2.1-i386.deb 31456760 BLAKE2B 700fc2540e9d25f11e427a5b810d79447e1aa395f945f36bc4388dc5b9087c030fc8bc8879e5a373acbf5a9487546dcd8a3e59d2af8041ff4aefed60a7c12f63 SHA512 f1d38c5dc64dbf81b6bb42ab23e076413ab591cc27cc8ebc9c74430fab5a830a83c94b1c47521b2a3bf7fd530894e131a0aea9f234bb62c0f99f4ca4fa1567e3

View File

@@ -1,3 +1,2 @@
DIST TauonMusicBox-7.8.0.tar.gz 1080654 BLAKE2B 6c671efc10f0e7340bb2db0ebcc59f25784a665a9a2e85ab5132a10362d9d0f7041affedc763ed5acde19c529c742e127eb1493578f9f79ca7f3b1dfd4439784 SHA512 0896e185314037e23d76776ce96b227ede8a96651958df7ca0acc0d37c431169aeb72395116d8887d37c1360c15f436f7488c751866e60fa5ba3a5082b9acef8
DIST TauonMusicBox-7.8.3.tar.gz 1085686 BLAKE2B 92014544bc45c92ca8170ae88c56eb2a767b0dff2dcd1086cb73d22a4287b6a82be7b3134a41329940ccc6080377d82b71c2d9ef891975d62756068c8a97f867 SHA512 f1679326a49c1d341ea773b5f402fa4ad00ac2c79549fc04b2959bdf2dfad045e6e88add5b9075e660016a4d94d15e43e5d5c93e6f413e727d30f5aaa8fbdc1d
DIST TauonMusicBox-7.9.0.tar.gz 1354787 BLAKE2B 2116c84ec687ec337e712aefa5da54b08e572b917c3a41d94687a95bfefd8d7a3276422b4e68cda8ed5f27f92a32bf491d41f1f4476e193f19ce927d6f6d02b4 SHA512 17b26b296385f3c2b6006a6a33453e5a277c8bc901f717bac3751bddc1691116e0bf116db9457e425d61d300200b5ca487f5b4949ca2be2993657be4fa9d87cf
DIST TauonMusicBox-8.0.1.tar.gz 1668223 BLAKE2B 3d32d839440067ad11ddf76f6b188b82ba50ac6e45624fb8f96ca8f70721c1b6cf111092b76f92f7b06e57120555522dc5752ba2fd4bc7ce20133b7c7e358e37 SHA512 d7a17df12ea259a4ef4116f3690b5b0ac6a259e079747cfcf1fbef24f45b77024260d133a3a1d75ef371c3c0ddc6be36bed1dee440609a94ebdaabd2dc2828f7

View File

@@ -1,127 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PLOCALES="cs de es fr_FR hu id it ja_JP nb_NO pl pt pt_BR pt_PT ru sv tr zh_CN"
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit cmake desktop distutils-r1 optfeature plocale xdg
DESCRIPTION="The desktop music player of today!"
HOMEPAGE="https://tauonmusicbox.rocks/"
if [[ ${PV} == *9999 ]]; then
EGIT_SUBMODULES=()
inherit git-r3
EGIT_REPO_URI="https://github.com/Taiko2k/${PN}"
else
SRC_URI="https://github.com/Taiko2k/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
S="${WORKDIR}/Tauon-${PV}"
LICENSE="GPL-3"
SLOT="0"
PHAZOR_DEPS="
dev-libs/miniaudio
media-libs/flac
media-libs/game-music-emu
media-libs/libopenmpt
media-libs/opus
media-libs/opusfile
media-libs/libsamplerate
media-libs/libvorbis
media-sound/mpg123
media-sound/wavpack
sci-libs/kissfft[-cpu_flags_x86_sse]
"
DEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/musicbrainzngs[${PYTHON_USEDEP}]
dev-python/natsort[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pysdl2[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
media-video/ffmpeg
media-libs/mutagen[${PYTHON_USEDEP}]
media-libs/sdl2-image
${PHAZOR_DEPS}
"
RDEPEND="
${DEPEND}
dev-libs/libayatana-appindicator
media-sound/mpg123-base
x11-libs/libnotify
"
BDEPEND="sys-devel/gettext"
src_prepare() {
# Workaround. If PATCHES is used it would be applied to times and fail
eapply "${FILESDIR}/${P}-phazor-fix.patch"
eapply "${FILESDIR}/${P}-unidecode-compat.patch"
distutils-r1_src_prepare
cmake_src_prepare
}
src_configure() {
distutils-r1_src_configure
cmake_src_configure
}
src_compile() {
distutils-r1_src_compile
cmake_src_compile
build_locale() {
msgfmt -o "locale/${1}/LC_MESSAGES/tauon.mo" "locale/${1}/LC_MESSAGES/tauon.po" || die
}
plocale_for_each_locale build_locale
}
src_test() {
distutils-r1_src_test
cmake_src_test
}
python_install() {
newbin tauon.py tauon
dolib.so "${WORKDIR}/Tauon-${PV}_build/libphazor.so"
install_locale() {
insinto "/usr/share/locale/${1}/LC_MESSAGES"
doins "locale/${1}/LC_MESSAGES/tauon.mo"
}
plocale_for_each_locale install_locale
insinto "/usr/share/${PN}"
doins -r assets theme templates
doins input.txt
sed -i 's/\/opt\/tauon-music-box\/tauonmb.sh/tauon/g' extra/tauonmb.desktop || die
domenu extra/tauonmb.desktop
doicon -s scalable extra/tauonmb.svg
distutils-r1_python_install
}
pkg_postinst() {
optfeature "last fm support" dev-python/pylast
optfeature "PLEX support" dev-python/plexapi
xdg_pkg_postinst
}

View File

@@ -4,10 +4,11 @@
EAPI=8
PLOCALES="cs de es fr_FR hu id it ja_JP nb_NO pl pt pt_BR pt_PT ru sv tr zh_CN"
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
inherit cmake desktop distutils-r1 optfeature plocale xdg
inherit desktop distutils-r1 optfeature plocale xdg
DESCRIPTION="The desktop music player of today!"
HOMEPAGE="https://tauonmusicbox.rocks/"
@@ -17,7 +18,7 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Taiko2k/${PN}"
else
SRC_URI="https://github.com/Taiko2k/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/Taiko2k/Tauon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -41,18 +42,19 @@ PHAZOR_DEPS="
"
DEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/musicbrainzngs[${PYTHON_USEDEP}]
dev-python/natsort[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pysdl2[${PYTHON_USEDEP}]
dev-python/pysdl3[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
media-video/ffmpeg
media-libs/mutagen[${PYTHON_USEDEP}]
media-libs/sdl2-image
media-libs/sdl3-image
${PHAZOR_DEPS}
"
@@ -67,22 +69,13 @@ RDEPEND="
BDEPEND="sys-devel/gettext"
src_prepare() {
# Workaround. If PATCHES is used it would be applied to times and fail
eapply "${FILESDIR}/${PN}-7.8.0-phazor-fix.patch"
distutils-r1_src_prepare
cmake_src_prepare
}
src_configure() {
distutils-r1_src_configure
cmake_src_configure
}
PATCHES=(
"${FILESDIR}/${PN}-7.9.0-phazor-build.patch"
"${FILESDIR}/${PN}-8.0.1-fix-locale-path.patch"
)
src_compile() {
distutils-r1_src_compile
cmake_src_compile
build_locale() {
msgfmt -o "locale/${1}/LC_MESSAGES/tauon.mo" "locale/${1}/LC_MESSAGES/tauon.po" || die
@@ -91,14 +84,8 @@ src_compile() {
plocale_for_each_locale build_locale
}
src_test() {
distutils-r1_src_test
cmake_src_test
}
python_install() {
newbin tauon.py tauon
dolib.so "${WORKDIR}/Tauon-${PV}_build/libphazor.so"
distutils-r1_python_install
install_locale() {
insinto "/usr/share/locale/${1}/LC_MESSAGES"
@@ -107,20 +94,16 @@ python_install() {
plocale_for_each_locale install_locale
insinto "/usr/share/${PN}"
doins -r assets theme templates
doins input.txt
sed -i 's/\/opt\/tauon-music-box\/tauonmb.sh/tauon/g' extra/tauonmb.desktop || die
domenu extra/tauonmb.desktop
doicon -s scalable extra/tauonmb.svg
distutils-r1_python_install
}
pkg_postinst() {
optfeature "Chinese searches support" app-i18n/opencc[python]
optfeature "last fm support" dev-python/pylast
optfeature "PLEX support" dev-python/plexapi
optfeature "Spotify support" dev-python/tekore
xdg_pkg_postinst
}

View File

@@ -4,7 +4,7 @@
EAPI=8
PLOCALES="cs de es fr_FR hu id it ja_JP nb_NO pl pt pt_BR pt_PT ru sv tr zh_CN"
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
@@ -18,7 +18,7 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Taiko2k/${PN}"
else
SRC_URI="https://github.com/Taiko2k/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/Taiko2k/Tauon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
@@ -42,18 +42,19 @@ PHAZOR_DEPS="
"
DEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/musicbrainzngs[${PYTHON_USEDEP}]
dev-python/natsort[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/pysdl2[${PYTHON_USEDEP}]
dev-python/pysdl3[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
media-video/ffmpeg
media-libs/mutagen[${PYTHON_USEDEP}]
media-libs/sdl2-image
media-libs/sdl3-image
${PHAZOR_DEPS}
"
@@ -68,7 +69,10 @@ RDEPEND="
BDEPEND="sys-devel/gettext"
PATCHES=( "${FILESDIR}/${PN}-7.9.0-phazor-build.patch" )
PATCHES=(
"${FILESDIR}/${PN}-7.9.0-phazor-build.patch"
"${FILESDIR}/${PN}-8.0.1-fix-locale-path.patch"
)
src_compile() {
distutils-r1_src_compile
@@ -90,15 +94,16 @@ python_install() {
plocale_for_each_locale install_locale
sed -i 's/\/opt\/tauon-music-box\/tauonmb.sh/tauon/g' extra/tauonmb.desktop || die
domenu extra/tauonmb.desktop
doicon -s scalable extra/tauonmb.svg
}
pkg_postinst() {
optfeature "Chinese searches support" app-i18n/opencc[python]
optfeature "last fm support" dev-python/pylast
optfeature "PLEX support" dev-python/plexapi
optfeature "Spotify support" dev-python/tekore
xdg_pkg_postinst
}

View File

@@ -1,13 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cf79faf5..dd00073b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ add_library(phazor SHARED src/phazor/phazor.c)
find_package(PkgConfig REQUIRED)
-pkg_check_modules(phazor REQUIRED flac libopenmpt libmpg123 opus opusfile wavpack samplerate)
+pkg_check_modules(phazor REQUIRED flac libgme libopenmpt libmpg123 opus opusfile wavpack samplerate)
find_package(kissfft CONFIG COMPONENTS float)
if(NOT kissfft_FOUND)

View File

@@ -0,0 +1,15 @@
diff --git i/src/tauon/t_modules/t_main.py w/src/tauon/t_modules/t_main.py
index f7589150..34a84ca5 100644
--- i/src/tauon/t_modules/t_main.py
+++ w/src/tauon/t_modules/t_main.py
@@ -39115,8 +39115,8 @@ if not music_directory.is_dir():
locale_directory = install_directory / "locale"
if flatpak_mode:
locale_directory = Path("/app/share/locale")
-#elif str(install_directory).startswith(("/opt/", "/usr/")):
-# locale_directory = Path("/usr/share/locale")
+elif str(install_directory).startswith(("/opt/", "/usr/")):
+ locale_directory = Path("/usr/share/locale")
dirs = Directories(
install_directory=install_directory,