summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/grig/grig-0.8.1-r1.ebuild')
-rw-r--r--media-radio/grig/grig-0.8.1-r1.ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-radio/grig/grig-0.8.1-r1.ebuild b/media-radio/grig/grig-0.8.1-r1.ebuild
index 998b4e4fa866..07f9ee0da9ba 100644
--- a/media-radio/grig/grig-0.8.1-r1.ebuild
+++ b/media-radio/grig/grig-0.8.1-r1.ebuild
@@ -26,6 +26,17 @@ src_configure() {
econf --enable-hardware
}
+src_prepare() {
+ # prepare for media-radio/hamlib-4.2 change of API
+ if has_version '>=media-libs/hamlib-4.2' ; then
+ eapply -p1 "${FILESDIR}"/${P}-hamlib42.patch
+ fi
+
+ eapply ${PATCHES}
+
+ eapply_user
+}
+
src_install() {
default
make_desktop_entry ${PN} "GRig" "/usr/share/pixmaps/grig/grig-logo.png" "HamRadio"