1 # Maintainer : Antonio Orefice <xt7player@gmail.com>
7 pkgdesc="Aims to be an 'almost complete' but usable mplayer gui"
9 url="http://xt7-player.sourceforge.net/xt7forum/"
12 depends=('gambas3-gb-image>=2.90.0'
13 'gambas3-runtime>=2.99.6'
14 'gambas3-gb-gui>=2.99.6'
15 'gambas3-gb-form>=2.99.6'
16 'gambas3-gb-qt4>=2.99.6'
17 'gambas3-gb-form>=2.99.6'
18 'gambas3-gb-dbus>=2.99.6'
19 'gambas3-gb-desktop>=2.99.6'
20 'gambas3-gb-settings>=2.99.6'
21 'gambas3-gb-form-mdi>=2.99.6'
22 'gambas3-gb-net>=2.99.6'
23 'gambas3-gb-net-curl>=2.99.6'
24 'gambas3-gb-qt4-ext>=2.99.6'
25 'gambas3-gb-web>=2.99.6'
26 'gambas3-gb-xml>=2.99.6'
27 'gambas3-gb-form-stock>=2.99.6'
28 'gambas3-gb-image>=2.99.6'
33 makedepends=('gambas3-devel')
34 optdepends=('linuxtv-dvb-apps: for DVB support' 'xdg-utils: for desktop integration' 'xbindkeys: for global hotkeys support' 'aria2: for youtube segmented downloads')
36 _gitroot="https://github.com/kokoko3k/xt7-player.git"
41 git clone $_gitroot || return 1
45 gbc3 -e -a -g -t -p -m
52 mv xt7-player.gambas xt7-player-git.gambas
53 mv xt7-player.desktop xt7-player-git.desktop
54 mv xt7-player.png xt7-player-git.png
56 sed -i 's/Name=xt7-player/Name=xt7-player-git/' ./xt7-player-git.desktop
57 sed -i 's/Exec=xt7-player.gambas/Exec=xt7-player-git/' ./xt7-player-git.desktop
58 sed -i 's/xt7-player.png/xt7-player-git.png/' ./xt7-player-git.desktop
60 install -d ${pkgdir}/usr/bin
61 install -m755 xt7-player-git.gambas ${pkgdir}/usr/bin/xt7-player-git
62 install -D xt7-player-git.png ${pkgdir}/usr/share/pixmaps/xt7-player-git.png
63 install -D xt7-player-git.desktop ${pkgdir}/usr/share/applications/xt7-player-git.desktop