Package Details: lib32-smpeg 0.4.5-2

Git Clone URL: https://aur.archlinux.org/lib32-smpeg.git (read-only)
Package Base: lib32-smpeg
Description: SDL MPEG Player Library (32-bit)
Upstream URL: http://icculus.org/smpeg/
Licenses: LGPL
Submitter: None
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 132
Popularity: 1.366686
First Submitted: 2008-04-16 23:38
Last Updated: 2016-06-16 12:18

Latest Comments

WoefulDerelict commented on 2016-06-16 12:24

I've included the flag in the PKGBUILD as apparently reading the comments and doing it yourself is harder than getting the problem fixed upstream.

WoefulDerelict commented on 2016-05-27 22:19

The smpeg code fails to compile against GCC 6.1.1. The compiler's new standards don't mesh with statements in hufftable.cpp. (https://forums.libsdl.org/viewtopic.php?p=51146&sid=836039078561db554ccd5128851aef41) (https://aur.archlinux.org/packages/lib32-smpeg2/)

For the moment appending -std=gnu++03 to the existing CXX environment variable statement at line 25 will roll back the compiler's behaviour to something akin to 5.3.0 and allow the software to build. The new statement would look as follows: export CXX="g++ -m32 -std=gnu++03"

test0 commented on 2016-05-27 22:06

audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
};
^
audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]
audio/hufftable.cpp:587:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing]

compiling hufftable.lo failed

C5OK5Y commented on 2014-04-22 17:02

No, autoconf is in group 'base-devel' which you should, according to the wiki, install before attempting to build any packages.

shmibs commented on 2014-04-22 16:54

this is also missing autoconf as a dependency

C5OK5Y commented on 2014-04-06 09:06

fixed

colinkeenan commented on 2014-04-06 02:04

I edited the PKGBUILD and put svn at the end of the makedepends line and it installed subversion. Install worked and then it said subversion wasn't needed anymore. So, definitely add svn to makedepends.

colinkeenan commented on 2014-04-06 02:01

Need to add "svn" to makedepends

colinkeenan commented on 2014-04-06 01:59

==> Retrieving sources...
-> Cloning smpeg-0.4.5 svn repo...
/usr/bin/makepkg: line 709: svn: command not found
==> ERROR: Failure while downloading smpeg-0.4.5 svn repo
Aborting...
==> ERROR: Makepkg was unable to build lib32-smpeg.

Celti commented on 2014-04-04 12:16

Here's an updated PKGBUILD:

pkgname=lib32-smpeg
pkgver=0.4.5
pkgrel=1
pkgdesc="SDL MPEG Player Library (32-bit)"
arch=('x86_64')
url="http://icculus.org/smpeg/"
license=('LGPL')
depends=('lib32-sdl' 'smpeg')
makedepends=('gcc-multilib' 'lib32-mesa' 'lib32-glu')
optdepends=('lib32-glu: to use glmovie')
source=("smpeg-$pkgver::svn://svn.icculus.org/smpeg/tags/release_${pkgver//./_}")
md5sums=('SKIP')

build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
export LDFLAGS="-lX11"

cd smpeg-$pkgver
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man --disable-static --libdir=/usr/lib32
make
}

package() {
cd smpeg-$pkgver
make DESTDIR="$pkgdir" install
rm -r "$pkgdir"/usr/{bin,include,share}
}

All comments