Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-07-01 05:38:16 +00:00
23 changed files with 97 additions and 424 deletions

View File

@@ -1 +0,0 @@
DIST espeak-ng-1.50.tgz 21344932 BLAKE2B 02e0070ab7d0fba321e39e920ba60276d0046955eb40c042a3b0faf93967ae3b1ab88308ece32b7a623d92074943884b214aab13589511726823f0a5d11916de SHA512 753de58ceaf1bbbbe5cb19430cc04dd6bcee79080c8908ebe48645d52fdba5b6e7b1e2cab923220488f83a58e20364e93ba021868676fedfa5b8ede010aed443

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Software speech synthesizer for English, and some other languages"
HOMEPAGE="https://github.com/espeak-ng/espeak-ng"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tgz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3+ turkowski unicode"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +klatt l10n_ru l10n_zh mbrola +sonic +sound"
DEPEND="
!app-accessibility/espeak
mbrola? ( app-accessibility/mbrola )
sonic? ( media-libs/sonic )
sound? ( media-libs/pcaudiolib )
"
RDEPEND="${DEPEND}
sound? ( media-sound/sox )
"
BDEPEND="
virtual/pkgconfig
doc? ( app-text/ronn )
"
DOCS=( CHANGELOG.md README.md docs )
src_prepare() {
default
# disable failing tests
rm tests/{language-pronunciation,translate}.test || die
sed -e "/language-pronunciation.check/d" \
-e "/translate.check/d" \
-i Makefile.am || die
sed "s/int samplerate;/static int samplerate;/" -i src/espeak-ng.c || die
eautoreconf
}
src_configure() {
econf \
$(use_with klatt) \
$(use_with l10n_ru extdict-ru) \
$(use_with l10n_zh extdict-zh) \
$(use_with l10n_zh extdict-zhy) \
$(use_with mbrola) \
$(use_with sound pcaudiolib) \
$(use_with sonic) \
--with-async \
--without-libfuzzer \
--disable-rpath
}
src_compile() {
emake -j1
}
src_test() {
emake check
}
src_install() {
emake DESTDIR="${D}" VIMDIR=/usr/share/vimfiles install
rm "${ED}"/usr/lib*/libespeak.la || die
rm "${ED}"/usr/lib*/libespeak-ng.{a,la} || die
}

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<maintainer>
<name>Reece H. Dunn</name>
<email>msclrhd@gmail.com</email>
</maintainer>
<remote-id type="github">espeak-ng/espeak-ng</remote-id>
<changelog>https://github.com/espeak-ng/espeak-ng/releases.atom</changelog>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<use>
<flag name="doc">Builds and installs manpage with app-text/ronn</flag>
<flag name="l10n_ru">Builds extended Russian Dictionary file</flag>
<flag name="l10n_zh">Builds extended Chinese (Mandarin and Cantonese) Dictionary files</flag>
<flag name="klatt">Enables Klatt formant synthesis and implementation</flag>
<flag name="mbrola">Adds support for mbrola voices</flag>
<flag name="sonic">Enables the sonic library to speed up the audio</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,9 @@
prefix=@PREFIX@
exec_prefix=${prefix}
includedir=${prefix}/include
Name: pcg-cpp
Description: Family of better random number generators
URL: https://www.pcg-random.org
Version: 0.98.1
Cflags: -I${includedir}

View File

@@ -4,6 +4,7 @@
<upstream>
<remote-id type="github">mneme/pcg-cpp</remote-id>
<bugs-to>https://github.com/imneme/pcg-cpp/issues</bugs-to>
<doc>https://www.pcg-random.org/using-pcg-cpp.html</doc>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>

View File

@@ -1,9 +1,9 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
inherit multilib toolchain-funcs
COMMIT="ffd522e7188bef30a00c74dc7eb9de5faff90092"
DESCRIPTION="Family of better random number generators"
@@ -14,15 +14,10 @@ S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
IUSE="examples test"
RESTRICT="!test? ( test )"
src_prepare() {
default
sed "s/install: all/install:/" -i Makefile || die
}
# this code installs only headers
# header-only library
src_compile() {
tc-export CXX
if use test ; then
@@ -37,5 +32,14 @@ src_test() {
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
doheader include/*
docompress -x /usr/share/doc/${PF}/sample
use examples && dodoc -r sample
einstalldocs
insinto /usr/$(get_libdir)/pkgconfig
doins "${FILESDIR}"/pcg-cpp.pc
sed -e "s:@PREFIX@:${EPREFIX}/usr:" \
-i "${ED}"/usr/$(get_libdir)/pkgconfig/pcg-cpp.pc || die
}

View File

@@ -0,0 +1 @@
DIST among-sus-20210519.tar.gz 23784 BLAKE2B d9a215c0654f1db3d39e8ed10f792a464a1e843e863cbb5c986b6074885d10a9912ba143f8e1f692e001e7b495296b0cf92f1ce62cd533a0f7aabe871900cb5f SHA512 873a736a02f921758f3c5faac0b5d46c5f5f36f605fbfb0c5da42544a4fbd27bc73d1a2f1f82468c3f173cf4c25a28eee35d9f6b83c0809c59fb0aa954d925ab

View File

@@ -0,0 +1,35 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic
COMMIT="554e60bf52e3fa931661b9414189a92bb8f69d78"
DESCRIPTION="Among Us, but it's a text adventure"
HOMEPAGE="https://sr.ht/~martijnbraam/among-sus"
SRC_URI="https://tildegit.org/tildeverse/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+notifications"
src_configure() {
append-cppflags \
-DVERSION=\\\"${COMMIT:0:7}\\\" \
-DMOVEMENT_NOTIFICATIONS=$(usex notifications 1 0)
}
src_compile() {
emake main
}
src_install() {
newbin main ${PN}
einstalldocs
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}

View File

@@ -0,0 +1 @@
# AMOGUS_PORT=1234

View File

@@ -0,0 +1,18 @@
#!/sbin/openrc-run
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="among-sus server"
description="Among Us, but it's a text adventure"
AMOGUS_PORT=${AMOGUS_PORT:-1234}
command="/usr/bin/among-sus"
command_args="-p ${AMOGUS_PORT}"
command_user=nobody:nobody
command_background=1
pidfile=/run/among-sus.pid
depend() {
need net
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<bugs-to>https://todo.sr.ht/~martijnbraam/among-sus</bugs-to>
</upstream>
<use>
<flag name="notifications">Notify players you're moving</flag>
</use>
</pkgmetadata>

View File

@@ -1,15 +0,0 @@
Open Source Repository
courtesy of
Ken Turkowski
The source code available from this page may be freely downloaded and used in
any applications for any purpose, as long as the code is used in its entirety
and the copyright notice and warranty information is retained.
If you make any improvements to this software, you should provide me with said
improvements.
If any of this code is incorporated into a commercial product, you should
notify me of this by email, and provide me with a complimentary copy of said
product. :-)

View File

@@ -1 +0,0 @@
DIST pcaudiolib-1.1.tar.gz 34049 BLAKE2B 7c6ce1532c47db30db2b80be690453257148be9a7115cd24dabda3dfcaca667d5c3a8278276f278556406144461cda48905ce581f0fde2f8429b3f829a948a36 SHA512 d503c11b355601e1e05f0f438a0cd9ce277d19fd53d3f7edf26f6e17f1f8184e8b2112a282e8ed74db8646bb5534d2a9a3c707b1742ce02ef13fd89669785007

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<maintainer>
<name>Reece H. Dunn</name>
<email>msclrhd@gmail.com</email>
</maintainer>
<remote-id type="github">espeak-ng/pcaudiolib</remote-id>
<bugs-to>https://github.com/espeak-ng/pcaudiolib/issues</bugs-to>
<changelog>https://github.com/espeak-ng/pcaudiolib/raw/master/CHANGELOG.md</changelog>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Portable C Audio Library"
HOMEPAGE="https://github.com/espeak-ng/pcaudiolib"
SRC_URI="https://github.com/espeak-ng/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+ ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+alsa oss pulseaudio"
REQUIRED_USE="|| ( alsa oss pulseaudio )"
RDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.18 )
pulseaudio? ( media-sound/pulseaudio )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_with oss) \
$(use_with alsa) \
$(use_with pulseaudio)
}
src_install() {
default
rm "${ED}"/usr/lib*/libpcaudio.{a,la} || die
}

View File

@@ -1,2 +1 @@
DIST cmdock-v0.1.2.tar.gz 13394195 BLAKE2B bd377b6a953d1e38b527da4eda36aee7a634e9f0c400487d4092ae1939589890038fc90052d8bddb25457dd027fa929acd50e836d65bd5994af89116f4c770a7 SHA512 90d4114a10dde99d34cd7ea4b28399da744cc295adebb10f1f9771b59841cd13e07cae5218643c90dd2847cdb014867ab795649a3d1883396a3609c3344b8226
DIST cmdock-v0.1.3.tar.gz 13416412 BLAKE2B abd6382943fb2ca2459fa493f8025e335821b96a95b88267dd493c28cd3280481b41ec6480fd3514cff126ab1077e89f075e5311393b1cd366403419e9c47454 SHA512 d941b672d14bad4fda4eaeb7aa313da1ade213241a1aee392747943a03afb6c66b3e93b8fd7eb9b1d8095b0632bd48cb062879cf445e3b54ce07069ad3087b22

View File

@@ -1,74 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..10} pypy3 )
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="docs"
inherit python-any-r1 docs meson
DESCRIPTION="Program for docking ligands to proteins and nucleic acids"
HOMEPAGE="https://gitlab.com/Jukic/cmdock"
SRC_URI="https://gitlab.com/Jukic/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="LGPL-3"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="boinc"
RDEPEND="
dev-lang/perl
boinc? ( sci-misc/boinc-wrapper )
"
BDEPEND="
dev-cpp/eigen:3
dev-cpp/pcg-cpp
dev-libs/cxxopts
"
src_prepare() {
default
sed "s|pcg_cpp_dep = dependency.*|pcg_cpp_dep = declare_dependency(include_directories: '/usr/include')|" -i meson.build || die
}
src_configure() {
# very weird directory layout
local emesonargs=(
--prefix="${EPREFIX}/opt/cmdock-${PV}"
)
meson_src_configure
}
src_compile() {
meson_src_compile
docs_compile
}
src_install() {
meson_src_install
if use boinc ; then
insinto /var/lib/boinc/projects/www.sidock.si_sidock
newins "${FILESDIR}/app_info_${PV}.xml" app_info.xml
doins "${FILESDIR}/cmdock-boinc_job_${PV}.xml"
doins "${FILESDIR}/cmdock-boinc-zip_job_${PV}.xml"
dosym ../../../../../usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-wrapper_${PV}
dosym ../../../../../usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-boinc-zip_wrapper_${PV}
fi
}
pkg_postinst() {
if use boinc ; then
touch /var/lib/boinc/projects/www.sidock.si_sidock/docking_out.sd || die
elog
elog "The easiest way to do something useful with this application"
elog "is to attach it to SiDock@home BOINC project."
elog
elog "- Master URL: https://sidock.si/sidock/"
elog "- Invitation code: Crunch_4Science"
fi
}

View File

@@ -1,9 +1,9 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{7..10} pypy3 )
PYTHON_COMPAT=( python3_{8..10} pypy3 )
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="docs"
@@ -26,14 +26,13 @@ RDEPEND="
BDEPEND="
dev-cpp/eigen:3
dev-cpp/indicators
dev-cpp/pcg-cpp
>=dev-cpp/pcg-cpp-0.98.1_p20210406-r1
dev-libs/cxxopts
"
src_prepare() {
default
rm -r include/indicators || die
sed "s|pcg_cpp_dep = dependency.*|pcg_cpp_dep = declare_dependency(include_directories: '/usr/include')|" -i meson.build || die
}
src_configure() {
@@ -55,13 +54,9 @@ src_install() {
if use boinc ; then
insinto /var/lib/boinc/projects/www.sidock.si_sidock
newins "${FILESDIR}/app_info_${PV}.xml" app_info.xml
doins "${FILESDIR}/cmdock-boinc_job_${PV}.xml"
doins "${FILESDIR}/cmdock-boinc-zcp_job_${PV}.xml"
newins "${FILESDIR}/cmdock-boinc-zcp_job_${PV}.xml" cmdock-boinc-zip_job_${PV}.xml
dosym ../../../../../usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-wrapper_${PV}
dosym ../../../../../usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-boinc-zcp_wrapper_${PV}
dosym ../../../../../usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-boinc-zip_wrapper_${PV}
dosym -r /usr/bin/boinc-wrapper /var/lib/boinc/projects/www.sidock.si_sidock/cmdock-boinc-zcp_wrapper_${PV}
fi
}

View File

@@ -1,66 +0,0 @@
<app_info>
<app>
<name>cmdock-boinc</name>
<user_friendly_name>CurieMarieDock on BOINC</user_friendly_name>
</app>
<app>
<name>cmdock-boinc-zip</name>
<user_friendly_name>CurieMarieDock on BOINC + zipped input</user_friendly_name>
</app>
<file_info>
<name>cmdock-wrapper_0.1.2</name>
<executable/>
</file_info>
<file_info>
<name>cmdock-boinc-zip_wrapper_0.1.2</name>
<executable/>
</file_info>
<file_info>
<name>cmdock-boinc_job_0.1.2.xml</name>
</file_info>
<file_info>
<name>cmdock-boinc-zip_job_0.1.2.xml</name>
</file_info>
<file_info>
<name>docking_out.sd</name>
</file_info>
<app_version>
<app_name>cmdock-boinc</app_name>
<version_num>102</version_num>
<file_ref>
<file_name>cmdock-wrapper_0.1.2</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cmdock-boinc_job_0.1.2.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>docking_out.sd</file_name>
<open_name>docking_out.sd</open_name>
<copy_file/>
</file_ref>
</app_version>
<app_version>
<app_name>cmdock-boinc-zip</app_name>
<version_num>204</version_num>
<file_ref>
<file_name>cmdock-boinc-zip_wrapper_0.1.2</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cmdock-boinc-zip_job_0.1.2.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>docking_out.sd</file_name>
<open_name>docking_out.sd</open_name>
<copy_file/>
</file_ref>
</app_version>
</app_info>

View File

@@ -1,61 +1,21 @@
<app_info>
<app>
<name>cmdock-boinc</name>
<user_friendly_name>CurieMarieDock on BOINC</user_friendly_name>
</app>
<app>
<name>cmdock-boinc-zip</name>
<user_friendly_name>CurieMarieDock on BOINC + zipped input</user_friendly_name>
</app>
<app>
<name>cmdock-boinc-zcp</name>
<user_friendly_name>CurieMarieDock on BOINC + zipped input, checkpoints and progress bar</user_friendly_name>
</app>
<file_info>
<name>cmdock-wrapper_0.1.3</name>
<executable/>
</file_info>
<file_info>
<name>cmdock-boinc-zcp_wrapper_0.1.3</name>
<executable/>
</file_info>
<file_info>
<name>cmdock-boinc-zip_wrapper_0.1.3</name>
<executable/>
</file_info>
<file_info>
<name>cmdock-boinc_job_0.1.3.xml</name>
</file_info>
<file_info>
<name>cmdock-boinc-zcp_job_0.1.3.xml</name>
</file_info>
<file_info>
<name>cmdock-boinc-zip_job_0.1.3.xml</name>
</file_info>
<file_info>
<name>docking_out.sd</name>
</file_info>
<app_version>
<app_name>cmdock-boinc</app_name>
<version_num>103</version_num>
<file_ref>
<file_name>cmdock-wrapper_0.1.3</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cmdock-boinc_job_0.1.3.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>docking_out.sd</file_name>
<open_name>docking_out.sd</open_name>
<copy_file/>
</file_ref>
</app_version>
<app_version>
<app_name>cmdock-boinc-zcp</app_name>
<version_num>100</version_num>
@@ -74,22 +34,4 @@
<copy_file/>
</file_ref>
</app_version>
<app_version>
<app_name>cmdock-boinc-zip</app_name>
<version_num>300</version_num>
<file_ref>
<file_name>cmdock-boinc-zip_wrapper_0.1.3</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>cmdock-boinc-zip_job_0.1.3.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>docking_out.sd</file_name>
<open_name>docking_out.sd</open_name>
<copy_file/>
</file_ref>
</app_version>
</app_info>

View File

@@ -1,14 +0,0 @@
<job_desc>
<task>
<application>/opt/cmdock-0.1.2/build/cmdock</application>
<stdout_filename>docking_log</stdout_filename>
<command_line>-c -r target.prm -p /opt/cmdock-0.1.2/data/scripts/dock.prm -f htvs.ptc -i ligands.sdf -o docking_out</command_line>
<checkpoint_filename>docking_out.chk</checkpoint_filename>
<setenv>CMDOCK_ROOT=/opt/cmdock-0.1.2</setenv>
<setenv>LD_LIBRARY_PATH=/opt/cmdock-0.1.2/build:$LD_LIBRARY_PATH</setenv>
<setenv>PERL5LIB=/opt/cmdock-0.1.2/lib:$PERL5LIB</setenv>
</task>
<unzip_input>
<zipfilename>ligands.zip</zipfilename>
</unzip_input>
</job_desc>

View File

@@ -1,10 +0,0 @@
<job_desc>
<task>
<application>/opt/cmdock-0.1.2/build/cmdock</application>
<stdout_filename>docking_log</stdout_filename>
<command_line>-r target.prm -p /opt/cmdock-0.1.2/data/scripts/dock.prm -f htvs.ptc -i ligands.sdf -o docking_out</command_line>
<setenv>CMDOCK_ROOT=/opt/cmdock-0.1.2</setenv>
<setenv>LD_LIBRARY_PATH=/opt/cmdock-0.1.2/build:$LD_LIBRARY_PATH</setenv>
<setenv>PERL5LIB=/opt/cmdock-0.1.2/lib:$PERL5LIB</setenv>
</task>
</job_desc>

View File

@@ -1,10 +0,0 @@
<job_desc>
<task>
<application>/opt/cmdock-0.1.3/build/cmdock</application>
<stdout_filename>docking_log</stdout_filename>
<command_line>-r target.prm -p /opt/cmdock-0.1.3/data/scripts/dock.prm -f htvs.ptc -i ligands.sdf -o docking_out</command_line>
<setenv>CMDOCK_ROOT=/opt/cmdock-0.1.3</setenv>
<setenv>LD_LIBRARY_PATH=/opt/cmdock-0.1.3/build:$LD_LIBRARY_PATH</setenv>
<setenv>PERL5LIB=/opt/cmdock-0.1.3/lib:$PERL5LIB</setenv>
</task>
</job_desc>