Compare commits

..

No commits in common. "8245b499b1b8de5b588a2f0c9d57c1b24c36eaaa" and "2200c3801b2f151518125c040b41fc69885e5721" have entirely different histories.

5 changed files with 1 additions and 390 deletions

View File

@ -1,2 +1 @@
DIST bottles-51.11.tar.gz 2268391 BLAKE2B 1c97bf73307f6f6325346b73afeaae009b7942527d0bf0cc2ac8de51933ad6021821f63c984130ee37c215acb13e5d929d25078a1574316fdfea1d8f4b4074f1 SHA512 42c503a4910a8e6c408caecd723edf1405aa034558d61313937a69c7d5ffb20ba4675fc9022775491cbbe6ba4a35ffac508b4721f9c971c57cbcb888345d546b
DIST bottles-51.12.tar.gz 2275632 BLAKE2B 3dc644e241140929236388ecfd71525065c9d46205bed78959added6360966df3587b0e67a385a302b95e3385eb4dddcf664807d5a8b660f269a151fe875ee07 SHA512 91b385cd21f369af3e8967cfedd811cd5da885a01b26bb90702e32895c941427ab99e0b24c881fcf5644a04ee5d9d7e48340b15dcb5d0aaaccdc655e1cdab750

View File

@ -1,151 +0,0 @@
# Copyright 2023-2024 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"
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
|| (
app-emulation/wine-vanilla[X]
app-emulation/wine-staging[X]
app-emulation/wine-proton[X(+)]
)
$(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-wm/gamescope
optfeature "vmtouch support" dev-utils/vmtouch
#optfeature "MangoHub support" games-util/mangohub
#optfeature "obs-vkcapture support" media-video/obs-vkcapture
if has_version app-emulation/wine-vanilla[llvm-libunwind] || \
has_version app-emulation/wine-staging[llvm-libunwind] || \
has_version app-emulation/wine-proton[llvm-libunwind]; then
ewarn "With llvm-libunwind all the runners downloaded from bottles are most likely broken"
ewarn "So when using llvm-libunwind system wide it is recommended to stick to runners compiled by your system"
ewarn "More information:"
ewarn "https://gitlab.com/src_prepare/src_prepare-overlay/-/issues/49"
ewarn "https://gitlab.com/src_prepare/src_prepare-overlay/-/merge_requests/394#note_1735168806"
fi
}

View File

@ -134,7 +134,7 @@ pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
optfeature "gamemode support" games-util/gamemode
optfeature "gamescope support" games-wm/gamescope
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

View File

@ -147,7 +147,6 @@ DIST syn-2.0.48.crate 250566 BLAKE2B e46b0863af76c3116c84d01b654a9820b7edc51f75c
DIST tempfile-3.10.1.crate 33653 BLAKE2B 819b183e7840f70270883ee8b6a91fa09861c3112eaadc65007199885abe099bd593e1cdc4d9ab48c23490a6d484cad9bf0e80cf4e718c369cc2418b72eaf09c SHA512 bac7515b85b0d01ea914b527f0fadd3a4d8e77c9eabe786977d2625d8a3e91decaec502dd15bab4d49a43597fa7cf7660fff4be1b043112d13b542a72443bf39
DIST texlab-5.17.0.tar.gz 7500975 BLAKE2B e111966d91839e3d6d7ae1c23b027ce96967e022ea52475a88ddabe1347053c5a5e2b279ee5ccaee75acb753159adf090cf93c27752c2cb4239b261a0b9c1c54 SHA512 ce4c405b93b88e30db5bc926936ae1e2d79a36fb1f9d79898c23671c3f701f1f48b9092fc008bafe0e7f8e7b025d6c383376ea57b286931baa56b98dc6712230
DIST texlab-5.18.0.tar.gz 7504498 BLAKE2B ecef57913a2a029ad702c7131a2c3754ada9a36e2408110c9e5f51306d4fe195543da9f569c9c7c6912e502125dfcb58838b271d9d2354e6d3ed24c8812e25cd SHA512 3fdf7ae95efb5f6d073bf926d3c7511abaa2d019d77906c5bf697f9e8b2cb310321a06d4f5fb4b3a299ed5c6b5bf28a3df0ed141f51a241b8017ae571416e8ef
DIST texlab-5.19.0.tar.gz 7504591 BLAKE2B 4696fdb2d8113fbdcccafc889354e47db199db61e3c0a0fb7f865fbc8bcf317c853522b8f5ed2f0f08c64b93a514b4efe6a725c0fce8c1239e0089175f1a5c84 SHA512 f08419f506ff499a282390824f69f807e040910d64f65e8bca8e3bcd184cabb52bb739e6445045133270e6434fcccc5ddeb54a09ef24b4b07520fac399990618
DIST text-size-1.1.1.crate 12553 BLAKE2B 54c48d202650606d182b2d046d6a0a35b41d4e49adebb8f9f48a22329966891036af7dbc09a4522f0ca55533dfc8e87c276fa2bb4e7a24bed57a26794bfc3ee8 SHA512 e1b0323d2f83ad85ab8c5dcbe9b2084d09592979e9edbcd03d40576abc805b20ba3d6b59261465cae5e987542d4b665fbf797369ff1cd7cbbbfad271258b0ce8
DIST thiserror-1.0.61.crate 21264 BLAKE2B 97337830507c009dbb4cad84cdfc02bc097b9d39d0af2fdecfaa63f0c12229e60727244fa4e44c2d54daee67bf8b4e8492d94a5de55d1a90b8eeab8c0d082e80 SHA512 9c08b868eaa47178ee60733aaeeda60dc46d58d2b9c15985ba3dcae4923e8edf02b97556df52f508753b0ff52782f6ca3227e9ef6343066e5d5d3a89e03f3f15
DIST thiserror-impl-1.0.61.crate 15786 BLAKE2B d63773424aa047c6eed8a6c9bcc8dfcee9841a2d4fdf6fc2c117695c09359371931722198b2e0b2bae32b0c54b6275f964e679b78b8bef1c365ca33aa41562c9 SHA512 b43bd2ba6b751b777e2fc78aac92a3e662a1876f704625c4e894019fc68a6b7628b9c3b7ddfbd2cb15fe6fdc0ff679ff94b0c47e2660a40919000ad2fe1cfeec

View File

@ -1,236 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
adler@1.0.2
aho-corasick@1.1.1
anes@0.1.6
anstream@0.6.11
anstyle-parse@0.2.1
anstyle-query@1.0.0
anstyle-wincon@3.0.1
anstyle@1.0.3
anyhow@1.0.86
autocfg@1.1.0
beef@0.5.2
bitflags@1.3.2
bitflags@2.4.0
bstr@1.9.1
bumpalo@3.14.0
cast@0.3.0
castaway@0.2.2
cfg-if@1.0.0
chrono@0.4.38
ciborium-io@0.2.1
ciborium-ll@0.2.1
ciborium@0.2.1
clap@4.5.8
clap_builder@4.5.8
clap_derive@4.5.8
clap_lex@0.7.0
colorchoice@1.0.0
compact_str@0.7.1
countme@3.0.1
crc32fast@1.3.2
criterion-plot@0.5.0
criterion@0.5.1
crossbeam-channel@0.5.13
crossbeam-deque@0.8.3
crossbeam-epoch@0.9.15
crossbeam-utils@0.8.19
dirs-sys@0.4.1
dirs@5.0.1
dissimilar@1.0.7
either@1.9.0
encoding_rs@0.8.34
encoding_rs_io@0.1.7
errno@0.3.8
expect-test@1.5.0
fastrand@2.0.1
fern@0.6.2
file-id@0.2.1
filetime@0.2.22
flate2@1.0.30
fnv@1.0.7
form_urlencoded@1.2.1
fsevent-sys@4.1.0
fuzzy-matcher@0.3.7
getrandom@0.2.10
half@1.8.2
hashbrown@0.14.3
heck@0.5.0
hermit-abi@0.3.3
human_name@2.0.3
idna@0.5.0
inotify-sys@0.1.5
inotify@0.9.6
is-terminal@0.4.9
isocountry@0.3.2
itertools@0.10.5
itertools@0.13.0
itoa@1.0.9
js-sys@0.3.64
kqueue-sys@1.0.4
kqueue@1.0.8
lazy_static@1.4.0
libc@0.2.155
linux-raw-sys@0.4.13
lock_api@0.4.10
log@0.4.22
logos-codegen@0.14.0
logos-derive@0.14.0
logos@0.14.0
lsp-server@0.7.6
lsp-types@0.95.1
memchr@2.7.1
memoffset@0.9.0
minimal-lexical@0.2.1
miniz_oxide@0.7.1
mio@0.8.11
multimap@0.10.0
nom@7.1.3
notify-debouncer-full@0.3.1
notify@6.1.1
num-traits@0.2.16
num_cpus@1.16.0
once_cell@1.19.0
oorandom@11.1.3
option-ext@0.2.0
parking_lot@0.12.3
parking_lot_core@0.9.8
pathdiff@0.2.1
percent-encoding@2.3.1
phf@0.11.2
phf_codegen@0.11.2
phf_generator@0.11.2
phf_shared@0.11.2
plotters-backend@0.3.5
plotters-svg@0.3.5
plotters@0.3.5
proc-macro2@1.0.76
quote@1.0.35
rand@0.8.5
rand_core@0.6.4
rayon-core@1.12.1
rayon@1.10.0
redox_syscall@0.2.16
redox_syscall@0.3.5
redox_users@0.4.3
regex-automata@0.4.6
regex-syntax@0.8.2
regex@1.10.5
rowan@0.15.15
rustc-hash@1.1.0
rustc-hash@2.0.0
rustix@0.38.31
rustversion@1.0.15
ryu@1.0.15
same-file@1.0.6
scopeguard@1.2.0
serde@1.0.203
serde_derive@1.0.203
serde_json@1.0.119
serde_regex@1.1.0
serde_repr@0.1.19
shellexpand@3.1.0
siphasher@0.3.11
smallvec@1.11.1
static_assertions@1.1.0
strsim@0.11.0
syn@2.0.48
tempfile@3.10.1
text-size@1.1.1
thiserror-impl@1.0.61
thiserror@1.0.61
thread_local@1.1.7
threadpool@1.8.1
tinytemplate@1.2.1
tinyvec@1.6.0
tinyvec_macros@0.1.1
titlecase@3.0.0
uds_windows@1.1.0
unicode-bidi@0.3.13
unicode-case-mapping@0.4.0
unicode-ident@1.0.12
unicode-normalization@0.1.23
unicode-segmentation@1.10.1
unidecode@0.3.0
url@2.5.0
utf8parse@0.2.1
versions@6.3.0
walkdir@2.4.0
wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen-backend@0.2.87
wasm-bindgen-macro-support@0.2.87
wasm-bindgen-macro@0.2.87
wasm-bindgen-shared@0.2.87
wasm-bindgen@0.2.87
web-sys@0.3.64
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.6
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-sys@0.48.0
windows-sys@0.52.0
windows-targets@0.48.5
windows-targets@0.52.4
windows_aarch64_gnullvm@0.48.5
windows_aarch64_gnullvm@0.52.4
windows_aarch64_msvc@0.48.5
windows_aarch64_msvc@0.52.4
windows_i686_gnu@0.48.5
windows_i686_gnu@0.52.4
windows_i686_msvc@0.48.5
windows_i686_msvc@0.52.4
windows_x86_64_gnu@0.48.5
windows_x86_64_gnu@0.52.4
windows_x86_64_gnullvm@0.48.5
windows_x86_64_gnullvm@0.52.4
windows_x86_64_msvc@0.48.5
windows_x86_64_msvc@0.52.4
"
inherit cargo
DESCRIPTION="LaTeX Language Server"
HOMEPAGE="https://github.com/latex-lsp/texlab"
SRC_URI="
https://github.com/latex-lsp/texlab/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
BDEPEND="sys-apps/help2man"
LICENSE="GPL-3"
LICENSE+=" Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64"
QA_FLAGS_IGNORED="usr/bin/texlab"
DOCS=( CHANGELOG.md README.md )
src_configure() {
local myfeature=(
citation
completion
fuzzy-matcher
)
cargo_src_configure
}
src_install() {
cargo_src_install --path crates/texlab
help2man --output=texlab.1 --no-info "target/$(usex debug debug release)/texlab" || die
doman texlab.1
einstalldocs
}
pkg_postinst() {
elog "Texlab requires a TeX distribution to function"
elog "Either virtual/latex-base or dev-tex/tectonic will suffice"
elog "You can then edit the config to use your chosen TeX distribution"
}