guru/dev-libs/libtypec/libtypec-0.5.2-r2.ebuild
Adrian Ratiu 4b7d4206b3
dev-libs/libtypec: add two more meson build fixes
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>
2024-07-02 18:28:40 +03:00

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
"