From 2a3e0d61b3d88306b6fae46756f9ba7d230222ae Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Dec 2024 02:01:50 +0000 Subject: gentoo auto-resync : 13:12:2024 - 02:01:50 --- app-misc/kryoflux-dtc/Manifest | 2 +- .../kryoflux-dtc/kryoflux-dtc-3.50_p2-r1.ebuild | 118 +++++++++++++++++++++ app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild | 118 --------------------- 3 files changed, 119 insertions(+), 119 deletions(-) create mode 100644 app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2-r1.ebuild delete mode 100644 app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild (limited to 'app-misc/kryoflux-dtc') diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest index 96f5f60941bc..a636503e8ae4 100644 --- a/app-misc/kryoflux-dtc/Manifest +++ b/app-misc/kryoflux-dtc/Manifest @@ -2,5 +2,5 @@ DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 6eb0bc7a166950bfedb32da466c17125 DIST kryoflux_3.00_windows.zip 18211783 BLAKE2B e50cfc196d37216a7c929c4aa915b5cfeb7f38805076aed4e1bbc9dbfcc946fce18db0a2e2020d77cf581e2df174f2e3b6eb2b3d9060795501b1769d258ad05d SHA512 afa42fd3460d796dd3694059a86484ea94ab3084c52dc18d6f14e5b790d66e0f13514fbe2efc5c32abd3e471cdb0ac10cc3f7bafcdfb41371a6caddda83e2a00 DIST kryoflux_3.50_linux_2.tar.gz 15309688 BLAKE2B adc315fb29c35b7e16f07ebf9bbd7f8939d92fd5db875f8bd3ed77b8a6d69a895c4be5c94eda571844a01e06f3c594c11a7f08632a259abb7192daffa66bad09 SHA512 91d821fab98a7582d299c9783076e438921621193d87712d676472f588a43a0d6394187f203a939619c8336c45650ec6e9f9f5f45dc4255d56c16f512af98352 EBUILD kryoflux-dtc-2.6-r3.ebuild 2582 BLAKE2B 1c2e93de9e4d0c9875f7790d439b6548958ceea5a6f6b09f429a9a6f5935fb2c83212db4ae70c01cf387fbef44c05267749d71f435f45ac93efe3867b736a39f SHA512 1ada41066276011c96dd2e4c239ce2c845c063338bb8a02897b8211af2cc5b5bf540c69fc2015e799c5821f796c9a1407503001e71944961c64b941472a6b6fe -EBUILD kryoflux-dtc-3.50_p2.ebuild 2728 BLAKE2B b6b90f7e020c3103cb9adaaefd41dc0cd7dd716b421e437f2cec506e33f9fba4ccd37627ef702ac2840aa2551d7b1c51d8f8f6c5b153591f7cc22ed83dbdb6be SHA512 54ec5561fc3bf411da8f7d05e6f5a3681543636d59e6ff5c595d99ddca4b76f1cd5da02c454c7f481202535798e8ee0ddf6c456476a731818334cf9070a26804 +EBUILD kryoflux-dtc-3.50_p2-r1.ebuild 2732 BLAKE2B f385dde09d8c6fe92174ae0a3b5c33275497bec59063192c606b6de184a94458468be8fa6d78c6351d21cd73b402a4a96a13d6995be1cda5b0422532309ca1b8 SHA512 07ae47308ffe5af78ef259c80a7a8a10e2b347ce0846e6f7e022e0dd066ac0c59e08e1df516e203b47cbb8b387bfb08c26f4b7ad75629c2c5405b140391b41e2 MISC metadata.xml 413 BLAKE2B 1cb4e2bd2cc707542fde7a9c04ec455a349eb521f26bc2704a873578ff574dfaf8f74721c86ad9cfdd174b218ef31836098f889c0f8fc5c43ba9be75279740ee SHA512 f16d5eb1ae4f08cbf0876dd461bdbe8bae6d804790589b293f5998cfc7dd630e7e9e8b17183cdd658b47ae8fd8a37a76b750f868245007817209cb3a7590e2e2 diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2-r1.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2-r1.ebuild new file mode 100644 index 000000000000..b70bb530a9ce --- /dev/null +++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="$(ver_cut 1-2)" +MY_PV_DTC="3.5.0" +MY_P="kryoflux_${MY_PV}_linux_$(ver_cut 4)" +MY_P_DTC="${PN}-${MY_PV_DTC}-Linux" + +inherit desktop udev wrapper xdg-utils + +DESCRIPTION="KryoFlux Host Software" +HOMEPAGE="https://www.kryoflux.com" +SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.gz" +S="${WORKDIR}/Linux_Release${MY_PV}" + +LICENSE="SPS" +SLOT="0" +KEYWORDS="-* amd64 ~arm64" +IUSE="demos doc gui" + +RDEPEND=" + "${T}"/80-kryoflux.rules || die + ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660" + EOF + udev_dorules "${T}"/80-kryoflux.rules + + if use gui; then + insinto /usr/share/kryoflux-ui + doins dtc/kryoflux-ui.jar + + dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc + make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" /usr/share/kryoflux-ui + + newicon ../images/disk.png kryoflux-ui.png + make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui Development + dodoc dtc/kryoflux-ui_README.txt + fi + + if use demos; then + pushd testimages + dodoc -r g64_demo ipf_demo + docompress -x /usr/share/doc/${PF}/g64_demo/BBSB/*.g64 + docompress -x /usr/share/doc/${PF}/g64_demo/DOTC/*.g64 + docompress -x /usr/share/doc/${PF}/ipf_demo/*.ipf + popd + fi + + if use doc; then + dodoc -r docs schematics + docompress -x /usr/share/doc/${PF}/{docs,schematics}/*.pdf + fi + + einstalldocs +} + +pkg_postinst() { + elog "If you want to access your Kryoflux without root access," + elog "please add yourself to the floppy group." + + udev_reload + + if use gui; then + xdg_desktop_database_update + xdg_mimeinfo_database_update + fi +} + +pkg_postrm() { + udev_reload + + if use gui; then + xdg_desktop_database_update + xdg_mimeinfo_database_update + fi +} diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild deleted file mode 100644 index 5bf63a64383d..000000000000 --- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV="$(ver_cut 1-2)" -MY_PV_DTC="3.5.0" -MY_P="kryoflux_${MY_PV}_linux_$(ver_cut 4)" -MY_P_DTC="${PN}-${MY_PV_DTC}-Linux" - -inherit desktop udev wrapper xdg-utils - -DESCRIPTION="KryoFlux Host Software" -HOMEPAGE="https://www.kryoflux.com" -SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.gz" -S="${WORKDIR}/Linux_Release${MY_PV}" - -LICENSE="SPS" -SLOT="0" -KEYWORDS="-* amd64 ~arm64" -IUSE="demos doc gui" - -RDEPEND=" - dev-libs/libfmt - virtual/libusb:1 - gui? ( virtual/jre ) -" - -BDEPEND="app-arch/unzip" - -DOCS=( "RELEASE.txt" ) -RESTRICT="bindist mirror" -QA_PREBUILT=" - usr/lib64/libCAPSImage.so.5.2 - usr/bin/kryoflux-dtc -" - -src_unpack() { - unpack ${A} - unpack Linux_Release${MY_PV}/dtc/$(usex amd64 x86_64 arm64)/${MY_P_DTC}.tar.gz - use gui && unpack Linux_Release${MY_PV}/dtc/kryoflux-ui.jar -} - -src_prepare() { - default - - # Remove whitespace for demo files - pushd testimages - mv "G64 (C64)" g64_demo || die - mv "IPF (Amiga, Atari ST)" ipf_demo || die - popd -} - -src_install() { - newbin ../${MY_P_DTC}/bin/dtc kryoflux-dtc - - # We need to use bundled libs instead of 'dev-libs/spsdeclib', - # as source code is currently not released. - # See https://forum.kryoflux.com/viewtopic.php\?p\=17105 - dolib.so ../${MY_P_DTC}/lib/libCAPSImage.so.5.2 - - insinto /lib/firmware - doins ../${MY_P_DTC}/share/dtc/firmware_kf_usb_rosalie.bin - - cat <<-EOF > "${T}"/80-kryoflux.rules || die - ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660" - EOF - udev_dorules "${T}"/80-kryoflux.rules - - if use gui; then - insinto /usr/share/kryoflux-ui - doins dtc/kryoflux-ui.jar - - dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc - make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" /usr/share/kryoflux-ui - - newicon ../images/disk.png kryoflux-ui.png - make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui Development - dodoc dtc/kryoflux-ui_README.txt - fi - - if use demos; then - pushd testimages - dodoc -r g64_demo ipf_demo - docompress -x /usr/share/doc/${PF}/g64_demo/BBSB/*.g64 - docompress -x /usr/share/doc/${PF}/g64_demo/DOTC/*.g64 - docompress -x /usr/share/doc/${PF}/ipf_demo/*.ipf - popd - fi - - if use doc; then - dodoc -r docs schematics - docompress -x /usr/share/doc/${PF}/{docs,schematics}/*.pdf - fi - - einstalldocs -} - -pkg_postinst() { - elog "If you want to access your Kryoflux without root access," - elog "please add yourself to the floppy group." - - udev_reload - - if use gui; then - xdg_desktop_database_update - xdg_mimeinfo_database_update - fi -} - -pkg_postrm() { - udev_reload - - if use gui; then - xdg_desktop_database_update - xdg_mimeinfo_database_update - fi -} -- cgit v1.2.3