commit:     16af52dd4f5891f9b231c102a40ce9e1e3c8ba13
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 17:24:35 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 17:52:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16af52dd

dev-util/wayland-scanner: Version bump to 1.23.1

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/wayland-scanner/Manifest                  |  1 +
 .../wayland-scanner/wayland-scanner-1.23.1.ebuild  | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-util/wayland-scanner/Manifest 
b/dev-util/wayland-scanner/Manifest
index 95b73bb0bdfe..7836c87ef833 100644
--- a/dev-util/wayland-scanner/Manifest
+++ b/dev-util/wayland-scanner/Manifest
@@ -1,2 +1,3 @@
 DIST wayland-1.22.0.tar.xz 229544 BLAKE2B 
b0bb366e7f3494813d1574228ae5dd48eccde035120d6dd8709e3a24738681ab9dd9ba6a13924b6a35982d331fa8911fa7346911da9f618be9c9109da0288629
 SHA512 
fb1974efc8433e97254eb83fe28974198f2b4d8246418eb3d34ce657055461e0c97bc06dd52e5066ae91bbe05bac611dc49a0937ba226ac6388d5a47241efb12
 DIST wayland-1.23.0.tar.xz 237900 BLAKE2B 
efb80e3c67db7a707a6d2ea66e7a5132173550bc13fdff447925ec3d33bfba8131532f819d5ab0dd80924cb4339b58b7ca83d9e70a436cea8268167476355bd8
 SHA512 
9c525231a7ea3e68d3178230d476285a960d23e38571ac96d885f86c0588c52ef01460bff6833db5adb9456ce8db7b996613611187aac972736748ba91b8fd81
+DIST wayland-1.23.1.tar.xz 238212 BLAKE2B 
74784b537a6e28610466ff1549286cea9ff8b9ca914afa26a07f177bbe0be56b80de037d5eb5d07a38bf02a9041c32e62c896facd5417c1435571640ad8f87b2
 SHA512 
818eda003e3f7aa15690eedb1ff227a6056b2ce54bf23d45ffe573dc40a914623c5a1358218b59444dcdc483db0503324f0d27091d0ea954412a8b290de5f50a

diff --git a/dev-util/wayland-scanner/wayland-scanner-1.23.1.ebuild 
b/dev-util/wayland-scanner/wayland-scanner-1.23.1.ebuild
new file mode 100644
index 000000000000..bea0332f252f
--- /dev/null
+++ b/dev-util/wayland-scanner/wayland-scanner-1.23.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} = *9999* ]]; then
+       EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git";
+       inherit git-r3
+else
+       
SRC_URI="https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/wayland-${PV}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+       S="${WORKDIR}/wayland-${PV}"
+fi
+inherit meson
+
+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/wayland-${PV}
+       >=dev-libs/expat-2.1.0-r3
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local emesonargs=(
+               -Ddocumentation=false
+               -Ddtd_validation=false
+               -Dlibraries=false
+               -Dscanner=true
+               -Dtests=false
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+
+       mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/share/pkgconfig
+}

Reply via email to