pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/snes9x-gtk snes9x-gtk: Normalize meson usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89e9022e0df2
branches:  trunk
changeset: 402232:89e9022e0df2
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Oct 05 20:10:19 2019 +0000

description:
snes9x-gtk: Normalize meson usage.

diffstat:

 emulators/snes9x-gtk/Makefile |  19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diffs (47 lines):

diff -r 85ac631a3001 -r 89e9022e0df2 emulators/snes9x-gtk/Makefile
--- a/emulators/snes9x-gtk/Makefile     Sat Oct 05 20:09:52 2019 +0000
+++ b/emulators/snes9x-gtk/Makefile     Sat Oct 05 20:10:19 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2019/09/18 14:17:10 ryoon Exp $
+# $NetBSD: Makefile,v 1.70 2019/10/05 20:10:19 nia Exp $
 
 PKGREVISION= 3
 .include "../../emulators/snes9x/Makefile.common"
@@ -9,14 +9,15 @@
 COMMENT=       Super Nintendo Entertainment System (SNES) emulator (GUI version)
 
 USE_TOOLS+=    pkg-config
-USE_TOOLS+=    msgfmt xgettext msgmerge
+USE_TOOLS+=    msgfmt xgettext
 USE_TOOLS+=    gawk
 
+CONFIGURE_DIRS=        gtk
+
 MESON_ARGS+=   -Dsystem-zip=false
 MESON_ARGS+=   -Dportaudio=false
 
 BUILD_DEPENDS+=        gettext-m4-[0-9]*:../../devel/gettext-m4
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-meson-[0-9]*:../../devel/py-meson
 
 .include "../../mk/oss.buildlink3.mk"
 
@@ -30,18 +31,8 @@
 
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
-do-configure:
-       cd ${WRKSRC}/gtk && ${SETENV} ${MAKE_ENV} meson --prefix ${PREFIX} --libdir lib --mandir ${PKGMANDIR} --buildtype=plain ${MESON_ARGS} . output
-
-do-build:
-       cd ${WRKSRC}/gtk && ${SETENV} ${MAKE_ENV} ninja -C output
-
-do-install:
-       cd ${WRKSRC}/gtk && ${SETENV} ${INSTALL_ENV} ninja -C output install
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "options.mk"
+.include "../../devel/py-meson/build.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index