added zipit z2 optimized gmu

This commit is contained in:
Kai Uwe Jesussek 2011-06-02 01:05:06 +02:00
parent ccd3799d07
commit 3b8ec8e63c
4 changed files with 211 additions and 0 deletions

22
aur/gmu-z2/PKGBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
pkgname=gmu-z2
pkgver=0.7.2
pkgrel=1
pkgdesc="A very nice Music Player, based on SDL, optimized for zipit z2"
arch=('i686' 'x86_64' 'arm')
url="http://wejp.k.vu"
license=('GPL2')
depends=('z2-sdl-profile' 'sdl' 'sdl_image' 'sdl_gfx' 'libvorbisdec-svn' 'flac' 'mpg123-arm' 'libmikmod' 'speex')
source=('http://wejp.k.vu/files/gmu-0.7.2.tar.gz' 'gmu.conf' 'gmuinput.z2.conf' 'zipit-z2.keymap')
md5sums=('dea481ab0f8f9f10b38aa21605dbb18d' 'b5e3da96885250a665600c4daac439a6' '705519d822f77ab3f48b7738751798f5' '5befd516c3d8226c5de8b3725cf27ba3')
provides=('gmu')
build() {
cd ${srcdir}/gmu-${pkgver}
make || return 1
make DESTDIR=${pkgdir} install
cd ${srcdir}
mkdir -p ${pkgdir}/usr/local/share/gmu/
cp gmu.conf gmuinput.z2.conf zipit-z2.keymap ${pkgdir}/usr/local/share/gmu/
}

39
aur/gmu-z2/gmu.conf Normal file
View file

@ -0,0 +1,39 @@
DefaultPlayMode=random+repeat
RememberLastPlaylist=yes
RememberSettings=yes
EnableCoverArtwork=yes
CoverArtworkFilePattern=cover.jpg;cover.png;front.jpg;*.jpg;*.png
LoadEmbeddedCoverArtwork=first
LyricsFilePattern=$.txt;*.txt;*.nfo
FileSystemCharset=UTF-8
PlaylistSavePresets=rock.m3u;pop.m3u;electronic.m3u;classic.m3u;alternative.m3u;soundtrack.m3u;chiptunes.m3u;playlist1.m3u;playlist2.m3u;playlist3.m3u;playlist4.m3u;playlist5.m3u;playlist6.m3u;playlist7.m3u;playlist8.m3u;playlist9.m3u;playlist10.m3u
TimeDisplay=remaining
CPUClock=default
DefaultFileBrowserPath=/
VolumeControl=Software
VolumeHardwareMixerChannel=0
Volume=15
DefaultSkin=default-modern
AutoSelectCurrentPlaylistItem=yes
AutoPlayOnProgramStart=no
Scroll=always
FileBrowserFoldersFirst=yes
BacklightPowerOnOnTrackChange=no
KeyMap=zipit-z2.keymap
AllowVolumeControlInHoldState=no
SecondsUntilBacklightPowerOff=0
CoverArtworkLarge=no
SmallCoverArtworkAlignment=right
FirstRun=no
ResumePlayback=yes
InputConfigFile=gmuinput.z2.conf
Shutdown=0
ShutdownCommand=/sbin/poweroff
Log.Enable=no
Log.MinimumPlaytimeSec=30
Log.MinimumPlaytimePercent=50
LastPlayedPlaylistItem=None
LastPlayedPlaylistItemTime=0
SDL_frontend.Width=240
SDL_frontend.Height=240
SDL_frontend.Fullscreen=no

View file

@ -0,0 +1,83 @@
FullKeyboard=yes
Button-0=13,Return
Button-1=32,Space
Button-2=13,Enter
Button-3=97,A
Button-4=98,B
Button-5=99,C
Button-6=100,D
Button-7=101,E
Button-8=102,F
Button-9=103,G
Button-10=104,H
Button-11=105,I
Button-12=106,J
Button-13=107,K
Button-14=108,L
Button-15=109,M
Button-16=110,N
Button-17=111,O
Button-18=112,P
Button-19=113,Q
Button-20=114,R
Button-21=115,S
Button-22=116,T
Button-23=117,U
Button-24=118,V
Button-25=119,W
Button-26=120,X
Button-27=121,Y
Button-28=122,Z
Button-29=43,+
Button-30=45,-
Button-31=32,Space
Button-32=13,Enter
Button-33=27,ESC
Button-34=308,Alt
Button-35=306,CTRL
Button-36=305,CTRL_R
Button-37=313,AltGr
Button-38=304,ShiftL
Button-39=303,ShiftR
Button-40=8,Backspace
Button-41=127,Delete
Button-42=277,Insert
Button-43=48,0
Button-44=49,1
Button-45=50,2
Button-46=51,3
Button-47=52,4
Button-48=53,5
Button-49=54,6
Button-50=55,7
Button-51=56,8
Button-52=57,9
Button-53=9,Tab
Button-54=301,CapsLock
Button-55=282,F1
Button-56=283,F2
Button-57=284,F3
Button-58=285,F4
Button-59=286,F5
Button-60=287,F6
Button-61=288,F7
Button-62=289,F8
Button-63=290,F9
Button-64=291,F10
Button-65=292,F11
Button-66=293,F12
Button-67=44,<
Button-68=46,>
Button-69=273,Up
Button-70=274,Down
Button-71=276,Left
Button-72=275,Right
Button-73=280,Volume+
Button-74=281,Volume-
Button-75=279,(B)
Button-76=278,(A)
Button-75=9,Tab
Button-76=303,(L)
Button-77=305,(R)
Button-78=46,Dot
Button-79=44,Comma

View file

@ -0,0 +1,67 @@
# Gmu key mappings
# Required keys: Modifier, Up,
# Down, Pause, ProgramInfo, Exit,
# PlaylistPlayItem, PlaylistClear,
# FileBrowserAddFileToPlaylistOrChDir
# Buttons names are defined in gmuinput.conf.
Modifier=Alt
# Global mappings:
Left=Left
Right=Right
Up=Up
Down=Down
IncreaseVolume=Volume+
DecreaseVolume=Volume-
ToggleTime=T
Pause=P
Stop=X
ToggleView=Space
PreviousTrack=Comma
NextTrack=Dot
SeekForward=M
SeekBackward=N
Hold=Mod+Up
Exit=ESC
ShutdownTimer=Mod+Down
Help=H
# Program info mappings:
ProgramInfo=I
ProgramInfoOkay=Enter
# File browser mappings:
#FileBrowserDirUp=LEFT
#FileBrowserChDir=RIGHT
FileBrowserPlayFile=A
FileBrowserAddFileToPlaylistOrChDir=Enter
FileBrowserAddDirToPlaylist=Y
FileBrowserInsertFileIntoPlaylist=Mod+B
FileBrowserNewPlFromDir=Mod+Y
#FileBrowserDeleteFile=Mod+X
# Playlist mappings:
PlaylistPlayItem=Enter
PlaylistToggleRandomMode=R
PlaylistRemoveItem=Y
PlaylistClear=Mod+C
PlaylistSave=S
# Playlist save dialog:
PlaylistSaveSelect=Enter
PlaylistSaveCancel=C
PlaylistSaveLoadList=L
PlaylistSaveAppendList=Mod+Y
#PlaylistDeleteFile=Mod+X
PlaylistQueue=Q
# Track info mappings:
TrackInfoToggleCover=A
TrackInfoToggleText=B
# Question dialog mappings:
QuestionYes=Enter
QuestionNo=C
# Setup mappings:
SetupSelect=B
SetupSaveAndExit=X
SetupSaveAndRunGmu=Y
SetupFileBrowserSelect=B
SetupFileBrowserChDir=A
SetupFileBrowserCancel=X