Compare commits
3 Commits
fdbb68fe7f
...
2010c05ac2
Author | SHA1 | Date | |
---|---|---|---|
|
2010c05ac2 | ||
|
1e9120058f | ||
|
0aa07f9381 |
@ -1,2 +1 @@
|
||||
DIST bottles-51.10.tar.gz 2264902 BLAKE2B b299ec05212a7a42dba97e257e4a55b31aeffd57f49daa162b96b8c5790ba806892d728baaa5536273ee6e5387fc6b3cb2da86036445ac8d79590e87ffc2da61 SHA512 a5d27f70d580cc115f797370437a41a0eeb7335e8278618415f7ba7268aae8102ba9ee8417723a731f677b7bf346773e5851f9021ff12bdec4305b436e589c24
|
||||
DIST bottles-51.9.tar.gz 2218393 BLAKE2B dcc372b9ba0cc999bf5918e8c620671aa47e0f6615fcc7b7b3899bbbc7c91bfdd0b0c91f4475bc58b29f44bed051576006dc63b20b826c5820fd70879ac6b049 SHA512 81a77f0b02e2ea775bef5591d6be296372544a91fb92c4f39c3cab310887f88d8d9abd1d4b4854dcf8837bd2dc3f6d54c0693b55c60b60d6901e68dda82da1b4
|
||||
|
@ -1,154 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit gnome2-utils python-single-r1 meson xdg optfeature
|
||||
|
||||
DESCRIPTION="Run Windows software and games on Linux"
|
||||
HOMEPAGE="https://usebottles.com/"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/bottlesdevs/Bottles/"
|
||||
else
|
||||
SRC_URI="https://github.com/bottlesdevs/Bottles/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/Bottles-${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test llvm-libunwind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Very annoying to figure out the deps
|
||||
# Script for getting python modules:
|
||||
# https://gitlab.com/Parona/my-scripts/-/blob/master/scripts/python_deps.sh
|
||||
# Runtime programs needed can be quickly found with:
|
||||
# grep -r "shutil.which"
|
||||
# But look at context to gauge if they are optional or not
|
||||
#
|
||||
# BDPEPEND dependencies can be thankfully gathered from the meson.build files
|
||||
# DEPEND are instrospection files which can be found as such
|
||||
# find . -name "*.blp" -exec grep -Eh "^using " {} + | sed 's/using \([A-Za-z]*\) \([0-9.]*\);/\1-\2.typelib/'
|
||||
# And in similar vein find runtime required introspection files, similar deal with getting typelib file as above
|
||||
# grep -r "gi.require_version
|
||||
|
||||
# vkbasalt could be optional but vkbasalt-cli isnt
|
||||
# It could work without wine but(!) it still requires all the runtime dependencies for wine
|
||||
# so easier to depend on wine to get it for free
|
||||
|
||||
DEPEND="
|
||||
gui-libs/gtk:4[introspection]
|
||||
gui-libs/libadwaita[introspection]
|
||||
"
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${DEPEND}
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
gui-libs/gtksourceview[introspection]
|
||||
media-gfx/imagemagick
|
||||
>=sys-libs/glibc-2.32
|
||||
x11-apps/xdpyinfo
|
||||
llvm-libunwind? (
|
||||
|| (
|
||||
app-emulation/wine-vanilla[X,llvm-libunwind]
|
||||
app-emulation/wine-staging[X,llvm-libunwind]
|
||||
)
|
||||
)
|
||||
!llvm-libunwind? (
|
||||
|| (
|
||||
app-emulation/wine-vanilla[X,-llvm-libunwind]
|
||||
app-emulation/wine-staging[X,-llvm-libunwind]
|
||||
app-emulation/wine-proton[X(+),-llvm-libunwind]
|
||||
)
|
||||
)
|
||||
$(python_gen_cond_dep '
|
||||
app-arch/patool[${PYTHON_USEDEP}]
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
dev-python/FVS[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/icoextract[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-python/orjson[${PYTHON_USEDEP}]
|
||||
dev-python/pathvalidate[${PYTHON_USEDEP}]
|
||||
dev-python/pefile[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pycurl[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
dev-python/vkbasalt-cli[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/blueprint-compiler
|
||||
dev-libs/glib:2
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# tests that check execution time are flaky in the right circumstances
|
||||
# (like compiling llvm at the same time type circumstance)
|
||||
"bottles/tests/backend/state/test_events.py::test_set_reset"
|
||||
"bottles/tests/backend/state/test_events.py::test_simple_event"
|
||||
"bottles/tests/backend/state/test_events.py::test_wait_after_done_event"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
local emesonargs=(
|
||||
-Ddevel=true
|
||||
)
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize "${D}/usr/share/bottles/"
|
||||
python_fix_shebang "${D}/usr/"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
optfeature "gamemode support" games-util/gamemode
|
||||
optfeature "gamescope support" games-util/gamescope
|
||||
optfeature "vmtouch support" dev-utils/vmtouch
|
||||
#optfeature "MangoHub support" games-util/mangohub
|
||||
#optfeature "obs-vkcapture support" media-video/obs-vkcapture
|
||||
if ! use llvm-libunwind; then
|
||||
ewarn "When using llvm-libunwind useflag all wine version besides\n"
|
||||
ewarn "wine-vanilla and wine-staging are broken (including the runner dowloading from bottles itself)\n"
|
||||
ewarn "So when using llvm-libunwind system wide is recommended to stick only to system wine mentioned above\n"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST cli-visualizer-1.8.tar.gz 55083 BLAKE2B 0179ef2f0f1a4f928b5e1030eda499c706ee9207918b5ead0054472c1ba3bf293418b1a622868855496f483967754a88dd7a0c545e41b045c55466134157a90c SHA512 e64b729818f870896cc1fdbdccb80ee141d00118df4f50696919ff04d90503c913953fa76082bd09db1fca16a047d1255908852e3cfc6b3b5ac5fbb841833415
|
||||
DIST cli-visualizer-1.8_p20220323.tar.gz 58820 BLAKE2B 3369693ed1357ab69b3e591b1e4971484b5d5af76fea22efd3c656052577af3e0f7ec9f98382ab22968726fba854209b44d0aa0332d370b92b29c9cc7a3cc8b8 SHA512 13e0c2699c52d03233cef7f42dccef98945b645d452ac4e897d8a9edcb214e35359969a4b0def513f83a930eeeafdbdffd5a27e24b7bf4e4fa1ac85a99c41634
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="CLI based audio visualizer"
|
||||
HOMEPAGE="https://github.com/dpayne/cli-visualizer"
|
||||
SRC_URI="https://github.com/dpayne/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="sys-libs/ncurses"
|
||||
DEPEND="${RDEPEND}
|
||||
sci-libs/fftw
|
||||
dev-util/cmake"
|
||||
BDEPEND=""
|
||||
|
||||
src_install(){
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST lci-0.11.2.tar.gz 312257 BLAKE2B 91b8f11fb7ad68f3774f3cda324f4ae120552cb735a96db517331efc0a8bc61e9d24b4316dc074129913c09a4ed162d337a8ea9a0e9b6366ce6692abc4107b5a SHA512 37e94cb6c51c0a41e6cc8953c5314b0f25a898f853053f748ad09af82f9c1948054866f7f2cee8e9f9c517a05bd7b367ea44f73aa74f63719ea25d9e0f507a73
|
||||
DIST lci-0.11.2_p20191019.tar.gz 313826 BLAKE2B 9634a02d85e4731394a7c089b31b11e6c7886f118305162162601460b1000440df06465ea3973b1128c0629cb335a41c887c5b802cff3ede7ee01bbbacad5859 SHA512 533e675cf79b5d497ffd89a9eceb507603c2d8f48c0041e4dd0974f7f32a25691f99d7ae7a298fc37069ad2e48d3926d3ded086e99de9309ef971f1de58aca3c
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="LOLCODE interpreter written in C"
|
||||
HOMEPAGE="http://www.lolcode.org/"
|
||||
SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? (
|
||||
app-doc/doxygen
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_src_compile docs
|
||||
}
|
Loading…
Reference in New Issue
Block a user