mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
x11-libs/libxkbcommon: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST libxkbcommon-1.10.0.tar.gz 1080448 BLAKE2B 83387d6cf68817ba7676f8040c77a2c6fbfa454df69fd1f4ef440a4842e4ab3eec4521a557b50d70110c18ac8167c5a7178b14ea6b39494450685ed4802c8058 SHA512 5ffc69ebdf5455ea2cb3d7061dd35fe13f0a741034d0e1a68376695a0ac77db0e9bd383135cb6a662e5edeea7df9dfcc98f5526d48a41e1b71b94998f1ecd684
|
||||
DIST libxkbcommon-1.11.0.tar.gz 1139432 BLAKE2B b824eedb9579bbd10dae3bc0e7b73cac60740b789c85b3c01e3da27ebc28ec44b8ec802e92595a56d38e2cbc176e059ba20302d8fb53ec41a98a6ca4e156f71d SHA512 f434c816c1212bd27e259bba22b0db7de7c58a0f22a1d4aef387515d9fb9595d2f0e515642a287a6f2791bd439ccf771771b76780ab4f564172c04c4d6a48b11
|
||||
DIST libxkbcommon-1.12.0.tar.gz 1217200 BLAKE2B a37daf757273aa6b2c0a6c469b6fd353dd2c52285d3081088633a18bdc0cad7250b35aa0049a6810f2a493b2121b8ac50c7411d312bbcc0834bd65a76f547854 SHA512 cd05ce3203ab50580d53cb6e6dee95e566bff0a042a6d334fd897842b27b88fb06a7b7eb0eb8a04a16d79ba4e62e4a79f2f03e606c911dd275bbd2472b5134c9
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/xkbcommon/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
S="${WORKDIR}/libxkbcommon-xkbcommon-${PV}"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit bash-completion-r1 meson-multilib ${GIT_ECLASS} python-any-r1 virtualx
|
||||
|
||||
DESCRIPTION="Keymap handling library for toolkits and window systems"
|
||||
HOMEPAGE="https://xkbcommon.org/ https://github.com/xkbcommon/libxkbcommon/"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="doc static-libs test tools wayland X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
>=sys-devel/bison-2.3a
|
||||
doc? ( app-text/doxygen[dot] )
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
tools? ( wayland? ( dev-util/wayland-scanner ) )
|
||||
"
|
||||
RDEPEND="
|
||||
X? ( >=x11-libs/libxcb-1.10:=[${MULTILIB_USEDEP}] )
|
||||
tools? ( wayland? ( >=dev-libs/wayland-1.2.0[${MULTILIB_USEDEP}] ) )
|
||||
dev-libs/libxml2:=[${MULTILIB_USEDEP}]
|
||||
x11-misc/compose-tables
|
||||
x11-misc/xkeyboard-config
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )
|
||||
tools? ( wayland? ( >=dev-libs/wayland-protocols-1.12 ) )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddefault_library="$(usex static-libs both shared)"
|
||||
-Dxkb-config-root="${EPREFIX}/usr/share/X11/xkb"
|
||||
-Dbash-completion-path="$(get_bashcompdir)"
|
||||
$(meson_native_use_bool tools enable-tools)
|
||||
$(meson_use X enable-x11)
|
||||
$(meson_native_use_bool doc enable-docs)
|
||||
$(meson_use wayland enable-wayland)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc; then
|
||||
mv "${ED}"/usr/share/doc/{${PN},${P}} || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user