Hope it helps.
]]>Thanks again guys.
@JLucien
What do you mean you can't build python2-m2crypto? The package is in the official repos, you don't have to build it. :S
I cannot build python2-m2crypto. I changed the PKGBUILD to use python2.7 and it built ok until some tests at the end:
FAIL: test_verify_cert_mutual_auth_servernbio (tests.test_ssl.MiscSSLClientTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jude/aur/python2-m2crypto/src/M2Crypto-0.21.1/tests/test_ssl.py", line 749, in test_verify_cert_mutual_auth_servernbio
assert 0, e
AssertionError: certificate verify failed
----------------------------------------------------------------------
Ran 237 tests in 84.406s
FAILED (failures=6, errors=8)
==> ERROR: A failure occurred in build().
Aborting...
How can I get this dependency to build successfully?
]]>It works!!!! In Firefox and tsplayer.
]]>[0x1c9b348] main libvlc debug: loading plugins cache file /usr/lib/acestreamplayer/plugins/plugins-04081e-fe8.dat
[0x1c9b348] main libvlc warning: cannot read /usr/lib/acestreamplayer/plugins/plugins-04081e-fe8.dat (No such file or directory)
[0x1c9b348] main libvlc debug: recursively browsing `/usr/lib/acestreamplayer/plugins'
[0x1c9b348] main libvlc warning: cannot load module `/usr/lib/acestreamplayer/plugins/access/libaccess_avio_plugin.so' (libavformat.so.53: cannot open shared object file: No such file or directory)
[0x1c9b348] main libvlc warning: cannot load module `/usr/lib/acestreamplayer/plugins/misc/liblua_plugin.so' (liblua5.1.so.0: cannot open shared object file: No such file or directory)
[0x1c9b348] main libvlc warning: cannot load module `/usr/lib/acestreamplayer/plugins/codec/libavcodec_plugin.so' (libavcodec.so.53: cannot open shared object file: No such file or directory)
[0x1c9b348] main libvlc warning: cannot load module `/usr/lib/acestreamplayer/plugins/demux/libavformat_plugin.so' (libavformat.so.53: cannot open shared object file: No such file or directory)
[0x1c9b348] main libvlc debug: saving plugins cache /usr/lib/acestreamplayer/plugins/plugins-04081e-fe8.dat
[0x1c9b348] main libvlc debug: module bank initialized (340 modules)
acestream-ffmpeg only gave me one error
[0x1c9b348] main libvlc warning: cannot load module `/usr/lib/acestreamplayer/plugins/misc/liblua_plugin.so' (liblua5.1.so.0: cannot open shared object file: No such file or directory)
Which seemed to be fixed by
ln -s /usr/lib/liblua5.1.so /usr/lib/liblua5.1.so.0
libappindicator in AUR brings python-appindicator
Edit: Tested OK with http://torrentstream.info/#/test (static video and live stream) in both acestreamplayer, firefox and chromium.
]]># Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=acestream-ffmpeg
_pkgname=ffmpeg
pkgver=0.10.6
pkgrel=1
epoch=1
pkgdesc="Old ffmpeg libs for use with AceStream, does not conflict with ffmpeg"
arch=('i686' 'x86_64')
url="http://ffmpeg.org/"
license=('GPL')
depends=('ffmpeg')
makedepends=('yasm' 'libvdpau')
source=(http://ffmpeg.org/releases/$_pkgname-$pkgver.tar.bz2)
md5sums=('30dec94c65ae9a8cec9b950b158abd1c')
build() {
cd $_pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-libmp3lame \
--enable-libvorbis \
--enable-libxvid \
--enable-libx264 \
--enable-libvpx \
--enable-libtheora \
--enable-libgsm \
--enable-libspeex \
--enable-postproc \
--enable-shared \
--enable-x11grab \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
--enable-libschroedinger \
--enable-libopenjpeg \
--enable-librtmp \
--enable-libpulse \
--enable-libv4l2 \
--enable-gpl \
--enable-version3 \
--enable-runtime-cpudetect \
--disable-debug \
--disable-static
make
}
package() {
cd $_pkgname-$pkgver
make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{bin,include,share}
rm -r "$pkgdir"/usr/lib/pkgconfig
rm "$pkgdir"/usr/lib/{libavcodec.so,libavdevice.*,libavfilter.*}
rm "$pkgdir"/usr/lib/{libavformat.so,libavutil.*,libpostproc.*}
rm "$pkgdir"/usr/lib/{libswresample.*,libswscale.*}
}
Edit: alternatively, install this: https://www.archlinux.org/packages/comm … eg-compat/
I didn't notice that one before . Don't know if it'll pick that up in the subdir or not.
Edit2: I looked more at the errors you posted. You're missing lua51 and twolame as well as the ffmpeg libs. The liba52 error seems to be because Debian renames that lib, symlink added to the PKGBUILD above.
Edit3: Looking at the other libs that they want old versions of or we don't have at all, most are bogus. libace-plugin.so is the only thing linked to udev, and it's linked to libudev.so.1, NOT libudev.so.0. Nothing is linked to libx264, libmpcdec, libcdio, libdirac, gnutls, or libtar. I think the only unresolved issues would be python-appindicator and one file linked to libpng12.so.0
]]># Contributor: MacCyber <jonas.enge at gmail dot com>
# Contributor: Doug Newgard <scimmia22 at outlook dot com>
pkgname=acestream
pkgver=2.0.0
pkgrel=1
pkgdesc="ACE Stream engine and multimedia player based on VLC"
arch=('i686' 'x86_64')
url="http://acestream.org/"
depends=('python2' 'python2-apsw' 'python2-m2crypto' 'aalib' 'a52dec' 'alsa-lib'
'libass' 'avahi' 'libavc1394' 'ffmpeg-compat' 'glibc' 'libcaca'
'libcddb' 'libcdio' 'dbus' 'libdc1394' 'libdca' 'libdvbpsi' 'libdvdnav'
'libdvdread' 'libebml' 'faad2' 'flac' 'fontconfig' 'freetype2'
'fribidi' 'gcc-libs' 'libgcrypt' 'libgl' 'gnutls' 'libgpg-error' 'qt'
'qtwebkit' 'libkate' 'lirc-utils' 'lua51' 'libmad' 'libmatroska'
'libmodplug' 'libmpcdec' 'libmpeg2' 'libmtp' 'ncurses' 'libogg'
'libpng' 'libproxy' 'libraw1394' 'schroedinger' 'sdl_image' 'sdl'
'libshout' 'smbclient' 'speex' 'taglib' 'libtheora' 'twolame' 'systemd'
'libupnp' 'v4l-utils' 'libva' 'vcdimager' 'libvorbis' 'libx11' 'x264'
'libxext' 'libxml2' 'libxpm' 'ttf-freefont' 'zlib')
if [[ "$CARCH" == "i686" ]]; then
_arch="i386"
_md5sum='65134cf60f559437bb5d888f13085638'
else
_arch="amd64"
_md5sum='3a65410fc4fffb0ab9d4dbb3f1a68b8c'
fi
source=("http://torrentstream.org/downloads/linux/test/${pkgname}-local_${pkgver}_${_arch}.deb")
md5sums=("$_md5sum")
package() {
cd "$srcdir"
bsdtar -xf data.tar.gz -C "$pkgdir"
#create libtinfo.so symlinks
cd "$pkgdir/usr/lib"
ln -s libncurses.so.5.9 libtinfo.so.5
ln -s libncurses.so.5.9 libtinfo.so.5.9
#create liba52.so symlink
ln -s liba52.so.0.0.0 liba52-0.7.4.so
# Rename python directory
mv "$pkgdir/usr/lib/python2.7/dist-packages" "$pkgdir/usr/lib/python2.7/site-packages"
# Use python2 instead of python3
sed 's/python/python2/g' -i "$pkgdir/usr/bin/acestreamengine"
}
Edit: added some changes from cybe-arch's PKGBUILD.
]]>