From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C3141382C5 for ; Sun, 27 Dec 2020 19:19:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45E1EE0D8B; Sun, 27 Dec 2020 19:19:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15C9EE0D7C for ; Sun, 27 Dec 2020 19:19:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8EED3413DA for ; Sun, 27 Dec 2020 19:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9617449 for ; Sun, 27 Dec 2020 19:19:03 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1609096735.ef2406cd3f9b10da3162af898f287b3883730564.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/wayland-scanner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/wayland-scanner/Manifest dev-util/wayland-scanner/metadata.xml dev-util/wayland-scanner/wayland-scanner-1.18.91.ebuild dev-util/wayland-scanner/wayland-scanner-9999.ebuild X-VCS-Directories: dev-util/wayland-scanner/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: ef2406cd3f9b10da3162af898f287b3883730564 X-VCS-Branch: master Date: Sun, 27 Dec 2020 19:19:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c62ab5bc-fbc7-4726-a826-8715ede54124 X-Archives-Hash: 918bccfa68d995735b7f4737ccb43587 commit: ef2406cd3f9b10da3162af898f287b3883730564 Author: Matt Turner gentoo org> AuthorDate: Mon Dec 21 17:44:15 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Dec 27 19:18:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2406cd dev-util/wayland-scanner: Add new package Closes: https://bugs.gentoo.org/576146 Closes: https://bugs.gentoo.org/759133 Signed-off-by: Matt Turner gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/18751 Signed-off-by: Matt Turner gentoo.org> dev-util/wayland-scanner/Manifest | 1 + dev-util/wayland-scanner/metadata.xml | 8 ++++ .../wayland-scanner/wayland-scanner-1.18.91.ebuild | 49 ++++++++++++++++++++++ .../wayland-scanner/wayland-scanner-9999.ebuild | 49 ++++++++++++++++++++++ 4 files changed, 107 insertions(+) diff --git a/dev-util/wayland-scanner/Manifest b/dev-util/wayland-scanner/Manifest new file mode 100644 index 00000000000..8abe868d035 --- /dev/null +++ b/dev-util/wayland-scanner/Manifest @@ -0,0 +1 @@ +DIST wayland-1.18.91.tar.xz 453500 BLAKE2B 6e234fa637bf4329fcf37c7372e3d02a50742812e2f61477ce302da4c2a1b9377874b0e4e2da899c726ede417081c4d459e40863169352825dd38a8fe0dcf267 SHA512 5ab770c87507e8248aa5197a253f27f3cca984bf1a69c52b438e9aaf512e6b0d841321f81c20643a49ef62eeb6c8b3a6391eadfee5c8822c3cf0d63bb0a8e0f8 diff --git a/dev-util/wayland-scanner/metadata.xml b/dev-util/wayland-scanner/metadata.xml new file mode 100644 index 00000000000..e943b72b8a4 --- /dev/null +++ b/dev-util/wayland-scanner/metadata.xml @@ -0,0 +1,8 @@ + + + + + x11@gentoo.org + X11 + + diff --git a/dev-util/wayland-scanner/wayland-scanner-1.18.91.ebuild b/dev-util/wayland-scanner/wayland-scanner-1.18.91.ebuild new file mode 100644 index 00000000000..eeb424d9d3c --- /dev/null +++ b/dev-util/wayland-scanner/wayland-scanner-1.18.91.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://wayland.freedesktop.org/releases/wayland-${PV}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/wayland-${PV}" +fi +inherit meson multilib-minimal + +DESCRIPTION="wayland-scanner tool" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" + +LICENSE="MIT" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + !=dev-libs/expat-2.1.0-r3:=[$MULTILIB_USEDEP] +" +DEPEND="${RDEPEND}" + +multilib_src_configure() { + local emesonargs=( + -Ddocumentation=false + -Ddtd_validation=false + -Dlibraries=false + -Dscanner=true + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} diff --git a/dev-util/wayland-scanner/wayland-scanner-9999.ebuild b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild new file mode 100644 index 00000000000..eeb424d9d3c --- /dev/null +++ b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://wayland.freedesktop.org/releases/wayland-${PV}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/wayland-${PV}" +fi +inherit meson multilib-minimal + +DESCRIPTION="wayland-scanner tool" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" + +LICENSE="MIT" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + !=dev-libs/expat-2.1.0-r3:=[$MULTILIB_USEDEP] +" +DEPEND="${RDEPEND}" + +multilib_src_configure() { + local emesonargs=( + -Ddocumentation=false + -Ddtd_validation=false + -Dlibraries=false + -Dscanner=true + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +}