From owner-svn-ports-head@freebsd.org Fri Mar 12 11:38:07 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECCF257660C; Fri, 12 Mar 2021 11:38:07 +0000 (UTC) (envelope-from mikael@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DxkMg6PdMz3jLR; Fri, 12 Mar 2021 11:38:07 +0000 (UTC) (envelope-from mikael@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 CA46D171F0; Fri, 12 Mar 2021 11:38:07 +0000 (UTC) (envelope-from mikael@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12CBc7Lk067078; Fri, 12 Mar 2021 11:38:07 GMT (envelope-from mikael@FreeBSD.org) Received: (from mikael@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12CBc7bq067077; Fri, 12 Mar 2021 11:38:07 GMT (envelope-from mikael@FreeBSD.org) Message-Id: <202103121138.12CBc7bq067077@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mikael set sender to mikael@FreeBSD.org using -f From: Mikael Urankar Date: Fri, 12 Mar 2021 11:38:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568171 - head/x11/alacritty X-SVN-Group: ports-head X-SVN-Commit-Author: mikael X-SVN-Commit-Paths: head/x11/alacritty X-SVN-Commit-Revision: 568171 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2021 11:38:08 -0000 Author: mikael Date: Fri Mar 12 11:38:07 2021 New Revision: 568171 URL: https://svnweb.freebsd.org/changeset/ports/568171 Log: x11/alacritty: Add video backend option PR: 254035 Submitted by: Evgeniy Khramtsov Modified: head/x11/alacritty/Makefile Modified: head/x11/alacritty/Makefile ============================================================================== --- head/x11/alacritty/Makefile Fri Mar 12 11:31:40 2021 (r568170) +++ head/x11/alacritty/Makefile Fri Mar 12 11:38:07 2021 (r568171) @@ -3,6 +3,7 @@ PORTNAME= alacritty DISTVERSIONPREFIX= v DISTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= x11 MAINTAINER= mikael@FreeBSD.org @@ -15,9 +16,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 TEST_DEPENDS= dejavu>0:x11-fonts/dejavu -USES= cargo localbase:ldflags python:3.6+,build ssl:build xorg +USES= cargo localbase:ldflags python:3.6+,build ssl:build USE_GITHUB= yes -USE_XORG= xcb CARGO_CRATES= ab_glyph_rasterizer-0.1.4 \ adler32-1.2.0 \ @@ -221,6 +221,9 @@ CARGO_CRATES= ab_glyph_rasterizer-0.1.4 \ CARGO_USE_GITHUB= yes CARGO_INSTALL_PATH= alacritty +CARGO_FEATURES+= --no-default-features +CARGO_CARGOTOML= ${WRKSRC}/${PORTNAME}/Cargo.toml + # For xcb crate BINARY_ALIAS= python3=${PYTHON_CMD} @@ -234,6 +237,17 @@ PLIST_FILES= bin/alacritty \ PORTEXAMPLES= alacritty.yml OPTIONS_DEFINE= EXAMPLES + +BACKEND_DESC= Display backend + +OPTIONS_MULTI= BACKEND +OPTIONS_MULTI_BACKEND= WAYLAND X11 +OPTIONS_DEFAULT= WAYLAND + +WAYLAND_VARS= CARGO_FEATURES+=wayland +X11_USES= xorg +X11_USE= XORG=xcb +X11_VARS= CARGO_FEATURES+=x11 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/alacritty