View | Details | Raw Unified | Return to bug 267480
Collapse All | Expand All

(-)b/multimedia/smpeg/Makefile (-4 / +10 lines)
Lines 1-20 Link Here
1
PORTNAME=	smpeg
1
PORTNAME=	smpeg
2
PORTVERSION=	0.4.4
2
PORTVERSION=	0.4.5
3
PORTREVISION=	16
3
PORTREVISION=	16
4
CATEGORIES=	multimedia
4
CATEGORIES=	multimedia
5
MASTER_SITES=	GENTOO
5
MASTER_SITES=	GH
6
6
7
MAINTAINER=	acm@FreeBSD.org
7
MAINTAINER=	acm@FreeBSD.org
8
COMMENT=	Free MPEG1 video player library with sound support
8
COMMENT=	Free MPEG1 video player library with sound support
9
WWW=		https://www.lokigames.com/development/smpeg.php3
9
WWW=		http://icculus.org/smpeg/
10
11
USE_GITHUB=	yes
12
GH_ACCOUNT=	icculus
13
GH_TAGNAME=	release_${PORTVERSION:S/./_/g}
10
14
11
LICENSE=	LGPL20
15
LICENSE=	LGPL20
12
LICENSE_FILE=	${WRKSRC}/COPYING
16
LICENSE_FILE=	${WRKSRC}/COPYING
13
17
14
USES=		compiler gmake libtool:build sdl
18
USES=		autoreconf:2.69 compiler gmake libtool:build pkgconfig sdl
15
USE_SDL=	sdl
19
USE_SDL=	sdl
16
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
17
21
22
BUILD_DEPENDS=	gtk2>=0:x11-toolkits/gtk20
23
18
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
19
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
25
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
20
		CC="${CXX}" REAL_CC="${CC}" \
26
		CC="${CXX}" REAL_CC="${CC}" \
(-)b/multimedia/smpeg/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (smpeg-0.4.4.tar.gz) = 1efa7984d0aada0c2954cd0aaef357e9d7871dadd3368dbe742ab5f260523e57
1
TIMESTAMP = 1667196689
2
SIZE (smpeg-0.4.4.tar.gz) = 315054
2
SHA256 (icculus-smpeg-0.4.5-release_0_4_5_GH0.tar.gz) = e2e53bfd2e6401e2c29e5eb3929be0e8698bc9e4c9d731751f67e77b408f1f74
3
SIZE (icculus-smpeg-0.4.5-release_0_4_5_GH0.tar.gz) = 383545
(-)a/multimedia/smpeg/files/patch-MPEGaudio.h (-16 lines)
Removed Link Here
1
--- MPEGaudio.h.orig	2001-04-04 20:42:40 UTC
2
+++ MPEGaudio.h
3
@@ -148,6 +148,13 @@ class Mpegbitwindow (private)
4
   char buffer[2*WINDOWSIZE];
5
 };
6
 
7
+class MPEGaudio;
8
+	void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len);
9
+	int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len);
10
+#ifdef THREADED_AUDIO
11
+	int Decode_MPEGaudio(void *udata);
12
+#endif
13
+
14
 /* The actual MPEG audio class */
15
 class MPEGaudio : public MPEGerror, public MPEGaudioaction {
16
 
(-)a/multimedia/smpeg/files/patch-configure (-19 lines)
Removed Link Here
1
--- configure.orig	2001-04-24 19:25:46 UTC
2
+++ configure
3
@@ -1055,7 +1054,7 @@ cat > conftest.$ac_ext << EOF
4
 #line 1056 "configure"
5
 #include "confdefs.h"
6
 
7
-main(){return(0);}
8
+int main(){return(0);}
9
 EOF
10
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11
   ac_cv_prog_cc_works=yes
12
@@ -2335,6 +2332,7 @@ rm -f conftest*
13
 
14
 CFLAGS="$CFLAGS $SDL_CFLAGS"
15
 LIBS="$LIBS $SDL_LIBS"
16
+CC="$REAL_CC"
17
 
18
 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
19
 echo "configure:2341: checking for sqrt in -lm" >&5
(-)b/multimedia/smpeg/files/patch-configure.in (+11 lines)
Added Link Here
1
--- configure.in.orig	2013-02-17 23:57:48.000000000 +0000
2
+++ configure.in	2022-10-31 06:34:41.552373000 +0000
3
@@ -59,7 +59,7 @@
4
 AC_PROG_INSTALL
5
 
6
 dnl Work around the lack of certain typedefs.
7
-AC_TYPE_SOCKLEN_T
8
+dnl AC_TYPE_SOCKLEN_T
9
 
10
 dnl The alpha architecture needs special flags for binary portability
11
 case "$target" in
(-)a/multimedia/smpeg/files/patch-gtv.c (-10 lines)
Removed Link Here
1
--- gtv.c.orig	2001-04-16 19:08:54 UTC
2
+++ gtv.c
3
@@ -963,6 +963,7 @@ int main( int argc, char* argv[] )
4
     memset( &filename_buffer, 0, sizeof( gchar ) * FILENAME_BUFFER_SIZE );
5
     gtk_set_locale();
6
     gtk_init( &argc, &argv );
7
+    gtk_set_locale ();
8
 
9
     window = create_gtv_window( );
10
     gtk_drag_dest_set(window, GTK_DEST_DEFAULT_ALL, drop_types, 1, GDK_ACTION_COPY);
(-)a/multimedia/smpeg/files/patch-smpeg.m4 (-11 lines)
Removed Link Here
1
--- smpeg.m4.orig	2001-04-04 20:28:14 UTC
2
+++ smpeg.m4
3
@@ -10,7 +10,7 @@ dnl AM_PATH_SMPEG([MINIMUM-VERSION, [ACTION-IF-FOUND [
4
 ACTION-IF-NOT-FOUND]]])
5
 dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS
6
 dnl
7
-AC_DEFUN(AM_PATH_SMPEG,
8
+AC_DEFUN([AM_PATH_SMPEG],
9
 [dnl
10
 dnl Get the cflags and libraries from the smpeg-config script
11
 dnl
(-)a/multimedia/smpeg/files/patch-video__video.h (-11 lines)
Removed Link Here
1
--- video/video.h.orig	2001-02-10 07:36:42 UTC
2
+++ video/video.h
3
@@ -432,7 +432,7 @@ extern unsigned int cacheMiss[8][8];
4
 #undef  LITTLE_ENDIAN_ARCHITECTURE
5
 #define BIG_ENDIAN_ARCHITECTURE 1
6
 #else
7
-#include <endian.h>
8
+#include <sys/endian.h>
9
 #if __BYTE_ORDER == __LITTLE_ENDIAN
10
 #undef  BIG_ENDIAN_ARCHITECTURE
11
 #define LITTLE_ENDIAN_ARCHITECTURE 1
(-)b/multimedia/smpeg/pkg-plist (-1 / +1 lines)
Lines 12-18 include/smpeg/MPEGsystem.h Link Here
12
include/smpeg/MPEGvideo.h
12
include/smpeg/MPEGvideo.h
13
include/smpeg/smpeg.h
13
include/smpeg/smpeg.h
14
lib/libsmpeg-0.4.so.0
14
lib/libsmpeg-0.4.so.0
15
lib/libsmpeg-0.4.so.0.1.3
15
lib/libsmpeg-0.4.so.0.1.4
16
lib/libsmpeg.a
16
lib/libsmpeg.a
17
lib/libsmpeg.so
17
lib/libsmpeg.so
18
share/aclocal/smpeg.m4
18
share/aclocal/smpeg.m4

Return to bug 267480