- Update to latest 1.99.4 (hg bitbucket) version

- Bump PORTREVISION
This commit is contained in:
Jose Alonso Cardenas Marquez 2011-12-18 02:54:41 +00:00
parent 34cb5d2ac7
commit 3a04e009c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287564
10 changed files with 63 additions and 24 deletions

View file

@ -5,8 +5,6 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTREVISION= 1
PKGNAMESUFFIX= -audio-sdl PKGNAMESUFFIX= -audio-sdl
COMMENT= Mupen64plus audio sdl plugin COMMENT= Mupen64plus audio sdl plugin

View file

@ -7,15 +7,17 @@
PORTNAME= mupen64plus PORTNAME= mupen64plus
PORTVERSION?= 1.99.4 PORTVERSION?= 1.99.4
PORTREVISION?= 1 PORTREVISION?= 2
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
PKGNAMESUFFIX?= -core PKGNAMESUFFIX?= -core
DIST_SUBDIR= ${PORTNAME} DIST_SUBDIR= ${PORTNAME}
MAINTAINER?= acm@FreeBSD.org MAINTAINER?= acm@FreeBSD.org
COMMENT?= A fork of Mupen64 Nintendo 64 emulator COMMENT?= A fork of Mupen64 Nintendo 64 emulator
PROJECTHOST= bsdistfiles
USE_GL?= yes USE_GL?= yes
USE_SDL?= yes USE_SDL?= yes
USE_GMAKE= yes USE_GMAKE= yes

View file

@ -1,2 +1,2 @@
SHA256 (mupen64plus/mupen64plus-bundle-src-1.99.4.tar.gz) = 28868b299372a7b6a1628ee7340656748ed6316fd210d52b82f27518cec7ab8e SHA256 (mupen64plus/mupen64plus-bundle-src-1.99.4.tar.gz) = 07f69ccefdf7224cb29a39c0525daa87807b44846ca14fcad97728d6a22f4da2
SIZE (mupen64plus/mupen64plus-bundle-src-1.99.4.tar.gz) = 1703878 SIZE (mupen64plus/mupen64plus-bundle-src-1.99.4.tar.gz) = 1699177

View file

@ -0,0 +1,30 @@
--- source/mupen64plus-core/projects/unix/Makefile 2011-12-17 20:37:23.000000000 -0500
+++ source/mupen64plus-core/projects/unix/Makefile 2011-12-17 20:39:06.000000000 -0500
@@ -170,8 +170,10 @@
ifeq ($(shell pkg-config --modversion libpng 2>/dev/null),)
$(error No libpng development libraries found!)
endif
-ifeq ($(shell pkg-config --modversion zlib 2>/dev/null),)
- $(error No zlib development libraries found!)
+ifneq ($(OS), FREEBSD)
+ ifeq ($(shell pkg-config --modversion zlib 2>/dev/null),)
+ $(error No zlib development libraries found!)
+ endif
endif
ifeq ($(shell pkg-config --modversion freetype2 2>/dev/null),)
$(error No FreeType 2 development libraries found!)
@@ -182,8 +184,14 @@
ifeq ($(shell pkg-config --modversion glu 2>/dev/null),)
$(error No OpenGL utility development libraries found!)
endif
+
+ifeq ($(OS), FREEBSD)
+CFLAGS += $(shell pkg-config --cflags libpng freetype2 gl glu)
+LDLIBS += $(shell pkg-config --libs libpng freetype2 gl glu)
+else
CFLAGS += $(shell pkg-config --cflags libpng zlib freetype2 gl glu)
LDLIBS += $(shell pkg-config --libs libpng zlib freetype2 gl glu)
+endif
# test for presence of SDL
ifeq ($(shell which sdl-config 2>/dev/null),)

View file

@ -0,0 +1,15 @@
--- source/mupen64plus-core/src/main/zip/ioapi.h 2011-12-17 21:07:15.000000000 -0500
+++ source/mupen64plus-core/src/main/zip/ioapi.h 2011-12-17 21:08:43.000000000 -0500
@@ -61,6 +61,12 @@
#endif
#endif
+#if defined(__FreeBSD__)
+#define fopen64 fopen
+#define ftello64 ftello
+#define fseeko64 fseeko
+#endif
+
/*
#ifndef ZPOS64_T
#ifdef _WIN32

View file

@ -5,8 +5,6 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTREVISION= 1
PKGNAMESUFFIX= -input-sdl PKGNAMESUFFIX= -input-sdl
COMMENT= Input plugin for Mupen64plus COMMENT= Input plugin for Mupen64plus

View file

@ -5,8 +5,6 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTREVISION= 1
PKGNAMESUFFIX= -rsp-hle PKGNAMESUFFIX= -rsp-hle
COMMENT= RSP plugin for Mupen64plus COMMENT= RSP plugin for Mupen64plus

View file

@ -5,8 +5,6 @@
# $FreeBSD$ # $FreeBSD$
# #
PORTREVISION= 1
PKGNAMESUFFIX= -video-rice PKGNAMESUFFIX= -video-rice
COMMENT= The rice graphics plugin for Mupen64plus COMMENT= The rice graphics plugin for Mupen64plus

View file

@ -1,14 +1,14 @@
--- source/mupen64plus-video-rice/projects/unix/Makefile 2010-12-17 00:32:33.000000000 -0500 --- source/mupen64plus-video-rice/projects/unix/Makefile 2011-12-17 20:14:08.000000000 -0500
+++ source/mupen64plus-video-rice/projects/unix/Makefile 2010-12-17 00:34:09.000000000 -0500 +++ source/mupen64plus-video-rice/projects/unix/Makefile 2011-12-17 20:34:47.000000000 -0500
@@ -111,6 +111,11 @@ @@ -171,6 +171,11 @@
ifeq ($(OS),FREEBSD) ifeq ($(OS),FREEBSD)
LDFLAGS += -lGL $(shell pkg-config --libs libpng) CFLAGS += $(shell sdl-config --cflags)
CFLAGS += $(shell pkg-config --cflags libpng) LDLIBS += $(shell sdl-config --libs)
+ ifeq ($(CPU), X86) + ifeq ($(CPU), X86)
+ ifeq ($(ARCH_DETECTED), 32BITS) + ifeq ($(ARCH_DETECTED), 32BITS)
+ CFLAGS += -pipe -mmmx -msse -fomit-frame-pointer + CFLAGS += -pipe -mmmx -msse -fomit-frame-pointer
+ endif + endif
+ endif + endif
endif endif
ifeq ($(OS), LINUX) ifeq ($(OS),OSX)
LDFLAGS += -ldl -lGL CFLAGS += $(shell sdl-config --cflags)

View file

@ -7,7 +7,7 @@
PORTNAME= mupen64plus PORTNAME= mupen64plus
PORTVERSION= 1.99.4 PORTVERSION= 1.99.4
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= emulators CATEGORIES= emulators
MASTER_SITES= # empty MASTER_SITES= # empty
DISTFILES= # empty DISTFILES= # empty