1
0
flewkey-overlay/x11-libs/libevdi/libevdi-1.10.1.ebuild
Ryan Fox 4bca396240
x11-libs/libevdi: Bump to 1.10.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2022-03-06 15:05:33 -08:00

32 lines
703 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
if [[ ${PV} != *9999* ]]; then
MY_PN="evdi"
MY_P="${MY_PN}-${PV}"
SRC_URI="https://github.com/DisplayLink/evdi/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/DisplayLink/evdi.git"
fi
S="${S}/library"
DESCRIPTION="Library for managing screens"
HOMEPAGE="https://github.com/DisplayLink/evdi"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="x11-drivers/evdi"
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
emake install DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)"
doheader "${S}/evdi_lib.h"
}