From max@iptelecom.net.ua  Mon Apr 24 01:56:12 2000
Return-Path: <max@iptelecom.net.ua>
Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2])
	by hub.freebsd.org (Postfix) with ESMTP id E33BF37B628
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Apr 2000 01:56:09 -0700 (PDT)
	(envelope-from max@iptelecom.net.ua)
Received: from vega.vega.com (dialup5-52.iptelecom.net.ua [212.9.227.52])
	by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id MAA24648
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Apr 2000 12:03:26 +0300 (EEST)
Received: (from max@localhost)
	by vega.vega.com (8.9.3/8.9.3) id LAA38769;
	Mon, 24 Apr 2000 11:55:35 +0300 (EEST)
	(envelope-from sobomax@altavista.net)
Message-Id: <200004240855.LAA38769@vega.vega.com>
Date: Mon, 24 Apr 2000 11:55:35 +0300 (EEST)
From: "Maxim Sobolev" <sobomax@altavista.net>
Sender: max@iptelecom.net.ua
Reply-To: sobomax@altavista.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] Update of the smpeg (graphics/smpeg) port to the new 0.3.5 version
X-Send-Pr-Version: 3.2

>Number:         18189
>Category:       ports
>Synopsis:       [PATCH] Update of the smpeg (graphics/smpeg) port to the new 0.3.5 version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    will
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 02:00:00 PDT 2000
>Closed-Date:    Tue Apr 25 14:15:56 PDT 2000
>Last-Modified:  Tue Apr 25 14:16:18 PDT 2000
>Originator:     Maxim Sobolev
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Vega International Capital
>Environment:

	

>Description:

Update of the smpeg (graphics/smpeg) port to the new 0.3.5 version.
This update depends on sdl-devel port submitted in ports/18188 PR and
despite some rumors works pretty well with c_r version of the SDL library.

>How-To-Repeat:

	

>Fix:

diff -ruN /usr/ports/graphics/smpeg/Makefile smpeg/Makefile
--- /usr/ports/graphics/smpeg/Makefile	Mon Apr 24 09:29:09 2000
+++ smpeg/Makefile	Mon Apr 24 10:25:39 2000
@@ -6,25 +6,28 @@
 #
 
 PORTNAME=	smpeg
-PORTVERSION=	0.3.3
+PORTVERSION=	0.3.5
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.lokigames.com/development/download/smpeg/
 
 MAINTAINER=	cpiazza@FreeBSD.org
 
-LIB_DEPENDS=  	SDL-1.0.2:${PORTSDIR}/devel/sdl \
+LIB_DEPENDS=  	SDL-1.1.2:${PORTSDIR}/devel/sdl-devel \
 		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
 
 GTK_CONFIG=	${X11BASE}/bin/gtk12-config
+SDL_CONFIG=	${LOCALBASE}/bin/sdl11-config
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}" \
+		SDL_CONFIG="${SDL_CONFIG}" \
 		GLBASE="${X11BASE}" \
 		CPPFLAGS="-I${X11BASE}/include"
 
 #If you want to try the opengl player (which doesn't seem to work)
 #comment out the following line.
-CONFIGURE_ARGS=	--disable-opengl-player
+CONFIGURE_ARGS=	--disable-opengl-player \
+		--enable-mmx
 
 MAN1=		gtv.1 plaympeg.1
 
diff -ruN /usr/ports/graphics/smpeg/files/md5 smpeg/files/md5
--- /usr/ports/graphics/smpeg/files/md5	Thu Feb  3 06:57:34 2000
+++ smpeg/files/md5	Mon Apr 24 10:22:48 2000
@@ -1 +1 @@
-MD5 (smpeg-0.3.3.tar.gz) = fdd7e801890a491e6b26eaea8f4c1b1a
+MD5 (smpeg-0.3.5.tar.gz) = 9fc7106f98b85ede9c8a7a6c79460260
diff -ruN /usr/ports/graphics/smpeg/pkg/PLIST smpeg/pkg/PLIST
--- /usr/ports/graphics/smpeg/pkg/PLIST	Mon Apr 24 09:29:10 2000
+++ smpeg/pkg/PLIST	Mon Apr 24 10:31:46 2000
@@ -1,5 +1,6 @@
 bin/gtv
 bin/plaympeg
+bin/smpeg-congif
 include/smpeg/MPEG.h
 include/smpeg/MPEGaction.h
 include/smpeg/MPEGaudio.h


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->will 
Responsible-Changed-By: will 
Responsible-Changed-When: Mon Apr 24 03:25:36 PDT 2000 
Responsible-Changed-Why:  
I said I'd handle this. 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Tue Apr 25 14:15:56 PDT 2000 
State-Changed-Why:  
Committed, thanks!@ 
>Unformatted:
