Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-01-15 08:35:03 +00:00
3 changed files with 236 additions and 8 deletions

View File

@@ -75,6 +75,7 @@ DIST markup5ever-0.10.0.crate 42925 BLAKE2B 67d3126ea6cabf18da407bdcc33b68918e63
DIST markup5ever_rcdom-0.1.0.crate 25165 BLAKE2B 4123ee804991e9be31e6a4dbcb7dcce12bb776d22e4409ad388678a92965834acb9b1b2fa51e6472ee2c0db156e4a75e5b6db5f6b6d4220159ab93b056d0418c SHA512 7c21836fcdd45bfdef7305327255291c92d75d3329798d31abab26297de8c381e41b4419fb7ac631310835d590b63751a63bdd87e2697ea3dfdd6599033433c7
DIST matches-0.1.8.crate 2216 BLAKE2B f18176110921b1cf6e58d52d12f1d1a3455ce2dc04421fbf1b392f66cdd81a88e924571fa27e307a06301d83b04f3b8a0ca3ae40d2da6f2decb8aac4e2801fbb SHA512 98b58f6a2694b03a7dd1be69ebf7e3ad14483fc8e4cb6e6c26a4937e4e660e843efb4dd04a7312dd9659ca02acd3775678f73b8faac44a76ffafaf873c22f590
DIST mdbook-0.4.5.tar.gz 1475074 BLAKE2B 9197363c68ffe84ae5e59ceb2905d29504d4cd8069e1db164abf0d0e058feb4ba7634b6663b3a3a16b6466332b027ea2ddf718f617e841f7eb0f1f7db47facee SHA512 6aa3f8f474bbc66229f90b8ba3fac0f940142aad1556745c9448b00040f5cbe0e66cd92f662e1542957b03893fde03e3902d28ee6b777059a794cb902cd7989f
DIST mdbook-0.4.6.tar.gz 1477137 BLAKE2B 092559539c05026da63d0c6bb65490fdea43fe1bf25164ff8bc565e08e6aa5bba13aaaec25968eba833153313acf5a17cdd56cc5bcf97f10e7bef19b9a4d5be6 SHA512 3ce752c45614e0af72efee27dbc0c978302b0e273306e34d6e1c57e0cbf81f4ab5725bc6af96a419cde3d069336d9291bd5e4cab46fb8699fa2e31db83222ebc
DIST memchr-2.3.3.crate 22566 BLAKE2B f952070b98ef30f0d2780a6efbeb36d295710734f678517d913a8002cafebbd3cfc38975fc4546d306efc11bc815764d14320af3b7a2360bd46fc2ab3db9efa5 SHA512 922e05da920d0d94226857788878ee5e31518cd80d95ae57e1d7ecd233942c37d01565525db2f1dfdfd5b3b1f81b2c73eee058cbfd745cb4e1519518318df248
DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
DIST mime_guess-2.0.3.crate 27437 BLAKE2B 6f9176749241dc9b8c08eea3285ac1aeb40ab079f8184d93c436c00b205ab754d9c2b5c481774837bd1c4522b33338fb7ecabe88ee2da471478cdc1391d9281c SHA512 b08013ce235e66eaf49a88ab4c5cf4d1f1b95846c1bbdc1a73efea9052058860c7dbe2b028fe1b33c713621862fe9af2ed097558cbf5e08903ee406a44af162d

View File

@@ -0,0 +1,216 @@
# Copyright 2017-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
CRATES="
aho-corasick-0.7.10
ammonia-3.1.0
ansi_term-0.11.0
anyhow-1.0.28
atty-0.2.14
autocfg-1.0.0
base64-0.11.0
base64-0.12.0
bit-set-0.5.1
bit-vec-0.5.1
bitflags-1.2.1
block-buffer-0.7.3
block-padding-0.1.5
byte-tools-0.3.1
byteorder-1.3.4
bytes-0.5.4
cfg-if-0.1.10
chrono-0.4.11
clap-2.33.0
ctor-0.1.13
difference-2.0.0
digest-0.8.1
dtoa-0.4.5
elasticlunr-rs-2.3.8
env_logger-0.7.1
fake-simd-0.1.2
filetime-0.2.9
fnv-1.0.6
fsevent-0.4.0
fsevent-sys-2.0.1
fuchsia-zircon-0.3.3
fuchsia-zircon-sys-0.3.3
futf-0.1.4
futures-0.3.4
futures-channel-0.3.4
futures-core-0.3.4
futures-executor-0.3.4
futures-io-0.3.4
futures-macro-0.3.4
futures-sink-0.3.4
futures-task-0.3.4
futures-util-0.3.4
generic-array-0.12.3
getopts-0.2.21
getrandom-0.1.14
gitignore-1.0.6
glob-0.2.11
h2-0.2.4
handlebars-3.0.1
headers-0.3.2
headers-core-0.2.0
heck-0.3.1
hermit-abi-0.1.11
html5ever-0.25.1
http-0.2.1
http-body-0.3.1
httparse-1.3.4
humantime-1.3.0
hyper-0.13.5
idna-0.2.0
indexmap-1.3.2
inotify-0.7.0
inotify-sys-0.1.3
input_buffer-0.3.1
iovec-0.1.4
itoa-0.4.5
kernel32-sys-0.2.2
lazy_static-1.4.0
lazycell-1.2.1
libc-0.2.69
log-0.4.8
mac-0.1.1
maplit-1.0.2
markup5ever-0.10.0
markup5ever_rcdom-0.1.0
matches-0.1.8
memchr-2.3.3
mime-0.3.16
mime_guess-2.0.3
mio-0.6.21
mio-extras-2.0.6
miow-0.2.1
net2-0.2.33
new_debug_unreachable-1.0.4
notify-4.0.15
num-integer-0.1.42
num-traits-0.2.11
opaque-debug-0.2.3
open-1.4.0
output_vt100-0.1.2
percent-encoding-2.1.0
pest-2.1.3
pest_derive-2.1.0
pest_generator-2.1.3
pest_meta-2.1.3
phf-0.8.0
phf_codegen-0.8.0
phf_generator-0.8.0
phf_shared-0.8.0
pin-project-0.4.9
pin-project-internal-0.4.9
pin-project-lite-0.1.4
pin-utils-0.1.0-alpha.4
ppv-lite86-0.2.6
precomputed-hash-0.1.1
pretty_assertions-0.6.1
proc-macro-hack-0.5.15
proc-macro-nested-0.1.4
proc-macro2-1.0.10
pulldown-cmark-0.7.0
quick-error-1.2.3
quote-1.0.3
rand-0.7.3
rand_chacha-0.2.2
rand_core-0.5.1
rand_hc-0.2.0
rand_pcg-0.2.1
redox_syscall-0.1.56
regex-1.3.7
regex-syntax-0.6.17
remove_dir_all-0.5.2
ryu-1.0.3
same-file-1.0.6
scoped-tls-1.0.0
select-0.5.0
serde-1.0.106
serde_derive-1.0.106
serde_json-1.0.52
serde_urlencoded-0.6.1
sha-1-0.8.2
shlex-0.1.1
siphasher-0.3.2
slab-0.4.2
smallvec-1.3.0
string_cache-0.8.0
string_cache_codegen-0.5.1
strsim-0.8.0
strum-0.16.0
strum_macros-0.16.0
syn-1.0.17
tempfile-3.1.0
tendril-0.4.1
termcolor-1.1.0
textwrap-0.11.0
thread_local-1.0.1
time-0.1.43
tokio-0.2.18
tokio-macros-0.2.5
tokio-tungstenite-0.10.1
tokio-util-0.3.1
toml-0.5.6
tower-service-0.3.0
try-lock-0.2.2
tungstenite-0.10.1
typenum-1.12.0
ucd-trie-0.1.3
unicase-2.6.0
unicode-bidi-0.3.4
unicode-normalization-0.1.12
unicode-segmentation-1.6.0
unicode-width-0.1.7
unicode-xid-0.2.0
url-2.1.1
urlencoding-1.0.0
utf-8-0.7.5
vec_map-0.8.1
version_check-0.9.1
walkdir-2.3.1
want-0.3.0
warp-0.2.2
wasi-0.9.0+wasi-snapshot-preview1
winapi-0.2.8
winapi-0.3.8
winapi-build-0.1.1
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
ws2_32-sys-0.2.1
xml5ever-0.16.1
"
inherit cargo
DESCRIPTION="Creates a book from markdown files"
HOMEPAGE="https://github.com/rust-lang/mdBook"
SRC_URI="https://github.com/rust-lang/mdBook/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
# Prevent portage from trying to fetch bunch of *.crate from mirror despite they are not mirrored.
RESTRICT="mirror"
LICENSE="BSD CC0-1.0 ISC MIT MPL-2.0 || ( Apache-2.0 Boost-1.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_prepare() {
eapply_user
mv ../mdBook-${PV}/{.,}* .
}
src_install() {
cargo_src_install
dodoc CHANGELOG.md README.md
}

View File

@@ -1,12 +1,13 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 optfeature xdg
inherit desktop distutils-r1 optfeature xdg
DESCRIPTION="Client/server to synchronize media playback"
HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl"
@@ -17,12 +18,17 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+client +server"
REQUIRED_USE="|| ( client server )"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
$( python_gen_cond_dep \
'dev-python/certifi[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]'
)
client? (
dev-python/QtPy[${PYTHON_USEDEP},gui]
$( python_gen_cond_dep \
'dev-python/QtPy[${PYTHON_USEDEP},gui]'
)
|| (
media-video/vlc[lua]
media-video/mpv[lua]
@@ -40,12 +46,17 @@ PATCHES=(
)
python_install() {
local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
python_domodule syncplay
for size in 256 128 96 64 48 32 24 16; do
doicon -s ${size} "${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
done
if use client; then
emake "${MY_MAKEOPTS[@]}" install-client
python_newscript syncplayClient.py syncplay
domenu syncplay/resources/syncplay.desktop
fi
if use server; then
emake "${MY_MAKEOPTS[@]}" install-server
python_newscript syncplayServer.py syncplay-server
domenu syncplay/resources/syncplay-server.desktop
newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
fi