Skip to content

Commit

Permalink
app-editor/diakonos-0.9.8.ebuild version bump and EAPI bump
Browse files Browse the repository at this point in the history
Signed-off-by: Germ Mipseb <germtoo@outlook.com>
  • Loading branch information
mipseb committed Nov 9, 2023
1 parent df27b6f commit e0db2a2
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-editors/diakonos/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST diakonos-0.9.7.tar.gz 129807 BLAKE2B 26c3a72a00e1d41b4a7b2916b37024658d7607ac657d4f71a12b939830578d7939a4f9f4c3886693eae9eeaf91bfe1abe055be7bcc7681619448e298acb5c546 SHA512 ec23d93ed6871d18b6a91e02bc6916ac667ca773be5f093a68fffa5c9cbe89b123e80b18762c8649620eda23b1b9ba582a5236eb9eaefc0e22a411390cd30c73
DIST diakonos-0.9.8.tar.gz 169647 BLAKE2B 63014b2dad351eb394d9c10c01fbb85798cef555f3423978bed7c140a4e975ecc7b709d4f09459085488623beecb02c28f21a787f2a07f00fff17d3921a91dd7 SHA512 dd2f73fc036952796793e428322cd015f31f7810341c47ceaf7fe855cf329b4523fbc24e635d1f94975c9d302dfd8afc4864e69dab0c892ba525a71410241b3a
37 changes: 37 additions & 0 deletions app-editors/diakonos/diakonos-0.9.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_RUBY="ruby27 ruby30 ruby31"

inherit ruby-ng

DESCRIPTION="A Linux editor for the masses"
HOMEPAGE="https://git.sr.ht/~pistos/diakonos"
SRC_URI="https://github.com/Pistos/diakonos/tags -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
IUSE="doc test"

ruby_add_rdepend "dev-ruby/curses"

ruby_add_bdepend "doc? ( dev-ruby/yard )
test? ( dev-ruby/rspec )"

each_ruby_test() {
${RUBY} -S rspec -Ilib spec/*.rb spec/*/*.rb || die
}

each_ruby_install() {
${RUBY} install.rb --dest-dir "${D}" --doc-dir /usr/share/doc/${PF} || die "install failed"
}

all_ruby_install() {
if use doc; then
rake docs || die
dodoc -r doc/*
fi
}
1 change: 1 addition & 0 deletions app-emulation/faudio/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST faudio-23.02.tar.gz 1111012 BLAKE2B c776a5b882697fbbed894f129165600b1aad8b303254e9ecbf6111fff71581491b484681a71d377854077dfc23b99d1217e5322bdd9923caf4471cc0bc2ca0f2 SHA512 d83adca1f1e42b1c7d63dad30886b58a914ac9a5a254f26d3fdb2386776840e3c40b22a8dd9c7172e6c97b0db989f919fd2ebeac2ec00075a8136ec9120bc390
DIST faudio-23.10.tar.gz 1120033 BLAKE2B 2f064ba71386db69870b4e523625c421b2062f3584f834b55367dd675a1a61509831b036ed2e459cd2ea247e2b56401142bf73b6e828bd2ff4699623ba0d453f SHA512 cc17c1c3950267a8cc69d0a263deef1d80e8bb9f658f1c2cd1c137bccac1d2be234d17f9b790bbe8bd1ba9da7e13676d3d38e328399d5a706f6ed502365de9ba
37 changes: 37 additions & 0 deletions app-emulation/faudio/faudio-23.10.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake flag-o-matic

DESCRIPTION="Accuracy-focused XAudio reimplementation for open platforms"
HOMEPAGE="https://fna-xna.github.io/"
SRC_URI="https://github.com/FNA-XNA/FAudio/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/FAudio-${PV}"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug dumpvoices test"
RESTRICT="!test? ( test )"

RDEPEND="media-libs/libsdl2[sound]"
DEPEND="${RDEPEND}"

src_configure() {
append-cppflags -D_DEFAULT_SOURCE # usleep() in tests
use debug || append-cppflags -DFAUDIO_DISABLE_DEBUGCONFIGURATION

local mycmakeargs=(
-DBUILD_TESTS=$(usex test)
-DDUMP_VOICES=$(usex dumpvoices)
)

cmake_src_configure
}

src_test() {
einfo "Running faudio_tests, this may take some time without output..."
SDL_AUDIODRIVER=dummy "${BUILD_DIR}"/faudio_tests || die
}

0 comments on commit e0db2a2

Please sign in to comment.