summaryrefslogtreecommitdiff
path: root/media-radio/unixcw
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-15 23:36:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-15 23:36:27 +0000
commit31c69c39a3648b52dd931a40b198714249e8a5ec (patch)
treec7bfb4db01cf185b6b8f7bde72d9cc5d14d8db22 /media-radio/unixcw
parentdce60e5aa0a12ccc07c10a0a2c3f8f063393b32a (diff)
gentoo auto-resync : 15:02:2024 - 23:36:26
Diffstat (limited to 'media-radio/unixcw')
-rw-r--r--media-radio/unixcw/Manifest3
-rw-r--r--media-radio/unixcw/unixcw-3.6.0-r1.ebuild77
-rw-r--r--media-radio/unixcw/unixcw-3.6.0-r2.ebuild78
3 files changed, 0 insertions, 158 deletions
diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest
index 523748321354..878bcf4cd690 100644
--- a/media-radio/unixcw/Manifest
+++ b/media-radio/unixcw/Manifest
@@ -1,7 +1,4 @@
AUX unixcw-3.6-tinfo.patch 1226 BLAKE2B 139f81ffeec979517523c72ca1724ad280976160f4857640913a0e4a85595ca01e1a08b2043520fe7099974f5b8ca63812c851146b4c447b9325d43c58e9abd8 SHA512 8a4e217118a5bce1b87d7f2ab2a57ba43903da82f03bcc467dcec37a8cb673f576e778ddec1a26ed4a3edd151f75f1728dcfc01565d9c7134e360908e0bcc413
-DIST unixcw-3.6.0.tar.gz 870148 BLAKE2B 4eca3fe63ce7aec43e16ecca8120018e1bda6541f707ac9857db1f9dc6181a53ee24c7328f0a1f97a6aa1993600d68d9313e0567c12dfcf7a061837885aaefcb SHA512 17abdfaeb2b4e7459e1efd93f5f85a8ed89fde06e5b8d23d83c9f1c76888bc9048af1a8adc9c030f560e94e0dd0576b3a30bf040fece4d13e001d01734d6338b
DIST unixcw-3.6.1.tar.gz 975795 BLAKE2B 5bc7822d216bef2ac452593c0e9dc537f2dfcd31f446c8795abc76d1d2ccfd4010a3b95982bc404ddc4c974456177e9f54bdefc169a14110bb503fd539025b07 SHA512 d91457b9b2247ce2be75773e2c37ca8b69c75c42c187ddfac5a9a8f4c9ad16acae3e4b0223e885bf7ae9c7201869581becd444f32c375ac521d2a712b7ddfb69
-EBUILD unixcw-3.6.0-r1.ebuild 2075 BLAKE2B fbfa2165a917552c988647edf4524a29db5d928d055c42643fb8b77246ea5d2e51d93cfc92586270ed5349ca9b5c9a76527909753defbcadf9cee4e2b41e8071 SHA512 a907bb5c048413109d6a2edf75e75b4172f69e3308dda9025d5dbaab43851166744cbefe0cc8ec4846c3bbdf302f44bd108dd5559de666d3db27bbf4d380bbf6
-EBUILD unixcw-3.6.0-r2.ebuild 2051 BLAKE2B 2bf1c1e2d8d8c4173795456df20839c538a627762a4526960ba90f6a96d7e583d7f76e3a48313ca652c1d1d3d90c3a295544e1f7d18884b44a9959cdecab0cab SHA512 bf7b479148f4f98a1a25791632117ddd8a37fe459f4c29bfc3253dd9b1d7b8ea8080ba72398c2d7b7c7fd47839ab07cb2140f492f1cbedcd2418bb12c3a8d401
EBUILD unixcw-3.6.1.ebuild 2048 BLAKE2B e5bca7b254a703ba1bcbe0af3ae05ff8344a28eb085861f9b4204142aa6ce0bcc5517941cb96f5ff9a7797987b46ff18e7707b3625ec051d8b32e3da8461d96e SHA512 73c2bdd679c1646e082d2a79134d9f66816087d1ba8dd1eda6759ee5fca73a6218a521b122971da5821662e813d048e6506ca9a20d5b8149f70228c68f97f6be
MISC metadata.xml 875 BLAKE2B 582b1ba40e9424d308e33d5f2bf430e270a2d4d106aeffec3d03e1736360758776f5aa8a8d0078aa03c0e4ca8ea206b9805be2223db69282bca0cb752c531314 SHA512 07b92861370f28e4723e48d75dac80e3517c7a944f7a4ac07e6afc75f80871b6ca6a4904d042bd79bce1dfcd81b74d3b85a25b0eab3f8c83dac7742f6fb10219
diff --git a/media-radio/unixcw/unixcw-3.6.0-r1.ebuild b/media-radio/unixcw/unixcw-3.6.0-r1.ebuild
deleted file mode 100644
index 306665c76e36..000000000000
--- a/media-radio/unixcw/unixcw-3.6.0-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Collection of programs that fit together to form a morse code tutor program"
-HOMEPAGE="https://unixcw.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc x86"
-IUSE="alsa ncurses pulseaudio suid test qt5"
-RESTRICT="!test? ( test )"
-
-RDEPEND="ncurses? ( sys-libs/ncurses:= )
- qt5? ( dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5 )
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-build/libtool"
-
-src_prepare() {
- append-cflags -std=gnu11
- append-cxxflags -std=gnu++11
- eapply -p0 "${FILESDIR}"/${PN}-3.6-tinfo.patch
- # Bug# 837617 and 858278
- sed -i -e "s/curses, initscr/ncurses, initscr/" \
- -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- econf --libdir=/usr/$(get_libdir) \
- $(use_enable pulseaudio ) \
- $(use_enable alsa ) \
- $(use_enable ncurses cwcp ) \
- $(use_enable qt5 xcwcp ) \
- --disable-static
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- find "${D}" -name '*.la' -type f -delete || die
- dodoc ChangeLog NEWS README
- if ! use suid ; then
- fperms 711 /usr/bin/cw
- if use ncurses ; then
- fperms 711 /usr/bin/cwcp
- fi
- if use qt5 ; then
- fperms 711 /usr/bin/xcwcp
- fi
- fi
-}
-
-pkg_postinst() {
- if use suid ; then
- ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
- ewarn "by setting USE=suid."
- ewarn "Be aware that this is a security risk and not recommended."
- ewarn ""
- ewarn "These files do only need root access if you want to use the"
- ewarn "PC speaker for morse sidetone output. You can alternativly"
- ewarn "drop USE=suid and use sudo."
- else
- elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
- elog "you want to use the PC speaker for morse sidetone output."
- elog "You can call the programs via sudo for that (see 'man sudo')."
- fi
-}
diff --git a/media-radio/unixcw/unixcw-3.6.0-r2.ebuild b/media-radio/unixcw/unixcw-3.6.0-r2.ebuild
deleted file mode 100644
index 5355f6edb083..000000000000
--- a/media-radio/unixcw/unixcw-3.6.0-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Collection of programs that fit together to form a morse code tutor program"
-HOMEPAGE="https://unixcw.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
-IUSE="alsa ncurses pulseaudio suid test qt5"
-RESTRICT="!test? ( test )"
-
-RDEPEND="ncurses? ( sys-libs/ncurses:= )
- qt5? ( dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtwidgets:5 )
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-libs/libpulse )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
- dev-build/libtool"
-
-src_prepare() {
- append-cflags -std=gnu11
- append-cxxflags -std=gnu++11
- eapply -p0 "${FILESDIR}"/${PN}-3.6-tinfo.patch
- # Bug# 837617 and 858278
- sed -i -e "s/curses, initscr/ncurses, initscr/" \
- -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die
- eapply_user
- eautoreconf
-}
-
-src_configure() {
- econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
- $(use_enable pulseaudio ) \
- $(use_enable alsa ) \
- $(use_enable ncurses cwcp ) \
- $(use_enable qt5 xcwcp ) \
- --disable-static
-}
-
-src_install() {
- default
-
- if ! use suid ; then
- fperms 711 /usr/bin/cw
- if use ncurses ; then
- fperms 711 /usr/bin/cwcp
- fi
- if use qt5 ; then
- fperms 711 /usr/bin/xcwcp
- fi
- fi
-
- find "${D}" -name '*.la' -type f -delete || die
-}
-
-pkg_postinst() {
- if use suid ; then
- ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
- ewarn "by setting USE=suid."
- ewarn "Be aware that this is a security risk and not recommended."
- ewarn ""
- ewarn "These files do only need root access if you want to use the"
- ewarn "PC speaker for morse sidetone output. You can alternativly"
- ewarn "drop USE=suid and use sudo."
- else
- elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
- elog "you want to use the PC speaker for morse sidetone output."
- elog "You can call the programs via sudo for that (see 'man sudo')."
- fi
-}