pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45670: Please, pull up emulators/yabause to latest stable



>Number:         45670
>Category:       pkg
>Synopsis:       Please, pull up emulators/yabause to latest stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 29 14:10:00 +0000 2011
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 5.1.0_PATCH
>Organization:
>Environment:
System: NetBSD 5.1.0_PATCH (THEMOBE2) #1: Tue Oct 25 20:58:49 UTC 2011
root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE2
Architecture: i386
Machine: i386
>Description:
yabause 0.9.11 has been released. See the Changelog in the distfile for reasons
why this needs to be pulled up for pkgsrc-2011Q4.
>How-To-Repeat:

# diff Makefile Makefile.new
3,4c3
< DISTNAME=     yabause-0.9.10
< PKGREVISION=  5
---
> DISTNAME=     yabause-0.9.11
16c15,16
< USE_TOOLS+=   gmake
---
> USE_TOOLS+=   autoconf aclocal automake
> #USE_CMAKE=   yes
17a18
> USE_LANGUAGES+=       c c++
18a20,25
> .include "options.mk"
>
> pre-configure:
>               cd ${WRKSRC} && ${SH} autogen.sh
>
> .include "../../graphics/glut/buildlink3.mk"
20,22c27
< BUILDLINK_API_DEPENDS.gtkglext+=      gtkglext>=1.2.0nb4
< .include "../../graphics/gtkglext/buildlink3.mk"
< .include "../../sysutils/desktop-file-utils/desktopdb.mk"
---
> #.include "../../sysutils/desktop-file-utils/desktopdb.mk"


# diff distinfo distinfo.new
3,6c3,5
< SHA1 (yabause-0.9.10.tar.gz) = 9fcdc11a1ebfb7161f4fb3b0cc0d646080403e8c
< RMD160 (yabause-0.9.10.tar.gz) = 1dc3ebfe57ad3abd5cdc21c626ec12584373bf89
< Size (yabause-0.9.10.tar.gz) = 1376089 bytes
< SHA1 (patch-aa) = d98c26c8c754e2b22c608a32964ff90329256179
---
> SHA1 (yabause-0.9.11.tar.gz) = cf47695ff1d2321d6ead0b2a872c3ca1922860a2
> RMD160 (yabause-0.9.11.tar.gz) = 5c8021345a88dce4b668a00fbe465ca87a0a217f
> Size (yabause-0.9.11.tar.gz) = 1881959 bytes


patches/patch-aa is no longer necessary, as i submitted the patch upstream and
it was committed.


# cat options.mk
# $NetBSD$

PKG_OPTIONS_VAR=        PKG_OPTIONS.yabause
PKG_SUPPORTED_OPTIONS=  doxygen gtk openal qt
PKG_SUGGESTED_OPTIONS=  gtk

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mdoxygen)
BUILD_DEPENDS+= doxygen>=1.6.3:../../devel/doxygen
.endif

.if !empty(PKG_OPTIONS:Mgtk)
#CONFIGURE_ENV+=        YAB_PORTS=gtk
#CMAKE_ARGS+=   -DYAB_PORTS=gtk
#CMAKE_ARGS+=   -I${BUILDLINK_PREFIX.gtk2}/lib/gtk-2.0/include
BUILDLINK_API_DEPENDS.gtkglext+=        gtkglext>=1.2.0nb4
.include "../../graphics/gtkglext/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mopenal)
.include "../../audio/openal/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mqt)
#CONFIGURE_ENV+=        YAB_PORTS=qt
#CMAKE_ARGS+=   -DYAB_PORTS=qt
.include "../../x11/qt4-tools/buildlink3.mk"
.endif


There are a number of other options as well to build other yabauase ports, such
as "windows", "dreamcast", and "wii". I'm not sure how to better test for the
Windows or Dreamcast platform in pkgsrc, but i would think they're good options
to have available to the user.


The preferred build of this package is now with CMake. However, until this
patch:

http://www.cmake.org/Bug/view.php?id=12596

is committed and the next version of CMake is pulled up into pkgsrc, it seems
better to stay with the autotools version for now. I've left the CMake comments
in the Makefile and options.mk. One thing to note in the autotools version, is
that the desktop entry has been removed. The Makefile and PLIST need to reflect
this for now and then be readded when the CMake build is ready.

>Fix:
        See above.



Home | Main Index | Thread Index | Old Index