1 # Maintainer: dejavu <pauli8585@hotmail.com>
2 # Contributor: dieghen89 <dieghen89@gmail.com>
7 pkgdesc="Official Veetle Player (using the 0.9.17plus version for better x86_64 and pulseaudio support)"
9 url="http://www.veetle.com"
11 install=${pkgname}.install
12 #source=(http://veetle.com/download.php/veetle-${pkgver}.tgz)
13 source=(http://veetle.com/download.php/veetle-0.9.17plus.tgz)
14 md5sums=(74fc2122bb667aa76bb0532069ae6994)
16 if [[ "$CARCH" == 'i686' ]]; then
17 depends=(glibc gcc-libs libxv libsm libice libx11 libxext libgl mesa sdl alsa-lib util-linux libxcb libxdamage libxfixes libxxf86vm libdrm libxau libxdmcp)
18 elif [[ "$CARCH" == 'x86_64' ]]; then
19 depends=(lib32-glibc lib32-gcc-libs lib32-libxv lib32-libsm lib32-libice lib32-libx11 lib32-libxext lib32-libgl lib32-mesa lib32-sdl lib32-alsa-lib lib32-util-linux lib32-libxcb lib32-libxdamage lib32-libxfixes lib32-libxxf86vm lib32-libdrm lib32-libxau lib32-libxdmcp)
23 install -d $pkgdir/opt/${pkgname} $pkgdir/usr/lib/mozilla/plugins
24 install -D -m644 $srcdir/veetle-0.9.17/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
25 install -D -m755 $srcdir/veetle-0.9.17/vlc* ${pkgdir}/opt/${pkgname}
27 if [[ "$CARCH" == 'i686' ]]; then
28 install -D -m644 $srcdir/veetle-0.9.17/libveetle-core-plugin.so $pkgdir/usr/lib/mozilla/plugins
29 install -D -m644 $srcdir/veetle-0.9.17/libveetle-player-plugin.so $pkgdir/usr/lib/mozilla/plugins
30 elif [[ "$CARCH" == 'x86_64' ]]; then
31 install -D -m644 $srcdir/veetle-0.9.17/libveetle-core-plugin-x86_64.so $pkgdir/usr/lib/mozilla/plugins
32 install -D -m644 $srcdir/veetle-0.9.17/libveetle-player-plugin-x86_64.so $pkgdir/usr/lib/mozilla/plugins
35 ln -s /tmp $pkgdir/opt/${pkgname}/cache