You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
69 lines
2.3 KiB
Tcl
69 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name smpeg
|
|
version 0.4.4
|
|
revision 9
|
|
|
|
categories multimedia
|
|
# libs are LGPL, executables are GPL
|
|
# the readme says LGPLv2 but the actual source files say "or any later version"
|
|
license {GPL-2+ LGPL} BSD IJG
|
|
maintainers nomaintainer
|
|
|
|
description a general purpose MPEG video/audio player/library
|
|
long_description ${name} is {*}${description} programmed by Loki\
|
|
entertainment and others.
|
|
|
|
homepage https://icculus.org/smpeg/
|
|
master_sites macports freebsd
|
|
|
|
checksums rmd160 d55249ad53417fa0df3d925aed0e83d2204e28b7 \
|
|
sha256 1efa7984d0aada0c2954cd0aaef357e9d7871dadd3368dbe742ab5f260523e57 \
|
|
size 315054
|
|
|
|
depends_build port:pkgconfig
|
|
depends_lib port:libsdl
|
|
|
|
patchfiles patch-smpeg.h.diff \
|
|
patch-glmovie-tile.c.diff \
|
|
patch-glmovie.c.diff \
|
|
patch-smpeg.m4.diff \
|
|
patch-MPEGaudio.h.diff \
|
|
patch-video.h.diff \
|
|
patch-MPEG.cpp.diff \
|
|
patch-smpeg-gtkm4.diff \
|
|
patch-automake-as.diff \
|
|
patch-configure-flags.diff \
|
|
patch-Makefile.am.diff
|
|
|
|
post-patch {
|
|
file delete ${worksrcpath}/acinclude.m4
|
|
touch ${worksrcpath}/NEWS
|
|
touch ${worksrcpath}/AUTHORS
|
|
touch ${worksrcpath}/ChangeLog
|
|
}
|
|
|
|
use_autoreconf yes
|
|
autoreconf.args --include=${worksrcpath}/m4 -fvi
|
|
|
|
configure.args --without-x \
|
|
--disable-gtktest \
|
|
--disable-gtk-player \
|
|
--enable-static \
|
|
--enable-shared \
|
|
--disable-sdltest \
|
|
--mandir=${prefix}/share/man
|
|
|
|
configure.ldflags-append \
|
|
-framework OpenGL
|
|
|
|
# huffmantable.cpp:553:8: error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]
|
|
configure.cxxflags-append \
|
|
-std=c++98
|
|
|
|
use_parallel_build no
|
|
|
|
livecheck.type none
|