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: 131
Popularity: 1.077417
First Submitted: 2008-04-16 23:38
Last Updated: 2016-01-27 06:22

Latest Comments

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}
}

Celti commented on 2014-04-04 11:38

Current version is 2.0.0 according to SVN, but I can't find a tarball for it.

0.4.5 is available at http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/mirrors/smpeg-0.4.5.tar.gz

I may roll up a tarball for 2.0 and host it myself.

pio commented on 2013-06-28 10:54

For 0.4.4-9:
lib32-glu is also a dependency
Also, i had to add
sed "s/lib64/lib32/g" -i Makefile
between ./configure and make to compile.

mladoux commented on 2013-06-23 19:45

dotsrc was down -- mirror found ftp://ftp.uwsg.indiana.edu/linux/gentoo/distfiles/smpeg-0.4.4.tar.gz -- enjoy this little back up link. Hashes match.

mladoux commented on 2013-06-23 19:40

dotsrc was down -- mirror found http://ftp.uwsg.indiana.edu/linux/gentoo/distfiles/smpeg-0.4.4.tar.gz -- enjoy this little back up link. Hashes match.

mladoux commented on 2013-06-23 19:39

dotsrc was down... found a mirror, hashes match --> ftp.uwsg.indiana.edu/linux/gentoo/distfiles/smpeg-0.4.4.tar.gz enjoy

Anonymous comment on 2011-08-16 14:50

@rschtz: I didn't confuse anyone. Wasn't it you, who's written that lib32-mesa needs to be in makedepends and optdepends? You've written it before me. And you referred to smpeg.

Anonymous comment on 2011-08-16 12:39

@Rendman:
We don't need lib32-mesa, because … read my second last comment!

Thanks to cyberpatrol for confusing him!

Anonymous comment on 2011-08-14 09:31

@cyberpatrol:
The directories are removed, because this is a lib32 package and it should include libraries only.
If someone needs the removed stuff, smpeg from [extra] is the right choice.

Anonymous comment on 2011-08-14 01:26

@rschtz: And what? The dependecies are wrong anyway. gcc-multilib belongs to makedepends and not to depends. I don't care much about lib32-mesa. If it's needed, it belongs into makedepends and optdepends. Otherwise it can be removed from every dependencies.

I don't know why all those directories are deleted anyway. Are you sure that those features are unneeded? I mean I didn't need them, yet, but couldn't it be possible that other people could need them?

Anonymous comment on 2011-08-14 01:09

@cyberpatrol:
Haven't you read my last comment?

Anonymous comment on 2011-08-13 23:56

The dependencies are still wrong.

Please, replace your depends and makedepends by these dependencies:

depends=('lib32-gcc-libs' 'lib32-sdl')
makedepends=('gcc-multilib' 'lib32-mesa')
optdepends=('lib32-mesa')

Anonymous comment on 2011-08-12 17:43

Will fix tonight. Thanks everyone for the feedback. I learned alot.

Anonymous comment on 2011-08-12 14:12

I had a closer look on the mesa issue now. mesa is needed for compiling the glmovie application.
But it's deleted anyway (rm -rf "${pkgdir}"/usr/{bin,include,share,man,info}).
So add '--disable-gtktest --disable-gtk-player --disable-opengl-player' to the configure line to disable the unneeded features.

Then the right dependencies are:
depends=('lib32-sdl' 'lib32-gcc-libs')
makedepends=('gcc-multilib')

Anonymous comment on 2011-08-11 19:13

Please, add this line to the PKGBUILD:
makedepends=('gcc-multilib' 'gcc-libs-multilib' 'binutils-multilib')

I haven't tested it, but maybe 'lib32-gcc-libs' is also necessary, either as makedepends or as depends. I guess rather as depends.

Anonymous comment on 2011-08-10 22:11

The library is not linked against a mesa library. Perhaps a mesa library is loaded at runtime. Then it's a optional and a make dependency. That's how it is handled in the original Arch PKGBUILD, too.

Anonymous comment on 2011-08-10 21:54

I haven't tested it, yet, and can't test it due to other dependencies, but I doubt that lib32-mesa is just a make dependency. I think it's a runtime dependency.

Anonymous comment on 2011-08-10 20:02

But it looks like lib32-mesa is a make dependency only.

Anonymous comment on 2011-08-10 17:19

There's indeed a dependency missing as vagyok has already mentioned a year ago. Please, add lib32-mesa to depends. With this it's built find for me, too.

Anonymous comment on 2011-08-10 17:14

Then you should add some depends or makedepends if there are more packages needed than those I mentioned. I don't know which package is actually needed. You can assume that the groups (base) and (base-devel) are installed but not the complete [multilib] repo.

Anonymous comment on 2011-08-10 14:12

Just tested this package. Built fine. Please double check to ensure that your multilib enviroment is setup correctly.

Anonymous comment on 2011-08-10 01:05

Package fails to build on x86_64. gcc-libs-multilib, lib32-gcc-libs, binutils-multilib and lib32-libstdc++5 are installed.

gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -Wl,--hash-style=gnu -Wl,--as-needed -lstdc++ -o .libs/glmovie glmovie-tile.o glmovie.o -L/usr/lib -lGL -lGLU .libs/libsmpeg.so -lstdc++ -lstdc++ -L/usr/lib32 -lSDL -lpthread -lm -lstdc++ -lSDL -lpthread -lm -lSDL -lpthread -lm -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm -Wl,--rpath -Wl,/usr/lib32
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: cannot find -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.a when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-cyber/aur-lib32-smpeg/src/smpeg-0.4.4'
make: *** [all-recursive] Error 1

johannes87 commented on 2011-07-30 12:36

Try installing gcc-multilib (which replaces "gcc"), worked for me then. I guess this is a missing dependency of this package?

Anonymous comment on 2011-07-29 23:26

I get the same error as badhat.

Anonymous comment on 2011-07-27 00:07

I get an error compiling with yaourt:

checking for gcc... gcc -m32
checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lib32-smpeg.
==> Restart building lib32-smpeg ? [y/N]

vagyok commented on 2010-10-16 13:07

I needed lib32-mesa to build this (had a problem with an incompatible libGLU.so).

Anonymous comment on 2010-09-03 13:36

Updated to conform to new multilib design. Please install multilib build toolchain to make this package.

Anonymous comment on 2010-07-17 20:07

"ERROR: The PKGBUILD for lib32-smpeg is incorrect. Please inform the packager that the "install" variable should be a string, not an array"