mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
These are based on mturner's feedback on https://github.com/gentoo/gentoo/pull/36736 and should land soon upstream. Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
33 lines
639 B
Bash
33 lines
639 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit meson
|
|
|
|
DESCRIPTION="Library to interface with USB Type-C/Power Delivery devices"
|
|
HOMEPAGE="https://github.com/libtypec/libtypec"
|
|
SRC_URI="https://github.com/libtypec/libtypec/archive/refs/tags/${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${PN}-${P}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.5.2-fix-meson-release-version.patch"
|
|
"${FILESDIR}/${PN}-0.5.2-meson.build-fix-soversion-5-0.patch"
|
|
)
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
"
|
|
DEPEND="
|
|
virtual/libudev
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
!<dev-libs/libtypec-0.5.1-r1
|
|
"
|