Install this version:
emerge -a =media-libs/smpeg-0.4.4
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.4.4 | 8 | ~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic multilib-minimal
DESCRIPTION="SDL MPEG Player Library"
HOMEPAGE="https://icculus.org/smpeg/"
SRC_URI="
https://mirrors.dotsrc.org/lokigames/open-source/smpeg/${P}.tar.gz
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/smpeg-0.4.4-patches.tar.xz
"
LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc x86"
IUSE="cpu_flags_x86_mmx opengl"
RDEPEND="
media-libs/libsdl[opengl?,sound,video,${MULTILIB_USEDEP}]
opengl? (
virtual/glu[${MULTILIB_USEDEP}]
virtual/opengl[${MULTILIB_USEDEP}]
)"
DEPEND="${RDEPEND}"
PATCHES=(
"${WORKDIR}"/smpeg-0.4.4-patches
)
src_prepare() {
default
rm acinclude.m4 || die
AT_M4DIR="m4" eautoreconf
}
multilib_src_configure() {
[[ ${CHOST} == *-solaris* ]] && append-libs -lnsl -lsocket
local myeconfargs=(
--disable-gtk-player
--enable-debug # disabling this only passes extra optimizations
--without-x # does not actually use X, only causes a headers check
$(use_enable cpu_flags_x86_mmx mmx)
$(use_enable opengl opengl-player)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -name '*.la' -delete || die
}
Manage flags for this package:
euse -i <flag> -p media-libs/smpeg |
euse -E <flag> -p media-libs/smpeg |
euse -D <flag> -p media-libs/smpeg
media-libs/libsdl[opengl?,sound,video,] opengl? ( virtual/glu[] virtual/opengl[] )
media-libs/libsdl[opengl?,sound,video,] opengl? ( virtual/glu[] virtual/opengl[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | smpeg-0.4.4-gtkm4.patch.bz2 | 3894 bytes | mirror://gentoo/smpeg-0.4.4-gtkm4.patch.bz2 |
| DIST | smpeg-0.4.4-patches.tar.xz | 12892 bytes | https://dev.gentoo.org/~sam/distfiles//smpeg/smpeg-0.4.4-patches.tar.xz |
| DIST | smpeg-0.4.4.tar.gz | 315054 bytes | https://mirrors.dotsrc.org/lokigames/open-source/smpeg/smpeg-0.4.4.tar.gz |