From dffac109e270c0961434b65ff123e20316599e7e Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Sun, 8 Mar 2020 20:43:01 +0300 Subject: [PATCH] update ryujinx, add sndio found found somewhere on the net --- games-emulation/ryujinx-bin/Manifest | 4 ++ .../ryujinx-bin/ryujinx-bin-1.0.3840.ebuild | 43 +++++++++++++++ .../ryujinx-bin/ryujinx-bin-1.0.3846.ebuild | 42 +++++++++++++++ media-sound/sndio/Manifest | 7 +++ media-sound/sndio/files/confd | 1 + media-sound/sndio/files/initd | 17 ++++++ .../files/sndio-0_p20120925-configure.patch | 12 +++++ media-sound/sndio/sndio-1.3.0.ebuild | 52 +++++++++++++++++++ media-sound/sndio/sndio-1.4.0-r1.ebuild | 52 +++++++++++++++++++ 9 files changed, 230 insertions(+) create mode 100644 games-emulation/ryujinx-bin/ryujinx-bin-1.0.3840.ebuild create mode 100644 games-emulation/ryujinx-bin/ryujinx-bin-1.0.3846.ebuild create mode 100644 media-sound/sndio/Manifest create mode 100644 media-sound/sndio/files/confd create mode 100644 media-sound/sndio/files/initd create mode 100644 media-sound/sndio/files/sndio-0_p20120925-configure.patch create mode 100644 media-sound/sndio/sndio-1.3.0.ebuild create mode 100644 media-sound/sndio/sndio-1.4.0-r1.ebuild diff --git a/games-emulation/ryujinx-bin/Manifest b/games-emulation/ryujinx-bin/Manifest index 536980f..9631bb5 100644 --- a/games-emulation/ryujinx-bin/Manifest +++ b/games-emulation/ryujinx-bin/Manifest @@ -1,5 +1,9 @@ AUX logo.png 1108 BLAKE2B 0e556c46a451d2315d706e94efb936cc3941ede2d5b711ab4ab7ecaf8a584516c7324f3b92571d341d5c2d85de6d01a5477b7d9b46d3fa8422817d5b3064126a SHA512 4ca18a2d19274b7eebc3ce3a31eb7b4369ea6a2eda4aeff7f120ce6e3b7f72810a6cda3ecf6619ddcadd833b0ce50f0e57c325da027f05867828fc7833e5a38b AUX ryujinx.desktop 132 BLAKE2B 9c5ed86f9599cb9416efaa12a9e694eab70d9c11138a92a561d2a3129f2f44055662195d74344919c14f7455799cf7392cb1177dc239110acc0aacf77f0f3ac1 SHA512 bf2141159a7a566d8e851d60f94f60fd82684099fa3089259b4118a4eef5909b0fad8b41f7b643384e54a394a8fb1e5913f8c6f79f43e2f66fccbdac0e4a5528 DIST ryujinx-1.0.3772-linux_x64.tar.gz 40389107 BLAKE2B 86e536fc788172f1480d215bb7f15ac5dfa50292d0d8bfc535d893cb610b9f1280c6df4f4b083395660b868d775f03716fca62d6743d45255437a2937f9b5853 SHA512 af1eea07d2ba721a48638fb699f4931b263ab919449c33a53665cd9764745df7e07dcbaefc3d80914c7c39c5be71334294895b789f3eedef92184add5a0f36dc +DIST ryujinx-1.0.3840-linux_x64.tar.gz 40456332 BLAKE2B 017b3ccd534abc3aebf01294054211b4b0abc41f07ee446f8045415f7872bac3ffc335281f86f36addf66e97b8f51a2ad36e07114bf7526383a48b15bceb9d8b SHA512 454e6bb8efe571828fdc457c6b5d4009ef73905eb4d62880e3b51b98e485b593893b421b7323759dbc2348872173309ecf690b4fb864a9f9a4149b6823301526 +DIST ryujinx-1.0.3848-linux_x64.tar.gz 40456547 BLAKE2B c17d46ffdd902f37082cbd5f224d665dd0097d8587306f12a3dffae8df6ff9d13feea58acb98236c31f306d4edc02c653b92b4537928ade59e6b8af82d03a3d7 SHA512 b5800dfe04f8b318d664d7db147416f661f4dd686ff7458ab38f24b6253d54cb3cb0905b9216ef16758db3df520f843638dda890bb01fc7917d38bc853884941 EBUILD ryujinx-bin-1.0.3772.ebuild 857 BLAKE2B ec87bc0490b5c932ebd09faa15f7c5ccb6f139ccf24de1d4f73d157d667b4704686b713b7961c3fb0bba599c664bbbba013a7bb43e36aff8759a292cd178a183 SHA512 5e511427c3f2de82143e2b0370a134b7b1c91f30c190abde8e7067f358fbeb93f6c58d7624dc222d5e23ebfeb568d984ca17be52798af445c41954cb81d10701 +EBUILD ryujinx-bin-1.0.3840.ebuild 967 BLAKE2B 860ec841f0b3355b024450e11f8471761be962b28af2ca9be56d037b3b67adc9945a8c56eb09efcc4f03f6a91e717e4673e233016826539a4999925ab651f77e SHA512 beda45b6be3436656bca0709d76a5979dbc4a994d27bc68fa819418a6635368480cf6e3686f5ea68d87f57f185ae3cfc5218ca529c028235bb383ead0212e94a +EBUILD ryujinx-bin-1.0.3846.ebuild 860 BLAKE2B 0d89f0c09d74d96d15649bf91c6cec3613f9c4aadecfb91cd65ee7e15bae744ed033b36819a1a581cb111217406735e7739b132802b946cccfd156892df2207c SHA512 5131da716f266a570235c379883d9b83bf05536bc5d2bcbbb183c02a397e4fc091e3fea0469d2b95ffbcc4ec5ab41e3d40fbbba269e0c84f9fedc7c0ab735078 MISC metadata.xml 186 BLAKE2B 37e1e8e65fd76a9b4b562cf60a4554706dae41563dd1675c0373463eba02599d8f30ba77e175da75b745bad8d3afbb1ea56eaac92ed48facb257f5a32fdbbd01 SHA512 6c315332892325b83a942f8e2678afdd9bf8b26b3c5a6c365c093fef4f46c9d589644625cb1486ce32c561fc5095e9859a910ade175bed7c4bc4b7461d42b541 diff --git a/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3840.ebuild b/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3840.ebuild new file mode 100644 index 0000000..6b827a0 --- /dev/null +++ b/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3840.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop + +MULTILIB_COMPAT=( abi_x86_64 ) + +MY_PN=${PN/-bin/} + +DESCRIPTION="Nintendo Switch Emulator" +HOMEPAGE="https://ryujinx.org/" +SRC_URI="https://ci.appveyor.com/api/buildjobs/4erxay4cil2a1fii/artifacts/ryujinx-1.0.3840-linux_x64.tar.gz" +#SRC_URI="https://ci.appveyor.com/api/buildjobs/blog74a0nvironem/artifacts/ryujinx-${PV}-linux_x64.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* amd64" + +S="${WORKDIR}" +QA_PREBUILT="*" +RESTRICT="mirror strip" + +RDEPEND=" + x11-libs/libX11" # TODO: Add more? + +src_unpack() { + unpack ${A} +} + +src_install() { + insinto /opt/${MY_PN} + doins -r publish/. + fperms +x /opt/${MY_PN}/Ryujinx + dosym /opt/${MY_PN}/Ryujinx usr/bin/${MY_PN} + keepdir /var/log/${MY_PN} + fperms a+w /var/log/${MY_PN} + dosym /var/log/${MY_PN} /opt/${MY_PN}/Logs + + newicon ${FILESDIR}/logo.png ryujinx.png + + domenu ${FILESDIR}/ryujinx.desktop +} diff --git a/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3846.ebuild b/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3846.ebuild new file mode 100644 index 0000000..48524c0 --- /dev/null +++ b/games-emulation/ryujinx-bin/ryujinx-bin-1.0.3846.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop + +MULTILIB_COMPAT=( abi_x86_64 ) + +MY_PN=${PN/-bin/} + +DESCRIPTION="Nintendo Switch Emulator" +HOMEPAGE="https://ryujinx.org/" +SRC_URI="https://ci.appveyor.com/api/buildjobs/hs2f4vk42ycrf1l9/artifacts/ryujinx-1.0.3848-linux_x64.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* amd64" + +S="${WORKDIR}" +QA_PREBUILT="*" +RESTRICT="mirror strip" + +RDEPEND=" + x11-libs/libX11" # TODO: Add more? + +src_unpack() { + unpack ${A} +} + +src_install() { + insinto /opt/${MY_PN} + doins -r publish/. + fperms +x /opt/${MY_PN}/Ryujinx + dosym /opt/${MY_PN}/Ryujinx usr/bin/${MY_PN} + keepdir /var/log/${MY_PN} + fperms a+w /var/log/${MY_PN} + dosym /var/log/${MY_PN} /opt/${MY_PN}/Logs + + newicon ${FILESDIR}/logo.png ryujinx.png + + domenu ${FILESDIR}/ryujinx.desktop +} diff --git a/media-sound/sndio/Manifest b/media-sound/sndio/Manifest new file mode 100644 index 0000000..f7dea4c --- /dev/null +++ b/media-sound/sndio/Manifest @@ -0,0 +1,7 @@ +AUX confd 31 BLAKE2B bdd53dfdf84cf810e22db9b018945683ab466c7ccc41179f36778f5ff5ca880c038f6ad4bf920db7e70800007f754b00b56096dfe71478e2c54093195010f5be SHA512 3e6e08fca1586b5ffcc185c3ad7e3515c2e3a31b79468844b8231c409519397917183011054102187bc3557684f2a244f7ec2c8ab8fbefd29b97da8e0b5985d9 +AUX initd 412 BLAKE2B 0cfe54ab9334ed19a0f3909901645a33e5e4ccd68f03e5dc920f7d2fb94923f99f7684b952b43c56802196d3b3f9b7db982eb3c698d283dc6c771ea99804c22a SHA512 364ab7cd9ca99f1cdb79b8778c5164e0ef553b8349d9c34e84b09032cdda3dec0312216f01adc8d62c959c9f8d473fd9f7cb890ccf855f5adc222094bfc4ef2c +AUX sndio-0_p20120925-configure.patch 199 BLAKE2B b09417f983c6b80899b6cee3ce1e4099711468cf92c32d8df8757a56bbe1021889ce3d1acbbefe09e8d09b15fc405afc46c3796013f0eca4a87dcff45c3b8467 SHA512 f78df9137443200d175e3fa2495eec7fc04572151abf7489c8671d4cba3bf725ca234c9954ea9910fd31b02714a7246f34e52d665d214153c87d7e25ad391efe +DIST sndio-1.3.0.tar.gz 125955 BLAKE2B ccf7c811c589077b164e935bca55ea7d335def18cfdfed0beeb22bd998722e03c0bda949878d7bc62c23a607c6fd6d7084edc7780002fde1d0024184190d2cf9 SHA512 209ba4350729ba37d0ec65511aa626124ee827bd6cc43088afec181e66ad7f9a291217896148aa22698954bd2fd7a6afdbc20cf17d4c0e10e7b2f735f7c5aece +DIST sndio-1.4.0.tar.gz 126007 BLAKE2B f9aa87007587866de0cbe71adb3a80927cb9562a4881c8e0669cd2f555341f7a745bed09519ef54af6cd941336006fd6c90cc7e151b98e9df9f40ac416042fc6 SHA512 add0a9f79db0bf2198a431afc39a8a8a263da3a1892d8c8f15fccd4d46735045f149f1b44cba1f9adeae68f38958d222d96fb21b897e5c48f51ebb593bcced21 +EBUILD sndio-1.3.0.ebuild 966 BLAKE2B 85d61e14cba66b97c763e6045581fc7802641bf31a8a05c6d7d120ec26303befae7cea4b148ba5b725109bf2ceff717fecf6fcf71bb534e4fcb3e7664fe33126 SHA512 ac3c98841d09fc5d153a18a6e37be68c1687e152a878c090bb56e9d098018b434db6b62265d5d2e1b6c9ab132d66c137024bb100feb416c77b4cc86cf16a19a6 +EBUILD sndio-1.4.0-r1.ebuild 966 BLAKE2B 85d61e14cba66b97c763e6045581fc7802641bf31a8a05c6d7d120ec26303befae7cea4b148ba5b725109bf2ceff717fecf6fcf71bb534e4fcb3e7664fe33126 SHA512 ac3c98841d09fc5d153a18a6e37be68c1687e152a878c090bb56e9d098018b434db6b62265d5d2e1b6c9ab132d66c137024bb100feb416c77b4cc86cf16a19a6 diff --git a/media-sound/sndio/files/confd b/media-sound/sndio/files/confd new file mode 100644 index 0000000..781020a --- /dev/null +++ b/media-sound/sndio/files/confd @@ -0,0 +1 @@ +SNDIO_OPTS="-dd -L :: -m play" diff --git a/media-sound/sndio/files/initd b/media-sound/sndio/files/initd new file mode 100644 index 0000000..a21c210 --- /dev/null +++ b/media-sound/sndio/files/initd @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +start() { + einfo Starting sndiod ... + start-stop-daemon --start --pidfile /var/run/sndiod.pid \ + --background --make-pidfile \ + --exec /usr/bin/sndiod -- ${SNDIO_OPTS} + eend $? +} + +stop() { + einfo Stopping sndiod ... + start-stop-daemon --stop --pidfile /var/run/sndiod.pid + eend $? +} diff --git a/media-sound/sndio/files/sndio-0_p20120925-configure.patch b/media-sound/sndio/files/sndio-0_p20120925-configure.patch new file mode 100644 index 0000000..1735071 --- /dev/null +++ b/media-sound/sndio/files/sndio-0_p20120925-configure.patch @@ -0,0 +1,12 @@ +--- sndio-9999/work/sndio/configure ++++ sndio-9999/work/sndio/configure +@@ -105,8 +105,7 @@ + vars="$vars$i$nl" + shift;; + *) +- help +- exit 1 ++ echo unrecognized argument $i + ;; + esac + done diff --git a/media-sound/sndio/sndio-1.3.0.ebuild b/media-sound/sndio/sndio-1.3.0.ebuild new file mode 100644 index 0000000..a8fe1d3 --- /dev/null +++ b/media-sound/sndio/sndio-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs user multilib-minimal + +DESCRIPTION="small audio and MIDI framework part of the OpenBSD project" +HOMEPAGE="http://www.sndio.org/" +SRC_URI="http://www.sndio.org/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="alsa" + +RDEPEND="alsa? ( media-libs/alsa-lib )" +DEPEND="${REPEND}" + +pkg_setup() { + if ! use alsa ; then + ewarn "alsa output disabled, no local output" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0_p20120925-configure.patch + + eapply_user + + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable alsa) \ + --privsep-user=${PN}d \ + --disable-sun + + tc-export CC +} + +multilib_src_install_all() { + dodir /var/lib/sndio + newinitd "${FILESDIR}"/initd ${PN}d + newconfd "${FILESDIR}"/confd ${PN}d +} + +pkg_postinst() { + enewuser ${PN}d -1 -1 /var/lib/${PN} audio +} diff --git a/media-sound/sndio/sndio-1.4.0-r1.ebuild b/media-sound/sndio/sndio-1.4.0-r1.ebuild new file mode 100644 index 0000000..a8fe1d3 --- /dev/null +++ b/media-sound/sndio/sndio-1.4.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs user multilib-minimal + +DESCRIPTION="small audio and MIDI framework part of the OpenBSD project" +HOMEPAGE="http://www.sndio.org/" +SRC_URI="http://www.sndio.org/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="alsa" + +RDEPEND="alsa? ( media-libs/alsa-lib )" +DEPEND="${REPEND}" + +pkg_setup() { + if ! use alsa ; then + ewarn "alsa output disabled, no local output" + fi +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0_p20120925-configure.patch + + eapply_user + + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable alsa) \ + --privsep-user=${PN}d \ + --disable-sun + + tc-export CC +} + +multilib_src_install_all() { + dodir /var/lib/sndio + newinitd "${FILESDIR}"/initd ${PN}d + newconfd "${FILESDIR}"/confd ${PN}d +} + +pkg_postinst() { + enewuser ${PN}d -1 -1 /var/lib/${PN} audio +}