4 pkgdesc="Veetle plugin to play live streams in your web browser"
6 url="http://forums.veetle.com/questions/1299/why-doesnt-the-plugin-work-on-linux-64-bit-andor-audio-sync-issues"
9 if [[ "$CARCH" == 'i686' ]]; then
10 depends=(gcc-libs glibc libxv libsm libice libx11 libxext libgl mesa sdl alsa-lib pulseaudio libpulse)
11 elif [[ "$CARCH" == 'x86_64' ]]; then
12 depends=(gcc-libs glibc lib32-gcc-libs lib32-glibc lib32-libxv lib32-libsm lib32-libice lib32-libx11 lib32-libxext lib32-libgl lib32-mesa lib32-sdl lib32-alsa-lib pulseaudio libpulse lib32-libpulse)
14 source=(http://veetle.com/download.php/veetle-0.9.17plus.tgz)
15 md5sums=(74fc2122bb667aa76bb0532069ae6994)
18 cd "${srcdir}/veetle-0.9.17"
19 sed -i -b -e 's|'%s/.veetle_vlc/vlc'|'/opt/veetle_vlc/v_'|g' libveetle-player-plugin*
20 if [[ "$CARCH" == 'i686' ]]; then
21 install -Dm644 libveetle-core-plugin.so "${pkgdir}/usr/lib/mozilla/plugins/libveetle-core-plugin.so"
22 install -Dm644 libveetle-player-plugin.so "${pkgdir}/usr/lib/mozilla/plugins/libveetle-player-plugin.so"
23 elif [[ "$CARCH" == 'x86_64' ]]; then
24 install -Dm644 libveetle-core-plugin-x86_64.so "${pkgdir}/usr/lib/mozilla/plugins/libveetle-core-plugin-x86_64.so"
25 install -Dm644 libveetle-player-plugin-x86_64.so "${pkgdir}/usr/lib/mozilla/plugins/libveetle-player-plugin-x86_64.so"
27 install -d "$pkgdir/opt/veetle_vlc"
28 install -Dm755 vlc "$pkgdir/opt/veetle_vlc/v_"
29 install -Dm755 vlcori "$pkgdir/opt/veetle_vlc/vlcori"
30 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"