diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-sound/xmmsctrl | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'media-sound/xmmsctrl')
-rw-r--r-- | media-sound/xmmsctrl/Manifest | 4 | ||||
-rw-r--r-- | media-sound/xmmsctrl/files/xmmsctrl-1.8-jump.patch | 15 | ||||
-rw-r--r-- | media-sound/xmmsctrl/files/xmmsctrl.bash-completion | 38 | ||||
-rw-r--r-- | media-sound/xmmsctrl/xmmsctrl-1.9.ebuild | 37 |
4 files changed, 94 insertions, 0 deletions
diff --git a/media-sound/xmmsctrl/Manifest b/media-sound/xmmsctrl/Manifest new file mode 100644 index 0000000..022ad4c --- /dev/null +++ b/media-sound/xmmsctrl/Manifest @@ -0,0 +1,4 @@ +AUX xmmsctrl-1.8-jump.patch 457 RMD160 6e8ff2fd4823e031131e131ad7219cb32e6bada1 SHA1 37017f2442f0cee82221d16705e682619b398e5e SHA256 d567b8049c644fa2b9d46fbdccff284c5634c5f06df1de7ebd716a9579c7e23f +AUX xmmsctrl.bash-completion 1055 RMD160 78eea48e425d0a96dea344bf97dc1fa8afd15d23 SHA1 0a5b5c5bcd2a67dc6602d60cb770ce3ca0b191f6 SHA256 ad42a545a330b4fb7d486f55b2630383ccb634b75706fcf92874fc658a99aca1 +DIST xmmsctrl-1.9.tar.gz 14336 RMD160 e878e512530fe03c956926dd0d20727ba18e9f8a SHA1 771500abf504077c85f4052f0977a607244f82e1 SHA256 26ba9a4b9e6dbc7839b8a6fc234774fa2a9cc4e887e947cd6681d3d42674b2cb +EBUILD xmmsctrl-1.9.ebuild 806 RMD160 d20939dc5da8e80851e5b81ec1b50bf0845dfef8 SHA1 5c3f1b19b140c0501119e4bb14befc8fb641d81d SHA256 475f9d7e67ce46eb275c406a91d861be0ef07eb4432f1ba7aa4e6fed4859630f diff --git a/media-sound/xmmsctrl/files/xmmsctrl-1.8-jump.patch b/media-sound/xmmsctrl/files/xmmsctrl-1.8-jump.patch new file mode 100644 index 0000000..0dc0db2 --- /dev/null +++ b/media-sound/xmmsctrl/files/xmmsctrl-1.8-jump.patch @@ -0,0 +1,15 @@ +diff -Naur xmmsctrl-1.8.orig/xmmsctrl.c xmmsctrl-1.8/xmmsctrl.c +--- xmmsctrl-1.8.orig/xmmsctrl.c 2004-04-02 04:55:06.000000000 -0800 ++++ xmmsctrl-1.8/xmmsctrl.c 2004-11-04 15:18:37.487096112 -0800 +@@ -135,6 +135,11 @@ + "print this help message." + }, + { ++ "jump" , ++ xmms_remote_show_jump_box , ++ "open the xmms jump to file box" ++ }, ++ { + "next" , + xmms_remote_playlist_next , + "xmms next song command, go to the next song." diff --git a/media-sound/xmmsctrl/files/xmmsctrl.bash-completion b/media-sound/xmmsctrl/files/xmmsctrl.bash-completion new file mode 100644 index 0000000..1568d3c --- /dev/null +++ b/media-sound/xmmsctrl/files/xmmsctrl.bash-completion @@ -0,0 +1,38 @@ +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmmsctrl/files/xmmsctrl.bash-completion,v 1.1 2004/11/04 23:22:33 eradicator Exp $ +# xmmsctrl completion + +_xmmsctrl() +{ + local cur prev opts + COMPREPLY=() + cur="${COMP_WORDS[COMP_CWORD]}" + prev="${COMP_WORDS[COMP_CWORD-1]}" + opts="launch not cur eject getlength getpos gettime getvol help jump \ + next pause play playlist playfiles pref prev previous remove repeat \ + shuffle stop title quit --help equalizer main play_list paused playing \ + is_equalizer is_main is_play_list is_stream running session dir time \ + track vol" + + if [ ${COMP_CWORD} -eq 1 ] ; then + COMPREPLY=($(compgen -W "${opts}" -- "${cur}")) + return 0 + fi + + case "${prev}" in + equalizer|main|play_list) + COMPREPLY=($(compgen -W "0 1" -- "${cur}")) + ;; + dir) + COMPREPLY=($(compgen -A directory -- "${cur}")) + ;; + not) + COMPREPLY=($(compgen -W "${opts/not}" -- "${cur}")) + ;; + *) + COMPREPLY=() + ;; + esac +} +complete -F _xmmsctrl xmmsctrl + +# vim: set ft=sh tw=80 sw=4 et : diff --git a/media-sound/xmmsctrl/xmmsctrl-1.9.ebuild b/media-sound/xmmsctrl/xmmsctrl-1.9.ebuild new file mode 100644 index 0000000..246197c --- /dev/null +++ b/media-sound/xmmsctrl/xmmsctrl-1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/xmmsctrl/xmmsctrl-1.9.ebuild,v 1.1 2005/10/16 21:28:13 metalgod Exp $ + +IUSE="" + +inherit eutils bash-completion + +DESCRIPTION="A small program to control xmms from a shell script." +SRC_URI="http://www.cs.aau.dk/~adavid/utils/${P}.tar.gz" +HOMEPAGE="http://www.cs.aau.dk/~adavid/utils/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86" + +DEPEND="media-sound/xmms" + +src_unpack() { + unpack ${A} || die + cd ${S} + epatch ${FILESDIR}/${PN}-1.8-jump.patch +} + +src_compile() { + emake || die +} + +src_install () { + dobin xmmsctrl + dodoc README HELP + + docinto samples + dodoc samples/* + + dobashcompletion ${FILESDIR}/${PN}.bash-completion ${PN} +} |