From owner-svn-ports-all@freebsd.org Thu Jan 17 06:03:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DDA214848F2; Thu, 17 Jan 2019 06:03:54 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D53EB750A0; Thu, 17 Jan 2019 06:03:53 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C5ECBDF74; Thu, 17 Jan 2019 06:03:53 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0H63rlo087801; Thu, 17 Jan 2019 06:03:53 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0H63rdN087800; Thu, 17 Jan 2019 06:03:53 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201901170603.x0H63rdN087800@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Thu, 17 Jan 2019 06:03:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490525 - head/graphics/grafx2 X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/graphics/grafx2 X-SVN-Commit-Revision: 490525 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D53EB750A0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 06:03:54 -0000 Author: ehaupt Date: Thu Jan 17 06:03:53 2019 New Revision: 490525 URL: https://svnweb.freebsd.org/changeset/ports/490525 Log: - Switch from sdl1 to sdl2 - Use default lua version Notified by: nanard@free.fr (via mail) Modified: head/graphics/grafx2/Makefile Modified: head/graphics/grafx2/Makefile ============================================================================== --- head/graphics/grafx2/Makefile Thu Jan 17 05:59:38 2019 (r490524) +++ head/graphics/grafx2/Makefile Thu Jan 17 06:03:53 2019 (r490525) @@ -4,6 +4,7 @@ PORTNAME= grafx2 PORTVERSION= 2.6 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/recoil/recoil/${RECOIL_VERSION}/:recoil DISTFILES= recoil-${RECOIL_VERSION}${EXTRACT_SUFX}:recoil @@ -18,7 +19,7 @@ LIB_DEPENDS= libX11.so:x11/libX11 \ libtiff.so:graphics/tiff USES= desktop-file-utils gmake iconv:wchar_t pkgconfig -USE_SDL= sdl image +USE_SDL= sdl2 image2 USE_GITLAB= yes GL_ACCOUNT= GrafX2 @@ -27,21 +28,23 @@ GL_COMMIT= 5d8c61e41011a8106359343243e1050af4e7fd1f INSTALLS_ICONS= yes +GRAFX2_API= sdl2 RECOIL_VERSION= 4.3.1 WRKSRC_SUBDIR= src CFLAGS+= -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H +MAKE_ENV+= API=${GRAFX2_API} OPTIONS_DEFINE= LUA TTF OPTIONS_DEFAULT=TTF OPTIONS_SUB= yes TTF_DESC= True Type font support -LUA_USES= lua:51 +LUA_USES= lua LUA_MAKE_ARGS_OFF= NOLUA=1 TTF_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig -TTF_USE= SDL=ttf +TTF_USE= SDL=ttf2 TTF_MAKE_ARGS_OFF= NOTTF=1 post-extract: @@ -56,7 +59,7 @@ post-patch: ${WRKSRC}/setup.c post-install: - @${MV} ${STAGEDIR}${PREFIX}/bin/grafx2-sdl \ + @${MV} ${STAGEDIR}${PREFIX}/bin/grafx2-${GRAFX2_API} \ ${STAGEDIR}${PREFIX}/bin/grafx2 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/grafx2