Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-05-13 19:05:13 +00:00
9 changed files with 189 additions and 10 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
inherit python-single-r1
DESCRIPTION="ANother Auto NICe daemon"
HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"
SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P^}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="
${DEPEND}
sys-process/schedtool
"
DOCS=( README.md )
PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" )
src_compile() {
return
}
src_install() {
emake PREFIX="${D}" install
python_fix_shebang "${ED}/usr/bin/ananicy"
doinitd ananicy.initd
einstalldocs
}

View File

@@ -0,0 +1,18 @@
#!/usr/bin/openrc-run
pidfile="/run/ananicy.pid"
command="/usr/bin/ananicy"
command_args="start"
command_background=true
start_pre() {
/sbin/sysctl -e kernel.sched_autogroup_enabled=0
}
stop_post() {
/sbin/sysctl -e kernel.sched_autogroup_enabled=1
}
stop() {
start-stop-daemon --stop --pidfile "$pidfile"
}

View File

@@ -0,0 +1,11 @@
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -45,7 +45,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = ['breathe', 'sphinx.ext.mathjax',
+extensions = ['breathe', 'sphinx.ext.mathjax', 'sphinx.ext.autodoc',
'matplotlib.sphinxext.plot_directive']
breathe_projects = {'VEXCL' : 'xml'}

View File

@@ -3,9 +3,11 @@
EAPI=7
#DOCS_AUTODOC=0
DOCS_BUILDER="sphinx"
DOCS_DEPEND="dev-python/sphinx-bootstrap-theme"
DOCS_DEPEND="
dev-python/breathe
dev-python/sphinx-bootstrap-theme
"
DOCS_DIR="docs"
PYTHON_COMPAT=( python3_{7..9} )
@@ -29,9 +31,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" )
src_prepare() {
default
sed -e "s|git_version()|${PV}|g" -i docs/conf.py || die
sed -e "s|git_version()|\'${PV}\'|g" -i docs/conf.py || die
cmake_src_prepare
}

View File

@@ -1 +1,2 @@
DIST fcft-2.3.3.tar.gz 313168 BLAKE2B b3dbc3af511e8a8007a17400fe6880a08a62ca0cb69795438ab7c6a86f856b25a3bd26cdef8031f1c8d66f4527d191a72ce87852f001e05b8f37285dea4befb5 SHA512 91f3c1292889c2fd1cdce439e0168a37a932d3a05ea78fff93ce69ea7b1adc33424e67a0b2c36931d26128e1169e6f784f16445475c94690dedf608f92278009
DIST fcft-2.4.0.tar.gz 323605 BLAKE2B 1926d26b633cf768257340f093de734513678f3b5e62cb2fa89fd08496d06b36de89fe797a5328c35a5b467d3ea48214d5a3e76660d2effaea0f28fddbc7bd48 SHA512 0904344cf69875e5ed2b0543911cfcbd7fddafcc19ef611ff6abb30004515eb61a69f5add25f9576132dcd60bc0c2cc7f6461fade9124a32c4026154e56d8e64

View File

@@ -0,0 +1,77 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git"
fi
DESCRIPTION="A simple library for font loading and glyph rasterization"
HOMEPAGE="https://codeberg.org/dnkl/fcft"
LICENSE="MIT"
SLOT="0/3"
IUSE="examples +text-shaping test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/tllist
media-libs/fontconfig
media-libs/freetype
x11-libs/pixman
text-shaping? ( media-libs/harfbuzz )
examples? (
dev-libs/libutf8proc:=
dev-libs/wayland
)
"
DEPEND="
${RDEPEND}
test? (
text-shaping? ( media-fonts/noto-emoji )
)
"
BDEPEND="
app-text/scdoc
app-i18n/unicode-data
examples? (
dev-libs/wayland-protocols
dev-util/wayland-scanner
)
"
src_prepare() {
default
rm -r "unicode" || die "Failed removing vendored unicode-data"
sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \
meson.build || die "Failed changing UnicodeData.txt to system's copy"
}
src_configure() {
local emesonargs=(
$(meson_feature text-shaping)
$(meson_use examples)
"-Dwerror=false"
)
use test && emesonargs+=(
$(meson_use text-shaping test-text-shaping)
)
meson_src_configure
}
src_install() {
meson_src_install
use examples && newbin "${BUILD_DIR}/example/example" fcft-example
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}

View File

@@ -17,28 +17,61 @@ fi
DESCRIPTION="A simple library for font loading and glyph rasterization"
HOMEPAGE="https://codeberg.org/dnkl/fcft"
LICENSE="MIT"
SLOT="0"
IUSE="+text-shaping"
SLOT="0/3"
IUSE="examples +text-shaping test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/tllist
media-libs/fontconfig
media-libs/freetype
text-shaping? ( media-libs/harfbuzz )
x11-libs/pixman
text-shaping? ( media-libs/harfbuzz )
examples? (
dev-libs/libutf8proc:=
dev-libs/wayland
)
"
RDEPEND="${DEPEND}"
BDEPEND="app-text/scdoc"
DEPEND="
${RDEPEND}
test? (
text-shaping? ( media-fonts/noto-emoji )
)
"
BDEPEND="
app-text/scdoc
app-i18n/unicode-data
examples? (
dev-libs/wayland-protocols
dev-util/wayland-scanner
)
"
src_prepare() {
default
rm -r "unicode" || die "Failed removing vendored unicode-data"
sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \
meson.build || die "Failed changing UnicodeData.txt to system's copy"
}
src_configure() {
local emesonargs=(
$(meson_feature text-shaping)
$(meson_use examples)
"-Dwerror=false"
)
use test && emesonargs+=(
$(meson_use text-shaping test-text-shaping)
)
meson_src_configure
}
src_install() {
meson_src_install
use examples && newbin "${BUILD_DIR}/example/example" fcft-example
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}

View File

@@ -1 +1 @@
DIST rocketchat-3.2.0.x86_64.rpm 55347176 BLAKE2B 69f5dc15a61029aee97638dbde40ede5fd860f8ef51dc40bec09b142f31d2b5ab2d1ca81604ce909327888174a5f549775d4f7a03e55d9a3251004c4164f9a1e SHA512 7d5827c5f8822ab7c1966e5938801de8a8ef73d49f594647294cdb69e0ea37315ed6277830aa1680442577157d705455e1b832b04d7d7a821bdd4e5810598e0d
DIST rocketchat-3.2.1.x86_64.rpm 55355092 BLAKE2B 53e94118fc04f154ee70c673402124deaa3242ffaf5f0f013bf720ba26787e2a6e0fe698d4f1c314643121b35e382789b23f311f8a93b73d7661b7386ce219da SHA512 69b8201378cf73335c1c847d670006dfa8bcc61a0221edb5eb873635c93fac597b6da4a717dd25d9a0eaddb10331486a8d2870bda5320ae117e83406b03c9f95