mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36:59 +02:00
x11-base/xorg-proto: Sync with gentoo
It's from gentoo commit fe355755ac76b2675458ead53210933cfc11adf5.
This commit is contained in:
parent
27ecb97f8b
commit
0cc613a6ee
@ -1 +1 @@
|
|||||||
DIST xorgproto-2018.4.tar.gz 493597 BLAKE2B f25a637317ff2d7ba34d416368261b5afb617e42a1fb642cc78ab3e877752a81291fe0523d1af6cd0fe27399676b14a70ceea7178d521187423bb503c9b1c63b SHA512 f79a47fc3de04d7258769869c11e99eff7fa4a4b5925cf60f9f7579f946d7d0e737224e9a54d18e439a3586126e66e0764c0f09ed50987c781955b9b9a1e0362
|
DIST xorgproto-2021.5.tar.gz 1132811 BLAKE2B 3fe288cf8a848436dacc0ebf437b6a1d2c81878abaf8c542ff45e70389643cb2bc25bdab5ab6ff9d44a4f9bbdbd24757d21617c2c6a0754870afcd9f60ccbb05 SHA512 9c9ec62f0af68fd0dff24010986326a2b201be2b56b8b94abfe7258bf66b3c4c37088596c43a234aae63b1d781f7797caf408e434c98e8805803bc890b8aacb0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>x11@gentoo.org</email>
|
<email>x11@gentoo.org</email>
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MY_PN="${PN/xorg-/xorg}"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/proto/${MY_PN}"
|
|
||||||
|
|
||||||
if [[ ${PV} = 9999* ]]; then
|
|
||||||
GIT_ECLASS="git-r3"
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit ${GIT_ECLASS} meson
|
|
||||||
|
|
||||||
DESCRIPTION="X.Org combined protocol headers"
|
|
||||||
HOMEPAGE="https://cgit.freedesktop.org/xorg/proto/xorgproto/"
|
|
||||||
if [[ ${PV} = 9999* ]]; then
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x64-macos ~x64-solaris"
|
|
||||||
SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="
|
|
||||||
!<x11-proto/bigreqsproto-1.1.2-r1
|
|
||||||
!<x11-proto/compositeproto-0.4.2-r2
|
|
||||||
!<x11-proto/damageproto-1.2.1-r2
|
|
||||||
!<x11-proto/dmxproto-2.3.1-r2
|
|
||||||
!<x11-proto/dri2proto-2.8-r2
|
|
||||||
!<x11-proto/dri3proto-1.0-r1
|
|
||||||
!<x11-proto/fixesproto-5.0-r2
|
|
||||||
!<x11-proto/fontsproto-2.1.3-r1
|
|
||||||
!<x11-proto/glproto-1.4.17-r2
|
|
||||||
!<x11-proto/inputproto-2.3.2-r1
|
|
||||||
!<x11-proto/kbproto-1.0.7-r1
|
|
||||||
!<x11-proto/presentproto-1.1-r1
|
|
||||||
!<x11-proto/randrproto-1.5.0-r1
|
|
||||||
!<x11-proto/recordproto-1.14.2-r2
|
|
||||||
!<x11-proto/renderproto-0.11.1-r2
|
|
||||||
!<x11-proto/resourceproto-1.2.0-r1
|
|
||||||
!<x11-proto/scrnsaverproto-1.2.2-r2
|
|
||||||
!<x11-proto/trapproto-3.4.3-r1
|
|
||||||
!<x11-proto/videoproto-2.3.3-r1
|
|
||||||
!<x11-proto/xcmiscproto-1.2.2-r1
|
|
||||||
!<x11-proto/xextproto-7.3.0-r1
|
|
||||||
!<x11-proto/xf86bigfontproto-1.2.0-r2
|
|
||||||
!<x11-proto/xf86dgaproto-2.1-r3
|
|
||||||
!<x11-proto/xf86driproto-2.1.1-r2
|
|
||||||
!<x11-proto/xf86miscproto-0.9.3-r1
|
|
||||||
!<x11-proto/xf86vidmodeproto-2.3.1-r2
|
|
||||||
!<x11-proto/xineramaproto-1.2.1-r2
|
|
||||||
!<x11-proto/xproto-7.0.31-r1
|
|
||||||
|
|
||||||
!x11-proto/fontcacheproto
|
|
||||||
!x11-proto/xf86rushproto"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
default
|
|
||||||
[[ $PV = 9999* ]] && git-r3_src_unpack
|
|
||||||
}
|
|
54
sdk_container/src/third_party/portage-stable/x11-base/xorg-proto/xorg-proto-2021.5.ebuild
vendored
Normal file
54
sdk_container/src/third_party/portage-stable/x11-base/xorg-proto/xorg-proto-2021.5.ebuild
vendored
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
MY_PN="${PN/xorg-/xorg}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/${MY_PN}.git"
|
||||||
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
GIT_ECLASS="git-r3"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit ${GIT_ECLASS} meson python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="X.Org combined protocol headers"
|
||||||
|
HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto"
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||||
|
SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
mv "${ED}"/usr/share/doc/{xorgproto,${P}} || die
|
||||||
|
}
|
@ -1,68 +1,54 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
MY_PN="${PN/xorg-/xorg}"
|
MY_PN="${PN/xorg-/xorg}"
|
||||||
MY_P="${MY_PN}-${PV}"
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/proto/${MY_PN}"
|
EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/${MY_PN}.git"
|
||||||
|
|
||||||
if [[ ${PV} = 9999* ]]; then
|
if [[ ${PV} = 9999* ]]; then
|
||||||
GIT_ECLASS="git-r3"
|
GIT_ECLASS="git-r3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit ${GIT_ECLASS} meson
|
inherit ${GIT_ECLASS} meson python-any-r1
|
||||||
|
|
||||||
DESCRIPTION="X.Org combined protocol headers"
|
DESCRIPTION="X.Org combined protocol headers"
|
||||||
HOMEPAGE="https://cgit.freedesktop.org/xorg/proto/xorgproto/"
|
HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto"
|
||||||
if [[ ${PV} = 9999* ]]; then
|
if [[ ${PV} = 9999* ]]; then
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
else
|
else
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||||
SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz"
|
SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz"
|
||||||
S="${WORKDIR}/${MY_P}"
|
S="${WORKDIR}/${MY_P}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
DEPEND=""
|
DEPEND="
|
||||||
RDEPEND="
|
test? (
|
||||||
!<x11-proto/bigreqsproto-1.1.2-r1
|
$(python_gen_any_dep '
|
||||||
!<x11-proto/compositeproto-0.4.2-r2
|
dev-python/python-libevdev[${PYTHON_USEDEP}]
|
||||||
!<x11-proto/damageproto-1.2.1-r2
|
')
|
||||||
!<x11-proto/dmxproto-2.3.1-r2
|
)
|
||||||
!<x11-proto/dri2proto-2.8-r2
|
"
|
||||||
!<x11-proto/dri3proto-1.0-r1
|
RDEPEND=""
|
||||||
!<x11-proto/fixesproto-5.0-r2
|
|
||||||
!<x11-proto/fontsproto-2.1.3-r1
|
|
||||||
!<x11-proto/glproto-1.4.17-r2
|
|
||||||
!<x11-proto/inputproto-2.3.2-r1
|
|
||||||
!<x11-proto/kbproto-1.0.7-r1
|
|
||||||
!<x11-proto/presentproto-1.1-r1
|
|
||||||
!<x11-proto/randrproto-1.5.0-r1
|
|
||||||
!<x11-proto/recordproto-1.14.2-r2
|
|
||||||
!<x11-proto/renderproto-0.11.1-r2
|
|
||||||
!<x11-proto/resourceproto-1.2.0-r1
|
|
||||||
!<x11-proto/scrnsaverproto-1.2.2-r2
|
|
||||||
!<x11-proto/trapproto-3.4.3-r1
|
|
||||||
!<x11-proto/videoproto-2.3.3-r1
|
|
||||||
!<x11-proto/xcmiscproto-1.2.2-r1
|
|
||||||
!<x11-proto/xextproto-7.3.0-r1
|
|
||||||
!<x11-proto/xf86bigfontproto-1.2.0-r2
|
|
||||||
!<x11-proto/xf86dgaproto-2.1-r3
|
|
||||||
!<x11-proto/xf86driproto-2.1.1-r2
|
|
||||||
!<x11-proto/xf86miscproto-0.9.3-r1
|
|
||||||
!<x11-proto/xf86vidmodeproto-2.3.1-r2
|
|
||||||
!<x11-proto/xineramaproto-1.2.1-r2
|
|
||||||
!<x11-proto/xproto-7.0.31-r1
|
|
||||||
|
|
||||||
!x11-proto/fontcacheproto
|
python_check_deps() {
|
||||||
!x11-proto/xf86rushproto"
|
has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
src_unpack() {
|
|
||||||
default
|
pkg_setup() {
|
||||||
[[ $PV = 9999* ]] && git-r3_src_unpack
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
mv "${ED}"/usr/share/doc/{xorgproto,${P}} || die
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user