summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2012-08-06 15:34:30 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2012-08-06 15:34:30 +0000
commitc2a6f13815392d3fc9e29b379ea57f29e1116812 (patch)
treed86c7ea0ace713499ece57ae66fb70a0450420ab /media-radio
parentPackage moved from net-wireless to sys-firmware, bug 429868. (diff)
downloadhistorical-c2a6f13815392d3fc9e29b379ea57f29e1116812.tar.gz
historical-c2a6f13815392d3fc9e29b379ea57f29e1116812.tar.bz2
historical-c2a6f13815392d3fc9e29b379ea57f29e1116812.zip
Version bump
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/unixcw/ChangeLog8
-rw-r--r--media-radio/unixcw/Manifest51
-rw-r--r--media-radio/unixcw/files/unixcw-3.1.1-config.patch103
-rw-r--r--media-radio/unixcw/unixcw-3.1.1.ebuild73
4 files changed, 210 insertions, 25 deletions
diff --git a/media-radio/unixcw/ChangeLog b/media-radio/unixcw/ChangeLog
index d58cf3e12bcf..b0e6019674dc 100644
--- a/media-radio/unixcw/ChangeLog
+++ b/media-radio/unixcw/ChangeLog
@@ -1,6 +1,12 @@
# 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.6 2012/06/21 06:11:00 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.7 2012/08/06 15:34:30 tomjbe Exp $
+
+*unixcw-3.1.1 (06 Aug 2012)
+
+ 06 Aug 2012; Thomas Beierlein <tomjbe@gentoo.org> +unixcw-3.1.1.ebuild,
+ +files/unixcw-3.1.1-config.patch:
+ Version bump
*unixcw-3.0.2 (21 Jun 2012)
diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest
index 1d0819dd8cfa..b435a39a76a7 100644
--- a/media-radio/unixcw/Manifest
+++ b/media-radio/unixcw/Manifest
@@ -1,29 +1,32 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX unixcw-2.3--as-needed.patch 527 RMD160 47d2b22e6c8b211abae913e32576408a6a2c8a69 SHA1 ffae50431bc25e4b4b9f9264c0aef44300a82316 SHA256 b72add7559a0a9df10adc0efa885377ac02ccc2fa840366c1185cbb2485c35e8
-AUX unixcw-2.3-audio.patch 5083 RMD160 178b53cafb61c8c0d6888b6e35e00b358e249ef5 SHA1 81c30aadf69aba3c7d2d6e666288b1babde295aa SHA256 ef07fd4fb3dddfe4f350b770996c8f612a804fbf0b0156c9fe7bef9e1c04209f
-AUX unixcw-2.3-config.patch 3761 RMD160 3c768f236b28840bfadba4865cc9c67eaef97695 SHA1 6fb542cd888fdae76e12f80946dacc30298e46c3 SHA256 aeb49365292721894afc7a4df61abff0e0b053e8d934951e200ec70dc8abf150
-AUX unixcw-2.3-destdir.patch 480 RMD160 40579e2f3ff874cfd98ca18f2956451e4a197e5a SHA1 926ff70e9067f74c14919b7519b7b99579d51534 SHA256 ba6c84abcaebe9c16cdac636626bbd3c74a7afc6d115985767377878c13ca64c
-AUX unixcw-2.3-fPIC.patch 1866 RMD160 fd3dcaa906a308d15baa738dca5f01e3767cd6dd SHA1 c5ad38457125086d56526de28022ca68c9350dbd SHA256 2cd8aa8759df1c40742c57f5e65c2a9093c587e83345e01a26ac8f46c5953053
-AUX unixcw-2.3-gcc43.patch 609 RMD160 d7621b42cae777043c6f8153373ac9f04ddda291 SHA1 6cf8137de464d0b6063822cf3edca0f950afd0f9 SHA256 7ae894241793ead8b00d6ff48b3a19da61e4f344a2136d0a538e66f3dbeb1f2b
-AUX unixcw-2.3-ldflags.patch 1440 RMD160 d198c5325152b93822a0a3d59516b48c7b6d53f2 SHA1 741a61a083d350d84743f6cde9c18923c7d2acb5 SHA256 41d40ceb0accb8c971bbc69eb00d7c17aa2d62ed8d907d46a310f3ec3b6ff662
-AUX unixcw-2.3-parallel-make.patch 1200 RMD160 302a1947d21a3b1013d124edc380fcaddbbb7272 SHA1 a15e1bc58c64421b93a73c9ff46dfdbeb2d3a6f6 SHA256 53b8c6e12de88ed2c915617206220350c3e08eebd83d748469bc23c801ed108c
-AUX unixcw-3.0.2-config.patch 5517 RMD160 94321a3ac37221338ad7c1d218d4973b1a4babe4 SHA1 edc4249e5fadf5b2564e3e93f40d3d2d0c71c7d1 SHA256 8e58063b86e77b9594a494224cb199f86888c654d01cb746da0d365c71c858dc
-AUX unixcw-3.0.2-destdir.patch 563 RMD160 9e23dbeec4feba0bce726b372d33be8f40f995eb SHA1 f76ea82a817f776ff51c433c3a7fbb4d969c0420 SHA256 0cab9cc2f03e2d95a533438221e0b09c5a952c98e56f009fdea080ab5939a57f
-AUX unixcw-3.0.2-parallel-make.patch 1506 RMD160 96ef41bae851358deed86b6984bbcadc37b39b16 SHA1 9ed0eec680bd011716b422d704bd59e6421632b9 SHA256 968bc3581b4e7c84e509c10dcb3ba7f6beba68eaea0d9ea7b7da8a7c39fd8a89
-AUX unixcw-3.0.2-qt4.patch 615 RMD160 59831c14a35fbaac0f01cb691d7fde8565a96f56 SHA1 0880ad3c927e6cb7bada6a3927172c78c05ff476 SHA256 c7a75c70c06d4abc3e2f866eff011defa1732f110bb15a5023a9414ddf757690
-DIST unixcw-2.3-qt3to4.patch.gz 5784 RMD160 773ee78118be6e726b888121c3e322fbd72e48a7 SHA1 87bdeba22fffcd4d62517744ba03cc1c7ad1fb7d SHA256 db4dd65951e39179abf6b2fdc69c9bdd166902cf402f768f117bde1e9872b263
-DIST unixcw-2.3.tgz 202048 RMD160 1ba7944d7a7fc92adf7ed1a83d706546e9eaa8be SHA1 2aece1e4b0660618537a94561344dd97026b7924 SHA256 124c60c6c7ef596a7c96c94a0e76204c7d986373564121155f0f206ad71f30a0
-DIST unixcw-3.0.2.tar.gz 240132 RMD160 8d10c61cdd950b6c356c75cab8ea47715d4ddd0a SHA1 dd748962130e2f9a5b3dfcd2b02869b355b0b5d8 SHA256 1578b0e37c51ebf2668ea4683ed7edf0e114e7dcc2a6296349ca705bc6ec2602
-EBUILD unixcw-2.3-r6.ebuild 2221 RMD160 4802cc6797cb0d3c22bd1c8f4e399952c3d2e594 SHA1 59fe2db0a047923d7f13480b76138a03f5309cd4 SHA256 c80724f00fbd6a5ecfc1dd2503c3aa0a4dca1adc15ec8b6cf12a960bbcff2d45
-EBUILD unixcw-3.0.2.ebuild 1848 RMD160 8de412618e6992683cb30d4b8968699325183442 SHA1 0543b02faac26d58eb23d411ecd003fb26e87d5a SHA256 c790f3cbcdb567b927d33ecd576d931587363298a9724b31c82edd4d20a917e9
-MISC ChangeLog 1393 RMD160 29b40c5e18cf8afd29aaa37ffb1f2c2aeca98109 SHA1 86d20e27ca431805a741dd049d877ca8e49a0fa0 SHA256 824ac8b8d432fa335765dc20336d85f630386adf228974f602db5a0a14c031a1
-MISC metadata.xml 784 RMD160 f63bc134a7fe48ecb470501d79e035a82e1ef0d1 SHA1 f28973bbb093e5e92939d8da9486d6a78f58fa3f SHA256 6af0355085de2e93c560cc28dc7ef512cb901f7d52aa1e420d78c1327dc94e34
+AUX unixcw-2.3--as-needed.patch 527 SHA256 b72add7559a0a9df10adc0efa885377ac02ccc2fa840366c1185cbb2485c35e8 SHA512 2560285e4dc7d9924fd87e6f10916b9b822e652c4af05b7a870382819582a8ecdab80237a57edcdaa66c42fb45ced5c3e362615d57e97dbdfadfc0871b6305cb WHIRLPOOL 0bf5138ca7bb96f1160346324c54bbd65ef55b6337382bce695909953eb72877b2b78f30dc7e4d406a47658d49c5ce7664f8e46c5dee737ded24cc87b94a8f74
+AUX unixcw-2.3-audio.patch 5083 SHA256 ef07fd4fb3dddfe4f350b770996c8f612a804fbf0b0156c9fe7bef9e1c04209f SHA512 de4c3640a45396bda6b1896308c2bb8515abcc3943c9a27edbd2e34bbfd95c8e1d04c4410eff26e48cdc3a7f318ecdcfb960934d2d1ec8e8cdb14101f22edaa5 WHIRLPOOL 6af513571aebfe67af23225523e1f3196dbd59a0287d4bc1c09322e96fdf1938e7913aab91e1e7a284a7bcea6a8f0544685c6cba8700e1832b59ed4dcfd5825a
+AUX unixcw-2.3-config.patch 3761 SHA256 aeb49365292721894afc7a4df61abff0e0b053e8d934951e200ec70dc8abf150 SHA512 da90069c7c8ff66076df259177fb0d661c60d5da560a7da6a8393b8c7597a05e6d658c5d138f8bdcbc7670877ca2e4d806b989be670aa7eda78e20ca4a6cf6c1 WHIRLPOOL 61c0c2bc5dfe438c12ce8811a89fc7a0dfd26fda1f69ad81dc6d18fc137cdca0ab0211887e5fb765f689c2a021d49c4f409f08ff3d32a330cd146276bb015ef7
+AUX unixcw-2.3-destdir.patch 480 SHA256 ba6c84abcaebe9c16cdac636626bbd3c74a7afc6d115985767377878c13ca64c SHA512 779c0ebea7dd7eeddd3a99ea41ddd231833ae379340b6f41d73e4b474f0ec730a9e9b51d39bf53f9ab3837b1a3edead10e795d9fdd6b786a9fd00d6ced1599cf WHIRLPOOL 9be47c89e8eb4cbc2fe89e84ff1697aadc1fd11e19000e6f57cc977adde68b90a48f914c28d95f1a14ef08d21f8735ab5c582ddaabfaea4c092da6e1957ffbf9
+AUX unixcw-2.3-fPIC.patch 1866 SHA256 2cd8aa8759df1c40742c57f5e65c2a9093c587e83345e01a26ac8f46c5953053 SHA512 938de339e4176474efde4033e9937cb69d4ce034dfe8c56dc25ae2e9676d61efb8b9e562204bd087d7d6b1434bf0e639afb928a2a146becdfd6c8df475e331db WHIRLPOOL 416f2dfaf0a00e218e9b764d3cc9b6f55427a2fef4ad9ed3b6adba7bd695db41bde41e5d7d9be3de05385d219ca94552f0c6bb76a7fb7d34d6f7d55083f20987
+AUX unixcw-2.3-gcc43.patch 609 SHA256 7ae894241793ead8b00d6ff48b3a19da61e4f344a2136d0a538e66f3dbeb1f2b SHA512 7379440d2261dcbe7e1e7b5f2b5ccf82b96bf83afe21b447286e4312fd0f52e2ced8bafefabd8e034a4a90140ae68dadc6acbb5e6a1868e0251a1cf692f568df WHIRLPOOL 7a407a0891c42d266ae3a2e752ffe0fa0c7c65bca2f44180e502d1b7c9153df08eca6c94877615481400e4ebe30f90efc511dc021b4e6abdeffbf5e3602c4cef
+AUX unixcw-2.3-ldflags.patch 1440 SHA256 41d40ceb0accb8c971bbc69eb00d7c17aa2d62ed8d907d46a310f3ec3b6ff662 SHA512 b2e3a46b8a29ca70e0ff01c6251402ae78e3f3e7d766665d784d3fc9d51d222e2bdabf70d3b3dfa69792407c0dee522707618845e3b210b07309a4a7d21de1c7 WHIRLPOOL 2a444531aa4a00b1979cdeb831f5ce25e53079c9648e8b3619a7a69cfd32f24d5bc0183362ece047be1c4563e5c76665241779c3c45241243f375e8d1b47b2ac
+AUX unixcw-2.3-parallel-make.patch 1200 SHA256 53b8c6e12de88ed2c915617206220350c3e08eebd83d748469bc23c801ed108c SHA512 4b733977709b11c23aa28eea49c724379954e8e4b0e8dc7a3b5f0e6dcf1a8959654f3cf0cb60ce2b07b29b8225555585be6126e2c7dc6a8f62c507ab418bdff7 WHIRLPOOL 721afb45e16dfe670caff3fae0761ab5cd2ec5f0ff7a384a98dcb86582469273022d9486952822b76d1110f874d445055b82ec9069ebb9a06fae262acf002baa
+AUX unixcw-3.0.2-config.patch 5517 SHA256 8e58063b86e77b9594a494224cb199f86888c654d01cb746da0d365c71c858dc SHA512 3df93da1781e86475fa34ef9e93220eb409498a9fbdbca6b677edab6edd1ed2a89944934c8789e66519cb013f11a236aacb300004e0b19ed7a5d85b2e5034f7a WHIRLPOOL e2d0561c2300c6186bb6e8773be5d7fafe3e75b042b306412f3d1ea11fe726ca2d336eaa364c9143bcedcc1700213d2762fc29cccac705a37aea6d190a365957
+AUX unixcw-3.0.2-destdir.patch 563 SHA256 0cab9cc2f03e2d95a533438221e0b09c5a952c98e56f009fdea080ab5939a57f SHA512 2a394919067b76d1750448bd9dcb481f8c0dcb10618ae9365324b46a7b7841218a631af5083dd419f2ed01c5cf28d1588b026eec05b40aa310ba3c24d24417af WHIRLPOOL d2f8674e29fb17ae2022189670304a02611577ce22e55f8c096c6e44f8b2d47cdf4708bbb71653ed454eaa4cc693fb4d501e3174c61d1dd2c368ec2ba78de507
+AUX unixcw-3.0.2-parallel-make.patch 1506 SHA256 968bc3581b4e7c84e509c10dcb3ba7f6beba68eaea0d9ea7b7da8a7c39fd8a89 SHA512 b75edfa46075cad0ff137bf8558ba5316a38ffd6dcafeb07ed06da6acadcb62b9486825421994d95aae6c398f25853539cc0aac30bc7bd26a146469fab14c012 WHIRLPOOL 3eb1d8a97c5f4c3d6abe7ebebbb7d3e7c90d81a15f0653d1e9a6148311286dd9ce8d921f8b551e8e548b4bfcd35854a3d99fa0df3db0fc9e68f4acd722334ed1
+AUX unixcw-3.0.2-qt4.patch 615 SHA256 c7a75c70c06d4abc3e2f866eff011defa1732f110bb15a5023a9414ddf757690 SHA512 4007b60019d3f8251802cc43abdd29ea1ed467a365d224c8493725e4ba7ba65eaba705d23a9323e0956741a11f71624e8c4c1ed624118f926644ad3df9284ea9 WHIRLPOOL f49b30d0b4fc7cefc1ed34c2b16ad7d147d45a4fcc2b72ef81416c0cefed0c4357b3982485856fe69a6255abe232bf6226b5e3cda4a39086b2027def2428cc13
+AUX unixcw-3.1.1-config.patch 3092 SHA256 55d9662052abc849693ef516e3c918e46293963bf83078a56f78b14e9967cfe2 SHA512 f0e67ab739315b1853584a43f2d2e64068c77039e9dc209e46f303251486cf9cbee855833b11469f1b5db1472a9b54b190fabf91a7ab65b121daf70a08097e61 WHIRLPOOL a233f829a626186e713bcb3c20a2c1ba0992ca89dbecfdf8cea2e9ac216d171a9f9a91d92b4f9c009a663592a66d0c9d6746a88b2ba2688d4be4f064489cd028
+DIST unixcw-2.3-qt3to4.patch.gz 5784 SHA256 db4dd65951e39179abf6b2fdc69c9bdd166902cf402f768f117bde1e9872b263 SHA512 ec478c1bbfe471fd18c0113fd218d0d3bdcdb857a89f7571be6ceb2d2e371fce04316925ebfdf8cdfc6c9b16c890d2500edf0626c83dbc172956745e8877ae31 WHIRLPOOL 94c248396b5cfd6ba90f86e39c24cbc2ed97b9dab04c9ebc2e0aa67249747815fe8c0ec173c7b9acddae1545fc8dd2af6d67922f53b8846dc777a74560eb3e9f
+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
+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
+MISC metadata.xml 784 SHA256 6af0355085de2e93c560cc28dc7ef512cb901f7d52aa1e420d78c1327dc94e34 SHA512 fcb7fb4460c687fc144e5dfbacbfb73ccbc5bcf32159c740b3d318804d9a7255a5c394ebc1ea5b25a526d90f13778d52440dbbf6bc9436c59c8aa2b6605fcbc4 WHIRLPOOL 32d5d7f8ea94ae6781ce5c2619ba30f910557b9cfbda6454e11e5965f2c672d291545aa44dac753c2606f74eb6a52e332633928574d9c073eea1506dd265a095
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk/iuwcACgkQQe4uqXYgU9UEfQCgj9OhWDoybe+3zH2BLmZdtq1O
-QqsAoN+/tWdvdIrfBSzEbtuw69xe/ooy
-=/NjK
+iEYEAREIAAYFAlAf5BIACgkQQe4uqXYgU9UTRwCfekllGykLRT0r+MWcUnKEDKxG
+GHEAoKzQP0nzZigol03xNw4nM792+D6k
+=1clC
-----END PGP SIGNATURE-----
diff --git a/media-radio/unixcw/files/unixcw-3.1.1-config.patch b/media-radio/unixcw/files/unixcw-3.1.1-config.patch
new file mode 100644
index 000000000000..4e81e3ac75cd
--- /dev/null
+++ b/media-radio/unixcw/files/unixcw-3.1.1-config.patch
@@ -0,0 +1,103 @@
+# Fix wrong conditional logic
+--- configure.ac.orig 2012-08-05 18:19:57.000000000 +0200
++++ configure.ac 2012-08-06 17:20:50.000000000 +0200
+@@ -101,11 +101,11 @@
+
+ # disable_alsa - 'no' by default
+ AC_ARG_ENABLE(alsa,
+- AS_HELP_STRING([--disable-alsa], [disable support for ALSA audio output]),
+- [disable_alsa=yes],
+- [disable_alsa=no])
++ AS_HELP_STRING([--enable-alsa], [enable support for ALSA audio output]),
++ [enable_alsa=$enableval],
++ [enable_alsa=yes])
+ AC_MSG_CHECKING([whether to include ALSA audio support])
+-if test "$disable_alsa" = "no" ; then
++if test "$enable_alsa" = "yes" ; then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+@@ -114,11 +114,11 @@
+
+ # disable_pulseaudio - 'no' by default
+ AC_ARG_ENABLE(pulseaudio,
+- AS_HELP_STRING([--disable-pulseaudio], [disable support for PulseAudio audio output]),
+- [disable_pulseaudio=yes],
+- [disable_pulseaudio=no])
++ AS_HELP_STRING([--enable-pulseaudio], [enable support for PulseAudio audio output]),
++ [enable_pulseaudio=$enableval],
++ [enable_pulseaudio=yes])
+ AC_MSG_CHECKING([whether to include PulseAudio audio support])
+-if test "$disable_pulseaudio" = "no" ; then
++if test "$enable_pulseaudio" = "yes" ; then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+@@ -127,11 +127,11 @@
+
+ # disable_cwcp - 'no' by default
+ AC_ARG_ENABLE(cwcp,
+- AS_HELP_STRING([--disable-cwcp], [do not build cwcp (application with curses user interface)]),
+- [disable_cwcp=yes],
+- [disable_cwcp=no])
++ AS_HELP_STRING([--enable-cwcp], [build cwcp (application with curses user interface)]),
++ [enable_cwcp=$enableval],
++ [enable_cwcp=yes])
+ AC_MSG_CHECKING([whether to build cwcp])
+-if test "$disable_cwcp" = "no" ; then
++if test "$enable_cwcp" = "yes" ; then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+@@ -140,11 +140,11 @@
+
+ # disable_xcwcp - 'no' by default
+ AC_ARG_ENABLE(xcwcp,
+- AS_HELP_STRING([--disable-xcwcp], [do not build xcwcp (application with Qt4 user interface)]),
+- [disable_xcwcp=yes],
+- [disable_xcwcp=no])
++ AS_HELP_STRING([--enable-xcwcp], [build xcwcp (application with Qt4 user interface)]),
++ [disable_xcwcp=$enableval],
++ [disable_xcwcp=yes])
+ AC_MSG_CHECKING([whether to build xcwcp])
+-if test "$disable_xcwcp" = "no" ; then
++if test "$disable_xcwcp" = "yes" ; then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_RESULT(no)
+@@ -219,7 +219,7 @@
+
+
+
+-if test "$disable_alsa" = "yes" ; then
++if test "$enable_alsa" = "no" ; then
+ WITH_ALSA='no'
+ else
+ AC_CHECK_LIB(asound, snd_pcm_open)
+@@ -246,7 +246,7 @@
+
+
+
+-if test "$disable_pulseaudio" = "yes" ; then
++if test "$enable_pulseaudio" = "no" ; then
+ WITH_PULSEAUDIO='no'
+ else
+ AC_CHECK_LIB(pulse-simple, pa_simple_new)
+@@ -265,7 +265,7 @@
+
+
+
+-if test "$disable_cwcp" = "yes" ; then
++if test "$enable_cwcp" = "no" ; then
+ WITH_CWCP='no'
+ else
+ AC_CHECK_LIB(curses, initscr)
+@@ -279,7 +279,7 @@
+
+
+
+-if test "$disable_xcwcp" = "yes" ; then
++if test "$enable_xcwcp" = "no" ; then
+ WITH_XCWCP='no'
+ else
+ # autodetection of Qt4 dependencies
diff --git a/media-radio/unixcw/unixcw-3.1.1.ebuild b/media-radio/unixcw/unixcw-3.1.1.ebuild
new file mode 100644
index 000000000000..210b5cc6d4cb
--- /dev/null
+++ b/media-radio/unixcw/unixcw-3.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/unixcw-3.1.1.ebuild,v 1.1 2012/08/06 15:34:30 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
+ epatch \
+ "${FILESDIR}"/${P}-config.patch
+ # 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
+ 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
+}