diff options
-rw-r--r-- | media-sound/alsa-tools/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/alsa-tools/Manifest | 20 | ||||
-rw-r--r-- | media-sound/alsa-tools/alsa-tools-1.0.29.ebuild | 143 | ||||
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/alsa-utils/Manifest | 20 | ||||
-rw-r--r-- | media-sound/alsa-utils/alsa-utils-1.0.29.ebuild | 76 |
6 files changed, 245 insertions, 32 deletions
diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog index b4a65bb98a18..3ceccfecb81c 100644 --- a/media-sound/alsa-tools/ChangeLog +++ b/media-sound/alsa-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/alsa-tools -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.229 2014/11/23 14:57:56 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.230 2015/03/25 11:51:03 chainsaw Exp $ + +*alsa-tools-1.0.29 (25 Mar 2015) + + 25 Mar 2015; Tony Vroon <chainsaw@gentoo.org> +alsa-tools-1.0.29.ebuild: + Version bump, as requested by Manuel Rüger in bug #541798. 23 Nov 2014; Agostino Sarubbo <ago@gentoo.org> alsa-tools-1.0.28.ebuild: Stable for sparc, wrt bug #522038 diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest index f3ae647fd10a..d96081e93d60 100644 --- a/media-sound/alsa-tools/Manifest +++ b/media-sound/alsa-tools/Manifest @@ -4,24 +4,16 @@ Hash: SHA256 AUX envy24control-config-dir.patch 593 SHA256 6cc8c284109839102a12a11de0e834865aa860460d3e387d71a9ae013ba8e1f9 SHA512 267be12fb2d9d561cc2746317beaf5168362005cb98a55d3efe5741dcd974b088bfa049f2ed185919083fe2e24596eec67de2f2984da5369b9aa0eac983b5cef WHIRLPOOL abcc73750027f595b70fa9471334d5bc3b0f326e7847d6fd12ef0ad1107435af8f3236ad5e9b4ab89a9091cd97e1c87258f635137959d3136c3e7780e12394eb DIST alsa-tools-1.0.27.tar.bz2 1650746 SHA256 6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2 SHA512 aad985329e5649b5bd7c142e95c5d1c415f28bac1afb81ad21fedac76e736d18abe4aa129e798650d91b2dd14fb18f3960ed5218768c689319c2360c432b4589 WHIRLPOOL 0d827aee4219e393c61a55920e3d66eb4e208e9d3d93ac9c1bf208c5c0c8cdf2d58f63d70b534458f3542cd3cbd5478129d73aecc57ce6654bc43f0bc73c0f25 DIST alsa-tools-1.0.28.tar.bz2 1675680 SHA256 76e59711c6d0f39cbddce83ce1ed8da00bad112fee021f94fa990d8685cc3761 SHA512 b5150edb5f5124d5ec256b7c3348207da1bb9847ab2f10297171d6a43f559a31429ef96608a2c670db75d269dd940ebf2b6e3cbfafde530de25cbd95dce31af2 WHIRLPOOL 20f8acf8edf3fa82f19e4098c520c155a87966272d769f29a6208b25fc80a831a6cfdb3c748406ced643b5de7fa4cfb43f3a62d634fd90512369b1f57ea9cb92 +DIST alsa-tools-1.0.29.tar.bz2 1715439 SHA256 94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1 SHA512 c236e105106e65b9f02e5baed536fa33f8efcff21a75470127e2edacf0bbb3ec555131e146d9dbfc8da307355b372e7c2acaf8edaa98dc7880abd484fbdb2813 WHIRLPOOL 19d34f425ad45d540a0ccd2ae2c77bae810ee6039250f57296c280156c6e6ed8d3788f306975f6b06b8b3f377e714d644aed08c177bd9d83acf352ccb939a47d EBUILD alsa-tools-1.0.27-r1.ebuild 3858 SHA256 9e6871a7de4268d54d6cff8d13dac688feb7668da08270ebcc505ec9d3d71c21 SHA512 2f10cd9e0767197bf8a5db6d3e07a51be6bc3f575edc7914eb4a893c8253f2b6bc7d48cab9c1bac90ea2c82576d5ab2d9fcb721c71e6985126c7bf244517a646 WHIRLPOOL b3418ec49cfce5c2aa4ca8e2eeead324f15f7234e13e03748e57c535e500a784eb21d24fedafdddc84f8cf60cfa550dcf99597eb2364d8558db25ba8596e6430 EBUILD alsa-tools-1.0.28.ebuild 3613 SHA256 f1e0aa712ac076a365fbf0a3a6747956bf9de5f469bc038aff6a17c16e339830 SHA512 a20a42bf00715dbf1ec2df0199469220356bfb15c37fa712fb144e7a4d88cc3fc909128f8f5b484370168c56228c5ef61ef56ed7ecf6e0ed3241a865e76447b0 WHIRLPOOL 2214f8ae8e4ff14ab3e1206f71e6e6837c9689f0015f2071609bb8e4ececfbc63b5397ea6e3ad2dfbce3d9055ed449a73f52daacbf7d7a263acd9752e300bef1 -MISC ChangeLog 33466 SHA256 42c17f1d896d0cce937aeb9e82c01c4c64c5fd9da380b5d6d782ec23ebe7c396 SHA512 fdd3c0f221fc2b95cdaa01d837e8c52d75693654a61a6c0d1f6f27ba2e205279780a55cddae98b627287aacd1a0596ba3c09c1b8e06aec65c4beb0668194c89a WHIRLPOOL 6fa64694373e1b4303edf3b04de16704954b1d6c567b5dba2c85b1e79180a02fef2efd206122e90395101c2555222e00f7f870404cc51fade18b38293287009e +EBUILD alsa-tools-1.0.29.ebuild 3623 SHA256 60d5680cadca00ef77a48cd29635c80b86ed6ea36c6f12056ca5d1548c872360 SHA512 716dcb21db49c8d9f55b74dbbd3bb540189f78c7c38ac9811738cd99298080797b2947b397b09a8a51cc977030c2b5cd0cdfb5b1f2d14e4ecc9dd1bc95093e23 WHIRLPOOL 4020e61388675f8f54d2f1987b40826b1cb0d3164c91a0a5ce1ce42c631428bc250de78c4a39c69bc1d4a30aaed6d3194886bd5021b932346b2454b5015af295 +MISC ChangeLog 33643 SHA256 0d82494c35fbf2a8057295d1a1d542f01266e72abc5578359bc3e1b2b8e05539 SHA512 db261ab505ce50218d04698f4da30a336d2fb116e196324be978126483ef04523de8faaf1086b0e70ed912a5cb125041083665822160eed866a953359a536b95 WHIRLPOOL 5aec274630e92ba5a1c5221d2da52cae5be0e2ba82f326448bf9e8f3ba2a13f2c61d90dfc696909731b15c223050f3bd6412a1288f0105efb626d6e1a4abfe70 MISC metadata.xml 230 SHA256 1f81ba2d193a0ca53dcedb87b01a28851a9d7b14d77db3b2c2647330f4ba6f00 SHA512 88eb296bc7f80d8c2a2f7145401f37e13a89d84bb87a267d4f7c0e6f9caae43747fb9a92de96fbdc5c3ba6a25e861148a5c9b1a20f588b06ecb2fbbb9555f35f WHIRLPOOL 7d2facc317d281f6e251013e28c23c66a50a8e555ab143485615072016dce537aa487b7873baea11f9124e64770aa543962be57937654f7a93b461d38ce9694f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUcfX1AAoJELp701BxlEWf4nUP/1vetkVHn8ml9dwHaU4oPf4t -P221mrbPe4adINasKRBYz6rTHtMtySVNr6pqqJ3CaGcDMeiGukaa0VCwCy7zeujs -Vtj/Lq9MSWHqWH5pa/SwiARRQxlDKDZ/bGChyI+GTd/lzUOIaXxCnDzowDeUznCa -v2iiSWENDqGY6T5N9wIacM45ZVoK8a9My7M5k6amSXPwATA0rTz79X3XKGEO3fUr -WduVhu7/x/yoUmrUAmiLcZUDFGGURUzJwvfFwwxfwDFNUchnnc7AwUoZHnXzBNX2 -3k0iqG1qDiCcV20rbxh3ERv4wEISLfGHw4aXgLqlipWEqwhMPD+AcD/YyLRIc+YD -ruGNwtfTdoLk7fOhcsiGNXLjDhUjgFlc1pHscZGu3rwmHCHC3Ly6JYhsyWuVHZTL -okK8Jh6y9pre49axVrE03dVVF1Gm7R88Z0JocCoD48epI91Yzy1dkiDVJ4hqhb8X -xWWVuYqhHbJT273qnVdmIVEvGDV+xhPutqNxTK8I6Repx5N+YRvQTHxNFZlUPO46 -ronpavOZ+JdAG4T4XNeSe5iaGEvhPh1yjPXQjh2vEqHJy4gJxolBcodu8flILVPr -RWxYTx5z4V7OLoFoEbKaibvFGnGAobln22P10jGf919nlKkptXB5DvB2FExSJMl9 -MmpEHmgrb4X2+fpofC6l -=slcs +iEYEAREIAAYFAlUSoScACgkQp5vW4rUFj5qgSgCdEI/qUae1RbiqYsTBdv9e0e8S +IQkAn0ia1AbvLDtEdJlrihiDi4+H0je3 +=5Xw4 -----END PGP SIGNATURE----- diff --git a/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild new file mode 100644 index 000000000000..067ba1448cc1 --- /dev/null +++ b/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.29.ebuild,v 1.1 2015/03/25 11:51:03 chainsaw Exp $ + +EAPI=5 +inherit autotools eutils flag-o-matic + +DESCRIPTION="Advanced Linux Sound Architecture tools" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="fltk gtk alsa_cards_hdsp alsa_cards_hdspm alsa_cards_mixart +alsa_cards_vx222 alsa_cards_usb-usx2y alsa_cards_sb16 alsa_cards_sbawe +alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ice1712 +alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sscape alsa_cards_pcxhr" + +COMMON_DEPEND=">=media-libs/alsa-lib-${PV} + >=dev-python/pyalsa-1.0.26 + fltk? ( >=x11-libs/fltk-1.3.0:1 ) + gtk? ( + >=dev-python/pygtk-2 + x11-libs/gtk+:2 + x11-libs/gtk+:3 + )" #468294 +RDEPEND="${COMMON_DEPEND} + gtk? ( media-fonts/font-misc-misc )" #456114 +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +pkg_setup() { + ALSA_TOOLS="seq/sbiload us428control hwmixvolume hda-verb" + + if use gtk; then + ALSA_TOOLS="${ALSA_TOOLS} hdajackretask" + use alsa_cards_ice1712 && \ + ALSA_TOOLS="${ALSA_TOOLS} envy24control" + use alsa_cards_rme32 && use alsa_cards_rme96 && \ + ALSA_TOOLS="${ALSA_TOOLS} rmedigicontrol" + fi + + if use alsa_cards_hdsp || use alsa_cards_hdspm; then + ALSA_TOOLS="${ALSA_TOOLS} hdsploader" + use fltk && ALSA_TOOLS="${ALSA_TOOLS} hdspconf hdspmixer" + fi + + use alsa_cards_mixart && ALSA_TOOLS="${ALSA_TOOLS} mixartloader" + use alsa_cards_vx222 && ALSA_TOOLS="${ALSA_TOOLS} vxloader" + use alsa_cards_usb-usx2y && ALSA_TOOLS="${ALSA_TOOLS} usx2yloader" + use alsa_cards_pcxhr && ALSA_TOOLS="${ALSA_TOOLS} pcxhr" + use alsa_cards_sscape && ALSA_TOOLS="${ALSA_TOOLS} sscape_ctl" + + { use alsa_cards_sb16 || use alsa_cards_sbawe; } && \ + ALSA_TOOLS="${ALSA_TOOLS} sb16_csp" + + if use alsa_cards_emu10k1 || use alsa_cards_emu10k1x; then + ALSA_TOOLS="${ALSA_TOOLS} as10k1 ld10k1" + fi + + use gtk && ALSA_TOOLS="${ALSA_TOOLS} echomixer" +} + +src_prepare() { + epatch "${FILESDIR}"/envy24control-config-dir.patch + + epatch_user + + # This block only deals with the tools that still use GTK and the + # AM_PATH_GTK macro. + for dir in echomixer envy24control rmedigicontrol; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + # This block deals with the tools that are being patched + for dir in hdspconf; do + has "${dir}" "${ALSA_TOOLS}" || continue + pushd "${dir}" &> /dev/null + eautoreconf + popd &> /dev/null + done + + elibtoolize +} + +src_configure() { + if use fltk; then + # hdspmixer requires fltk + append-ldflags "-L$(dirname $(fltk-config --libs))" + append-flags "-I$(fltk-config --includedir)" + fi + + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + case "${f}" in + echomixer,envy24control,rmedigicontrol ) + econf --with-gtk2 + ;; + * ) + econf + ;; + esac + done +} + +src_compile() { + local f + for f in ${ALSA_TOOLS} + do + cd "${S}/${f}" + emake + done +} + +src_install() { + local f + for f in ${ALSA_TOOLS} + do + # Install the main stuff + cd "${S}/${f}" + # hotplugdir is for usx2yloader/Makefile.am + emake DESTDIR="${D}" hotplugdir=/lib/firmware install + + # Install the text documentation + local doc + for doc in README TODO ChangeLog AUTHORS; do + if [[ -f "${doc}" ]]; then + mv "${doc}" "${doc}.$(basename ${f})" || die + dodoc "${doc}.$(basename ${f})" + fi + done + done + + # Punt at least /usr/lib/liblo10k1.la (last checked, 1.0.27) + prune_libtool_files +} diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index b60868858735..abf438917d7f 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/alsa-utils -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.381 2014/11/23 14:57:49 ago Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.382 2015/03/25 11:47:16 chainsaw Exp $ + +*alsa-utils-1.0.29 (25 Mar 2015) + + 25 Mar 2015; Tony Vroon <chainsaw@gentoo.org> +alsa-utils-1.0.29.ebuild: + Version bump, as requested by Manuel Rüger in bug #541798. 23 Nov 2014; Agostino Sarubbo <ago@gentoo.org> alsa-utils-1.0.28.ebuild: Stable for sparc, wrt bug #522038 diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index c3211da60558..18ae3addb62c 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -11,25 +11,17 @@ AUX alsasound.initd-r5 2099 SHA256 daf46bbc4156a82e0c6c7135ee94b31a3dfb6d366fcf3 AUX alsasound.initd-r6 2313 SHA256 5fdcb0212bf8a4be74f410534534fdda6dd8d57df0d2a6c4a158464f705fed18 SHA512 a0997f5934c6680cae250133bc51633487492d367f9031cb39850520e1685c47571a432976dda09d3c2f574b839011284ee413d3dbef6866ceaa8e3feaca522e WHIRLPOOL 258070418f10866f0ea37714ee385dc81dda25dcb8e1e4eb4e1a4f16e32a8c89da402501e02da43b2ecb2c98c7c1f5dec53da24e676c6615569b4d1b5845236e DIST alsa-utils-1.0.27.2.tar.bz2 1143802 SHA256 02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea SHA512 c9a4943852ec1a71a5a8d2c99e1df0ba96a5d9d1196cabfdb6655f58c6a9a5a9d40dea62de019f5ed0fad0885800403c48a4a6c86b67af7fbd842097881c2bd6 WHIRLPOOL 9e95c37f307498bb9a7829fd721bf54888f3fe9ec78f014702cc26493e81369a44b571f1f5e65b3e32dbde926f97ab1152e22cf66fdff17be209e61ae34d9d46 DIST alsa-utils-1.0.28.tar.bz2 1146887 SHA256 f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc SHA512 faa5abf3f066106c80d019944efa2298e2d3157469c1c7bc52deb9aa1bcd5f5439a2e22b04ad9210e292fcef97bdacc27aa75fc275d0d7cae2c2f88729c84786 WHIRLPOOL d58587d9f302f3f1a7ab4de45c3889ce82e5be782e4aa9a953c39a908a4693e99c8ea9aeeb5669f0f606d980983beb7d5fc53e4c76ce1bb76500c7c2bcb45013 +DIST alsa-utils-1.0.29.tar.bz2 1154497 SHA256 5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b SHA512 0d83805aa7b1c975524cc5ecd4aa6eb36126bc434458f9e9475e4bd1b14bbb4bf9691096ca7973342a3798e97a361451c078f4595f8f4275db64d6b443ca5928 WHIRLPOOL ccad5115148045e0c5f139d70306e801e250aa3946f60d9cd0a47c84c72f6d8689e53105030589309c98ddd4a7b871bb8dc03f00fcc3d46cc3e08c4718299407 EBUILD alsa-utils-1.0.27.2.ebuild 2309 SHA256 8c9f5f6575c898477858600bd09d413da2d5fbfbee2c6b0c337b8ed9d576dc16 SHA512 ef2d293a0b18456fdfba956753d5cc0867d96df2dea2562a3daf428f60cd770e5385bf94bdf9edd03dc8dec1af7c590ead959b2982b35c4975468be1b01baae4 WHIRLPOOL 9e86a49fd16209ff01f65de20f185eac15524274f3237baf0ec873e74b0ff26b19751ca239c40dd1db95f0170d431938fc055cf5774f6f990b6c47334e3784e2 EBUILD alsa-utils-1.0.28-r1.ebuild 2414 SHA256 88824840447545a770477d82942f4573eb7ebeb8c99c92b6f580ca070efa66a5 SHA512 ca80127514ad0fb7b158cc2cad53ced2e7259056d4018525b217e15694dc9c069b59e900f97f860139850b8f88bc54890aa54528e41820e2f0e2c97aa2cfd245 WHIRLPOOL a655a1991f3b7b4023109aa5f7e2ce85b6cbc0bcbf314a7ddfda691103ae6b3724020874e8e787742c177ed75cd1fab020c3613910e650b0d961137f5418eeec EBUILD alsa-utils-1.0.28.ebuild 2301 SHA256 b47340f238375ca350dae27bca1f700a903e12fbaee318eb232ee028080b1a91 SHA512 4e5bd6c1d2c8e849b34c96065a7a2b4ed113f521e3f0096d7affbdc1804aafe0c853167f532bdcd6439adef1b8daf69e66e81f4453dd5b0e38e45870488b2b80 WHIRLPOOL b4e02a085653c2a43e1cf8584ea78969137d4a682f4445676d2c60b9b5030ea07004e3bc4e6f52b39d98353369e309cee653f732346da702531891a866cde738 -MISC ChangeLog 58865 SHA256 eda9ac949097d4afa691c7cb5a5941f7fb498441f9e9ee54d4160d913f20ed5a SHA512 9a1ed775fd9761683a8cb5bdc9c42c8e27ff275a5786120db244f8d1612ec51a124a4f50c644d4931449dcb0a8b2fe7ff9371a8ad842789f15a979429b40de20 WHIRLPOOL 093e7007eb311890351c4345f6837422d3a0ad0c7a19e54018b636318526df1e847d43667aa32f17b44c6c38abdd20d2fdd064d9d1e42e2d70d8444a3a1a2214 +EBUILD alsa-utils-1.0.29.ebuild 2272 SHA256 3fdbf9126c15dee945690cfce43271111d42f070354668202491684f8ce0116d SHA512 e83329559a8e7cc07f9f2a2423f0ff4e167f2edc5a7a880a979c6de4a715d1c2782f338f04e9ede1839218d606fbe6c227b89239e903cce71501ce3de0cc0e68 WHIRLPOOL 35b7fd8a88d2674c8273994e0180541a8d9872b40c496e4b9c950de1096c8903d625c8bef89c8300271952f48dc0dab185fe733fc090a9d4ba606169a8647cda +MISC ChangeLog 59042 SHA256 7c502d9ea36cd6b8f5cc56c487019f10dd18edbf73bad9fb8bfd27424519148c SHA512 6d458156b6c0c1eff660e01bf46384eeb4bb37b331175933ed9cdba31e9b290511622ff734ea5654ed65f8835544793f2fd61a896d0ba264b081125b8604c434 WHIRLPOOL 4317e6dbf2dece877731bc42553db876a57c016e7de3ed2c95f9d15ac9d1324757c82150c908fb0681766b5cdc5858f2e9ea6966bad240d203dbd794f5cf43c1 MISC metadata.xml 418 SHA256 5283e8e4df90b1d6dee867370ca08668ff9cadf333f2af896b260d66cd772dcf SHA512 337fdc5a670690722273d2c7aaa5c0b7a44f4a167f8ac22f860680c544e97b04c34816dbbca6d2cf44236a99890f0767534496795a4e9727b3dc735585c3298f WHIRLPOOL 3e2ba0b9cab5298ccdff2522b03079b85f8016bca115ff354196d84793312cda732ef984cf6cd68bfc09cab16bd66f11c14e5a0a7c2898c9ca23db563cc6407a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUcfXuAAoJELp701BxlEWf3usQAJhGXS7XYgDUr2TPB/phVEWD -Qq/vr8rE8BPeZxnJRLw7mUqTMlDC0ENCTJiEg1o6b9Yse3r48DkAEb3AGw8Sg5gP -iVg29or3UFebWT0bg1M9QgYn2LoDLsOcaVYtPGB8iRAqbDMZqjNfpLmcAvicBHt8 -opeF9xhR/y5BdcNGZkKIOjJaU2Qmi6HiJaVELMQo0Gi6A54oTijPUNO5BMl/cmLI -8k/QIs77rf16NHy4GwPTVugenIJym+1hE2iT/Yemji3HgT+XMCLfGULWo+iKQz3C -htnmWK4JxE+CdB3JOd7Sbmu00U/syD4eiGq3BwwclcBslYwnDeMYSRVXYqkVRZcG -5DKgHIyYg77sxutmGDZZjxIh6aWoX56NaQp8hgBeaFs7ZiKrE4uvt7BuFW2kplpl -8uG+D9b2dA+VK56ijDjOiYEn35bAZZV/ZegNutPVhv4xLykFFtvo5z98kDp+CnDe -enWeLJL1VpVbzjjY7V2cXYEzYAAW5mrTYVzpJXvbVSVaWJlHZQdljkfCNIi/64hx -SUjTKcOoEBvpN3jW9zGbfYaLa4Z0Vva/QNPOHs33kXdrhYQ7ggrQeHnfmoIcjig0 -BG/WKpNS7B7MtzZQ1ZvxzbT5mVWbFlMuogwKy22ZSJqWkTWEkd/W2KO9IrALfPQT -jUellp104Vh0/B7zhAez -=d/kb +iEYEAREIAAYFAlUSoEQACgkQp5vW4rUFj5q0KwCeMkb70tPTqEwr+ilWX800tL1v +IgMAnRe9s3EmcbkkB8ChsHu8CE/fwHJY +=OzkH -----END PGP SIGNATURE----- diff --git a/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild new file mode 100644 index 000000000000..96c286776370 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.29.ebuild,v 1.1 2015/03/25 11:47:16 chainsaw Exp $ + +EAPI=5 +inherit eutils systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="doc +libsamplerate +ncurses nls selinux" + +CDEPEND=">=media-libs/alsa-lib-${PV} + libsamplerate? ( media-libs/libsamplerate ) + ncurses? ( >=sys-libs/ncurses-5.7-r7 )" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-text/xmlto )" +RDEPEND="${CDEPEND} + selinux? ( sec-policy/selinux-alsa )" + +src_prepare() { + epatch_user +} + +src_configure() { + local myconf + use doc || myconf='--disable-xmlto' + + # --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214 + econf \ + --disable-maintainer-mode \ + $(use_enable libsamplerate alsaloop) \ + $(use_enable nls) \ + $(use_enable ncurses alsamixer) \ + --disable-alsaconf \ + "$(systemd_with_unitdir)" \ + --with-udev-rules-dir="$(get_udevdir)"/rules.d \ + ${myconf} +} + +src_install() { + default + dodoc seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r6 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + insinto /etc/modprobe.d + newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} |