summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-08-27 23:10:34 +0100
committerPatrick McLean <chutzpah@gentoo.org>2020-08-27 15:17:05 -0700
commitaa27207649eb26b5c9eccc85ab85a79a041f1ebf (patch)
tree3296e23ea66bb9e2b0ad5c053915c647f0d5b931 /app-misc/OpenRGB
parentapp-misc/OpenRGB: drop libbsd dependency (diff)
downloadgentoo-aa27207649eb26b5c9eccc85ab85a79a041f1ebf.tar.gz
gentoo-aa27207649eb26b5c9eccc85ab85a79a041f1ebf.tar.bz2
gentoo-aa27207649eb26b5c9eccc85ab85a79a041f1ebf.zip
app-misc/OpenRGB: don't remove git commit from 9999
The hash is shown in the Information/Software tab in UI Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/OpenRGB')
-rw-r--r--app-misc/OpenRGB/OpenRGB-9999.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-misc/OpenRGB/OpenRGB-9999.ebuild b/app-misc/OpenRGB/OpenRGB-9999.ebuild
index 53974fb65739..f8119c80c919 100644
--- a/app-misc/OpenRGB/OpenRGB-9999.ebuild
+++ b/app-misc/OpenRGB/OpenRGB-9999.ebuild
@@ -32,13 +32,12 @@ BDEPEND="
virtual/pkgconfig
"
-PATCHES=(
- "${FILESDIR}/OpenRGB-0.2-build-system.patch"
-)
-
src_prepare() {
default
rm -rf dependencies/{hidapi,libusb}* || die
+ if [[ ${PV} != *9999* ]]; then
+ eapply "${FILESDIR}/OpenRGB-0.2-build-system.patch"
+ fi
}
src_configure() {