diff options
Diffstat (limited to 'media-radio/unixcw')
-rw-r--r-- | media-radio/unixcw/ChangeLog | 9 | ||||
-rw-r--r-- | media-radio/unixcw/Manifest | 10 | ||||
-rw-r--r-- | media-radio/unixcw/unixcw-3.2.0.ebuild | 72 |
3 files changed, 85 insertions, 6 deletions
diff --git a/media-radio/unixcw/ChangeLog b/media-radio/unixcw/ChangeLog index b0e6019674dc..646cb542e084 100644 --- a/media-radio/unixcw/ChangeLog +++ b/media-radio/unixcw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-radio/unixcw -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.7 2012/08/06 15:34:30 tomjbe Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.8 2013/02/07 16:29:26 tomjbe Exp $ + +*unixcw-3.2.0 (07 Feb 2013) + + 07 Feb 2013; Thomas Beierlein <tomjbe@gentoo.org> +unixcw-3.2.0.ebuild: + Version bump *unixcw-3.1.1 (06 Aug 2012) diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest index b435a39a76a7..11d2c7b75dae 100644 --- a/media-radio/unixcw/Manifest +++ b/media-radio/unixcw/Manifest @@ -18,15 +18,17 @@ DIST unixcw-2.3-qt3to4.patch.gz 5784 SHA256 db4dd65951e39179abf6b2fdc69c9bdd1669 DIST unixcw-2.3.tgz 202048 SHA256 124c60c6c7ef596a7c96c94a0e76204c7d986373564121155f0f206ad71f30a0 SHA512 9c8b037b7849e6637385cd2b4e074252cdad9140a79d1e2f7576c4da5883ef551fcfe9fdace79d1b9fbf7c453bf500523c7aaa9e0c6a38e85fd33fb2a6797435 WHIRLPOOL 87b6a3e22e1332be915567c3f74a843e9ac674fda64ff04f86d68b38e3879b78e37138ba9aea94ad1b06941fd5504c0b7e3bd702574091add137752e4a14e50b DIST unixcw-3.0.2.tar.gz 240132 SHA256 1578b0e37c51ebf2668ea4683ed7edf0e114e7dcc2a6296349ca705bc6ec2602 SHA512 5141ab2e89563bba8c8d982db81c0b7870db0ebb648b6c3a9e7adaba31d840f8d17cf124c0cbeb977e95ae5bf14f6a0bd35b1be84e6fc5f74a67ba65fd2920cb WHIRLPOOL 401bccaa71ba197f0fbf882b99148347c0a257df768fdb3b21453ae6975b6c1fe82dfa67dc9795d3e4446bdd99b904d07dc8e819ee449927c75269596e6b7b38 DIST unixcw-3.1.1.tar.gz 587093 SHA256 25c355fa437589d22d4f101e58ba968c8de41ef34d99b17b5ad984a442adf60c SHA512 86be7b7c242a486c69279ba853a35fa0d2776530f87fc7a95c59bcfd06c4d04d548bd4d076dcc0c8d79b82b087dd8a7e3fc49b9bbcafd836ce117f9f9802a037 WHIRLPOOL 7817f98db7c9c905c9756d4070fae632ca29aa0ba62726946ea0e82053064493268cbf5e0636a8426a75c613dd09688866d926cbe305bb56dad43d59960a318c +DIST unixcw-3.2.0.tar.gz 623406 SHA256 c1ba9c90741e82c311223dc05f2a54e3dc23e0661d73097cc9b9a7fbd7a50023 SHA512 39a09eca2c6f9f8721048a849f32a9c89d9311267492be85b6e914a221c4be117cf61f80a5c5fbdc296efa7d2525f4633c09be91be926dcc1fca71b46e0ec1d9 WHIRLPOOL 5744902b99977fc60912639779ef66bbdd52cb6787d2d82abeead47a46e248506172f4cfbf05c7c9a9622eee8f949f9cef0bf8fa0c276353e1e8f74e195dd6a0 EBUILD unixcw-2.3-r6.ebuild 2221 SHA256 c80724f00fbd6a5ecfc1dd2503c3aa0a4dca1adc15ec8b6cf12a960bbcff2d45 SHA512 801d3cc1c8604ad034536cc1d120545934ad0ed911bba541bfa6e38e86d9b253e69c24a4628e5acbf9659df7e0e119e30dc22803918e4841219affe2192117d1 WHIRLPOOL 9a979dbda575b5029f90258fec88b78556231379595844c2ac37cd063bf2c34e256dcb510ea79015a1b4094cef602bf9b2be0601d78dd02313f9416bf679f502 EBUILD unixcw-3.0.2.ebuild 1848 SHA256 c790f3cbcdb567b927d33ecd576d931587363298a9724b31c82edd4d20a917e9 SHA512 a1cee296a25daf4f829b6882d4322487b9e3febd32a612871f0866ce3ddbc9d49a63a8a3f4d217e6ee50c6db237a3677b14ace39fcc542d69861a26a8ff22831 WHIRLPOOL 2e43ee41b0baa7c9c2ce250c69bda53897d74ec394baf5453e02ce85d2fa8433eb0cbeb73e03225e017e3fb77b875797563db1571c7c24386887a9fe94774754 EBUILD unixcw-3.1.1.ebuild 2036 SHA256 150853cdd1123c1b9124f28df40cb5d0eb20a0bec721aeac4a7a7d604279f733 SHA512 42a66bbd747164a4710896477c7591fbdfd5fc3899b7a1a8b5c9e5b60748f7bea86a3441e2ea510183edaed48dfd14cdd743175144fcccc88b91282cf02baab7 WHIRLPOOL c726aae02aac032dc0b58a3dcf70fbc7f7890a4948556f0412a4f87eb02379e883dcfff2db88ed6cd248a271dd46159d6a60c1d81ae728f3a968fd53309a7b29 -MISC ChangeLog 1548 SHA256 f4840963be34982eb244da5f3c25af3f8c4fb38a18703fbd057a09b476dad748 SHA512 db6fa06d3c805ec32f68e94e21467a9ea6237503f60df48740f0cc22ab06aa539d4b57cc7cdcccc6f7edb07631081ed11c775f5c1c6c6408f253b933b3caed71 WHIRLPOOL 5fc36b8aa71774b6ddf39a99e6eefad5c87c47394c60bf1cdeeed95ce230c422ebcd6ad0a1162e086ced92a21934936ccecf9b2d549b09fe9510024752a8746e +EBUILD unixcw-3.2.0.ebuild 2013 SHA256 924dfb727b81bc8f8f9fd6823e5701ed884c27707accf0824e4215596a6480a9 SHA512 2e1fa94a2cc7a355d6b82b1ec0770fdd9588f220b0295151cbff5955a2aae98a800b3c105eb74b3021ee0e96bfb0e90a8cb119cdd4bda0702335e2f4ae9f2a7b WHIRLPOOL 933e9243e1050f9dbd947ebbe44f89ec3b71f644dc1492aad5400bcc44247de01d0b6e11f0f54f7241cf58c3c77af87ab34b677d13cad0f34da0030a9ac0d6eb +MISC ChangeLog 1667 SHA256 27f5c60ce22e631c1c5685b0eedc17d56ee3e6a6ec7117ae76b52a91d72b89f8 SHA512 d801e9e1a97f58064f89e4d74a3dce33937964842da986281878bf96597ba468b37651846b957d77797d9bf849d01307279947651f8c114c5c364b525a8e6510 WHIRLPOOL a629fbb8b9d9c650b9c34517c147b2c4b97b4e09b1bead18fee7595fc1bd6d72c02b5a3b82c6214b2b2458ace53abf0f6b08d67ce5db2704b5914673996e0a17 MISC metadata.xml 784 SHA256 6af0355085de2e93c560cc28dc7ef512cb901f7d52aa1e420d78c1327dc94e34 SHA512 fcb7fb4460c687fc144e5dfbacbfb73ccbc5bcf32159c740b3d318804d9a7255a5c394ebc1ea5b25a526d90f13778d52440dbbf6bc9436c59c8aa2b6605fcbc4 WHIRLPOOL 32d5d7f8ea94ae6781ce5c2619ba30f910557b9cfbda6454e11e5965f2c672d291545aa44dac753c2606f74eb6a52e332633928574d9c073eea1506dd265a095 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlAf5BIACgkQQe4uqXYgU9UTRwCfekllGykLRT0r+MWcUnKEDKxG -GHEAoKzQP0nzZigol03xNw4nM792+D6k -=1clC +iEYEAREIAAYFAlET1m4ACgkQQe4uqXYgU9VGXwCfapMTs5aMLmf1ujyWoAlTSqL0 +HPMAoME+jTL2iYJdnAN1BtmF6WHOxNR+ +=UXk3 -----END PGP SIGNATURE----- diff --git a/media-radio/unixcw/unixcw-3.2.0.ebuild b/media-radio/unixcw/unixcw-3.2.0.ebuild new file mode 100644 index 000000000000..4ed450c24999 --- /dev/null +++ b/media-radio/unixcw/unixcw-3.2.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/unixcw-3.2.0.ebuild,v 1.1 2013/02/07 16:29:26 tomjbe Exp $ + +EAPI=4 + +inherit autotools eutils flag-o-matic multilib + +DESCRIPTION="A package of programs that fit together to form a morse code tutor program." +HOMEPAGE="http://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 qt4" + +RDEPEND="ncurses? ( sys-libs/ncurses ) + qt4? ( x11-libs/qt-gui:4[qt3support] ) + alsa? ( media-libs/alsa-lib ) + pulseaudio? ( media-sound/pulseaudio )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/libtool + !<=app-misc/cw-1.0.16-r1" + +src_prepare() { + append-cflags -std=gnu99 + # add path to qt4 libs + sed -i -e "s#LDADD = -L#LDADD = -L/usr/$(get_libdir)/qt4 -L#g" \ + src/xcwcp/Makefile.am + eautoreconf +} + +src_configure() { + econf --libdir=/usr/$(get_libdir) \ + $(use_enable pulseaudio ) \ + $(use_enable alsa ) \ + $(use_enable ncurses cwcp ) \ + $(use_enable qt4 xcwcp ) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files + 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 qt4 ; 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 +} |