From e678ec5056bda5936a92b99775b850b3a4001e0d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 26 Aug 2020 09:36:38 +0000 Subject: [PATCH] - Fix LICENSE - Add LICENSE_FILE - Pet portlint - Update WWW Approved by: portmgr blanket --- emulators/visualboyadvance-m/Makefile | 31 +++++++++++++------------- emulators/visualboyadvance-m/pkg-descr | 2 +- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index 5c5b48ae78a6..e1508d90c0ed 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -9,14 +9,26 @@ CATEGORIES= emulators MAINTAINER= root@cooltrainer.org COMMENT= Game Boy Advance emulator with GTK frontend -LICENSE= GPLv2 - -LIB_DEPENDS= libpng.so:graphics/png +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/doc/gpl.txt BROKEN_aarch64= fails to build: regparm is not valid on this platform BROKEN_armv6= fails to build: regparm is not valid on this platform BROKEN_armv7= fails to build: regparm is not valid on this platform +LIB_DEPENDS= libpng.so:graphics/png + +USES= cmake:insource,noninja compiler:c++11-lang dos2unix gl gnome \ + pkgconfig sdl xorg +DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) +USE_XORG= x11 xext +USE_GL= gl glu +USE_SDL= sdl +INSTALLS_ICONS= yes +CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ + -DSYSCONFDIR:STRING="${PREFIX}/etc" \ + -DENABLE_WX:BOOL=no + USE_GITHUB= yes GH_TAGNAME= VBA-M_Beta_2 @@ -36,17 +48,6 @@ DEBUGGER_DESC= Enable the debugger ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) -DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) -USE_XORG= x11 xext -USE_GL= gl glu -USE_SDL= sdl -USES= cmake:insource,noninja compiler:c++11-lang dos2unix gl gnome \ - pkgconfig sdl xorg -INSTALLS_ICONS= yes -CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ - -DSYSCONFDIR:STRING="${PREFIX}/etc" \ - -DENABLE_WX:BOOL=no - ASMCORE_BUILD_DEPENDS= as:devel/binutils ASMCORE_CMAKE_BOOL= ENABLE_ASM_CORE @@ -57,7 +58,7 @@ GVBAM_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext \ libgdkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm -GVBAM_USES= desktop-file-utils gnome +GVBAM_USES= desktop-file-utils GVBAM_USE= GNOME=gtkmm24,pangox-compat GVBAM_CMAKE_BOOL= ENABLE_GTK diff --git a/emulators/visualboyadvance-m/pkg-descr b/emulators/visualboyadvance-m/pkg-descr index fd3104387a7f..3f7ee6889ab0 100644 --- a/emulators/visualboyadvance-m/pkg-descr +++ b/emulators/visualboyadvance-m/pkg-descr @@ -3,4 +3,4 @@ Game Boy Color, and Game Boy Advance. The -M fork is a collection of community patches to the original VisualBoyAdvance. It includes an optional GTK frontend. -WWW: http://vba-m.com/ +WWW: https://vba-m.com/