New media-sound/sndio and up2date awscli

This commit is contained in:
Stefan Reimer 2017-07-20 16:46:00 -07:00
parent f2eda76b24
commit f04911a43c
10 changed files with 324 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST awscli-1.11.122.tar.gz 548362 SHA256 10fdda95bfee3a21338bbd9b60174d26e86dbfbdeeead320b03ed49aba2f24ec SHA512 ac174aab74cb3d1ebe4459f99bf0f1b1186d35867d640d34f86f551543edf7b3594c2fc429e94240db6cdf9c28edbac7053339431c06f2a4d5ea70b0bc3e4b94 WHIRLPOOL 3ea668877b24702fad8704fc9105c4c5421b675ded3cb4a29984eeb6e764a28678063aa03b88ea2c177d1617d87b75a1978836e7fb9f0d4204e15982066008e6
EBUILD awscli-1.11.122.ebuild 680 SHA256 a86dbb20ee4932720fe0d2edcaa028ac4d5cd207cd1a2e03b84bd26ba1b404f5 SHA512 a104b83875ec64d827c6f5215bfccce0f9cf2af9504a309ffbc13e95bf1cdbb859a45cb95ab39b5ffce6662b13629d666f71abaa6a12ecb5928d3527d0f859d5 WHIRLPOOL a8c5f39b6a5f0ecc39f4ea2322f3fd6295f7dac54e1510cc8a99df5cf490c0f7180ac579891266989c8f656ac147a2c94d1948a2fb2c8863ba3341c08126fa16

View File

@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="http://pypi.python.org/pypi/awscli"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-python/botocore[${PYTHON_USEDEP}]
<=dev-python/colorama-0.3.3[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
<=dev-python/rsa-3.5.0[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.1.5[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"

View File

@ -0,0 +1,3 @@
AUX desktop.patch 672 RMD160 6e7c03360623581aa450bea3b3c4b4372ede3482 SHA1 84aef5b66c03219f778906217fc02e3530b4eec4 SHA256 4ad550c3c20bb8ade6fa1973135a0503accd4615cf759d5141844258fbc79836
DIST deadbeef-0.5.6.tar.bz2 3279899 RMD160 3f5cdbbcba58c2796f797917559c7e2ee45ab709 SHA1 eb371392ed9604045081ede87c2c9daed522eef0 SHA256 17c123eb50e33c89403d8d3035b9132463a227a6905fd42bcbb2a3a5616cea5b
EBUILD deadbeef-0.5.6.ebuild 4362 RMD160 96ef0219e253d8993ce20f2bb9b6bcf24d1d1694 SHA1 59e8f560fb3cb5324b2e003b72b475e3701b3123 SHA256 26e68e1881a5a3f302ae82f1fe7119968431cadde8d24038a91fa08a2566d85c

View File

@ -0,0 +1,173 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit fdo-mime gnome2-utils versionator
MY_PV="$(replace_version_separator 3 '-')"
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.bz2
http://sourceforge.net/projects/${PN}/files/${PN}-${MY_PV}.tar.bz2/download -> ${PN}-${MY_PV}.tar.bz2"
KEYWORDS="~x86 ~amd64"
DESCRIPTION="foobar2k-like music player"
HOMEPAGE="http://deadbeef.sourceforge.net/"
LICENSE="GPL-2
LGPL-2.1
ZLIB
psf? ( BSD XMAME )
dumb? ( DUMB-0.9.2 )
shn? ( shorten )"
SLOT="0"
IUSE="adplug aac alac alsa psf ape cdda cover cover-imlib2 dts dumb converter curl ffmpeg flac gme
hotkeys lastfm m3u midi mms mp3 musepack nls notify nullout oss pulseaudio rpath mono2stereo
shellexec shn sid sndfile src static supereq threads tta vorbis vtx wavpack zip gtk3 +gtk2"
REQUIRED_USE="
cover? ( curl )
lastfm? ( curl )"
LANGS="be bg bn ca cs da de el en_GB eo es et fa fi fr gl he hr hu id it ja kk km lg lt nb nl pl pt
pt_BR ro ru si sk sl sr sr@latin sv te tr ug uk vi zh_CN zh_TW"
for lang in ${LANGS}; do
IUSE+=" linguas_${lang}"
done
RDEPEND="aac? ( media-libs/faad2 )
alsa? ( media-libs/alsa-lib )
alac? ( media-libs/faad2 )
cdda? ( dev-libs/libcdio media-libs/libcddb )
cover? ( media-libs/imlib2 )
ffmpeg? ( virtual/ffmpeg )
flac? ( media-libs/flac )
gtk2? ( x11-libs/gtk+:2 )
gtk3? ( x11-libs/gtk+:3 )
notify? ( sys-apps/dbus )
midi? ( media-sound/timidity-freepats )
mms? ( media-libs/libmms )
mp3? ( media-libs/libmad )
musepack? ( media-sound/musepack-tools )
pulseaudio? ( media-sound/pulseaudio )
sndfile? ( media-libs/libsndfile )
src? ( media-libs/libsamplerate )
vorbis? ( media-libs/libvorbis )
wavpack? ( media-sound/wavpack )
zip? ( dev-libs/libzip
sys-libs/zlib )
curl? ( net-misc/curl )"
DEPEND="
dev-util/intltool
${RDEPEND}"
S="${WORKDIR}/${PN}-${MY_PV}"
QA_TEXTRELS="usr/lib/deadbeef/ffap.so.0.0.0"
pkg_setup() {
if use psf || use dumb || use shn && use static ; then
die "ao/converter/dumb or shn plugins can't be builded statically"
fi
}
src_prepare() {
if use midi ; then
# set default gentoo path
sed -e 's;/etc/timidity++/timidity-freepats.cfg;/usr/share/timidity/freepats/timidity.cfg;g' \
-i "${S}/plugins/wildmidi/wildmidiplug.c"
fi
# remove unity trash
epatch "${FILESDIR}/desktop.patch"
for lang in ${LANGS};do
for x in ${lang};do
if ! use linguas_${x}; then
sed -e "s|^${x}$||" -i "po/LINGUAS"
fi
done
done
}
src_configure() {
my_config="--disable-portable
--docdir=/usr/share/${PN}
$(use_enable aac)
$(use_enable adplug)
$(use_enable alac)
$(use_enable alsa)
$(use_enable ape ffap)
$(use_enable cdda)
$(use_enable converter)
$(use_enable cover artwork)
$(use_enable cover-imlib2 artwork-imlib2)
$(use_enable curl vfs-curl)
$(use_enable dts dca)
$(use_enable dumb)
$(use_enable ffmpeg)
$(use_enable flac)
$(use_enable gme)
$(use_enable gtk2)
$(use_enable gtk3)
$(use_enable hotkeys)
$(use_enable lastfm lfm)
$(use_enable m3u)
$(use_enable midi wildmidi)
$(use_enable mms)
$(use_enable mono2stereo)
$(use_enable mp3 mad)
$(use_enable musepack)
$(use_enable nls)
$(use_enable notify)
$(use_enable nullout)
$(use_enable oss)
$(use_enable psf)
$(use_enable pulseaudio pulse)
$(use_enable rpath)
$(use_enable shellexec)
$(use_enable shellexec shellexecui)
$(use_enable shn)
$(use_enable sid)
$(use_enable sndfile)
$(use_enable src)
$(use_enable static)
$(use_enable static staticlink)
$(use_enable supereq)
$(use_enable threads)
$(use_enable tta)
$(use_enable vorbis)
$(use_enable vtx)
$(use_enable wavpack)
$(use_enable zip vfs-zip)"
econf ${my_config}
}
pkg_preinst() {
use linguas_pt_BR || rm -f "${D}/usr/share/deadbeef/help.pt_BR.txt"
use linguas_ru || rm -f "${D}/usr/share/deadbeef/help.ru.txt"
gnome2_icon_savelist
gnome2_schemas_savelist
}
pkg_postinst() {
if use midi ; then
einfo "enable manually freepats support for timidity via"
einfo "eselect timidity set --global freepats"
fi
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
gnome2_schemas_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
gnome2_schemas_update
}

View File

@ -0,0 +1,32 @@
--- orig/deadbeef.desktop.in 2012-10-18 13:58:43.000000000 +0400
+++ fixed/deadbeef.desktop.in 2012-10-18 13:58:08.000000000 +0400
@@ -12,29 +12,3 @@
Terminal=false
Type=Application
Icon=deadbeef
-
-X-Ayatana-Desktop-Shortcuts=Play;Pause;Stop;Next;Prev
-[Play Shortcut Group]
-Name=Play
-Exec=deadbeef --play
-TargetEnvironment=Unity
-
-[Pause Shortcut Group]
-Name=Pause
-Exec=deadbeef --pause
-TargetEnvironment=Unity
-
-[Stop Shortcut Group]
-Name=Stop
-Exec=deadbeef --stop
-TargetEnvironment=Unity
-
-[Next Shortcut Group]
-Name=Next
-Exec=deadbeef --next
-TargetEnvironment=Unity
-
-[Prev Shortcut Group]
-Name=Prev
-Exec=deadbeef --prev
-TargetEnvironment=Unity

View File

@ -0,0 +1,5 @@
AUX confd 31 SHA256 83d4e256d1844aeafd29b66a890468e7079fff69a7d7dbf246596e14a1a5e50a SHA512 3e6e08fca1586b5ffcc185c3ad7e3515c2e3a31b79468844b8231c409519397917183011054102187bc3557684f2a244f7ec2c8ab8fbefd29b97da8e0b5985d9 WHIRLPOOL dd46ac0d253080a44ba3e0791601f533f04a8f870e64209214d9a6206d3ed9d36f586106db6f50b7fe3e1e86066227fcd441709bdc391504fd8184304404c4b5
AUX initd 425 SHA256 de2af01e03a1e45bc25ee4f5367a791b6d247ad46cccfd28ac05d028ee48c544 SHA512 a5c73b2c4c6b57079e2196a6ceaa8d7550040d7276376a377c2882d6faed7daf07ff0d1650bd6cab0f5840afa1bb88b0c692657d02e668a64f88528212aca46d WHIRLPOOL bc1c51bda5a3a9f8d3a627546f864c8f0f8859108367321fc1d0d65e9f5cf07a1ff49ac75d8d7e8e02366c050522069eccefe6c1c84433cf3f8e2f8930907545
AUX sndio-0_p20120925-configure.patch 199 SHA256 570ab216bcbf2828a660974de57f4c1c42a48034ca662ed8eef4cc8eaf060000 SHA512 f78df9137443200d175e3fa2495eec7fc04572151abf7489c8671d4cba3bf725ca234c9954ea9910fd31b02714a7246f34e52d665d214153c87d7e25ad391efe WHIRLPOOL b6e5440593b61d98621d14254a308cc2f791be59b41a287211792c91216bb1303456a0e2f601a42c7cdbc66d321266c098bc023e91b9c1dc97e76ddbb06af642
DIST sndio-1.2.0.tar.gz 123703 SHA256 b9808e189481904a4404b0c1715ad0c4b301e72abca8e49653bb526ff4e16cdc SHA512 c164818c57f61a8b68c96674159e7a45fe2be8b1e15dde933357fe4a91ac4d3d787171746fc5bb99e20f4123c705a571f1dc0a9d35b64f4f5e20c2cf977b30f4 WHIRLPOOL 84ab2d9958c41342891a12fcd524c4ae6199c07e9538c359e3007725710d2bd282a4c7039af46d491de4c5c3c59feff796fbde0f8d4d8e567637fa3325f318ad
EBUILD sndio-1.2.0.ebuild 941 SHA256 7b85b1b3119a66dd3f91e967b489971a25e9d664a416f43ec9802a44c74ab48f SHA512 c39b6a3f91c80e0c27900d63a98800a476af3084a0056522440d3286eba45002d291c76c8fb3f72936f14d3c17bc391ed96e0de08b10988cafd864b0169dbf95 WHIRLPOOL db92ffe8f8c2b2f3271c9646743d0160d892c640d11e3ee2bf43194da23eda69065b734633184965505aecc183263e4ca1c5aa230a69704d43e842557b31c8ca

View File

@ -0,0 +1 @@
SNDIO_OPTS="-dd -L :: -m play"

View File

@ -0,0 +1,18 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
start() {
einfo Starting sndiod ...
start-stop-daemon --start --pidfile /var/run/sndiod.pid \
--background --make-pidfile \
--exec /usr/bin/sndiod -- ${SNDIO_OPTS}
eend $?
}
stop() {
einfo Stopping sndiod ...
start-stop-daemon --stop --pidfile /var/run/sndiod.pid
eend $?
}

View File

@ -0,0 +1,12 @@
--- sndio-9999/work/sndio/configure
+++ sndio-9999/work/sndio/configure
@@ -105,8 +105,7 @@
vars="$vars$i$nl"
shift;;
*)
- help
- exit 1
+ echo unrecognized argument $i
;;
esac
done

View File

@ -0,0 +1,50 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs user multilib-minimal
DESCRIPTION="small audio and MIDI framework part of the OpenBSD project"
HOMEPAGE="http://www.sndio.org/"
SRC_URI="http://www.${PN}.org/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE="alsa"
RDEPEND="alsa? ( media-libs/alsa-lib )"
DEPEND="${REPEND}"
pkg_setup() {
if ! use alsa ; then
ewarn "alsa output disabled, no local output"
fi
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-0_p20120925-configure.patch
multilib_copy_sources
}
multilib_src_configure() {
econf \
$(use_enable alsa) \
--privsep-user=${PN}d \
--disable-sun
tc-export CC
}
multilib_src_install_all() {
dodir /var/lib/sndio
newinitd "${FILESDIR}"/initd ${PN}d
newconfd "${FILESDIR}"/confd ${PN}d
}
pkg_postinst() {
enewuser ${PN}d -1 -1 /var/lib/${PN} audio
}