LINUX.ORG.RU

Для археологов:

Поправил протухший ебилд, кому надо - забирайте.

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:$

EAPI="5"

inherit eutils qt5-build git-2

DESCRIPTION="Digital Storage Oscilloscope"
HOMEPAGE="http://www.openhantek.org/"
EGIT_REPO_URI="https://github.com/OpenHantek/openhantek.git"
SRC_URI=""
#SRC_URI="http://downloads.sourceforge.net/project/openhantek/openhantek/${P}.tar.bz2"

LICENSE="GPL-3"

SLOT="0"

IUSE=""

DEPEND="sys-devel/gcc sci-libs/fftw dev-libs/libusb dev-qt/qtprintsupport dev-qt/qtopengl dev-qt/qtgui dev-qt/qtwidgets dev-qt/qtcore"
RDEPEND="${DEPEND} sci-electronics/electronics-menu"

KEYWORDS="*"


src_configure() {
	S="${WORKDIR}"/openhantek-opensource-src-0.2.0/openhantek
    export PREFIX=/usr
	qt5-build_src_configure
	sed -i 's|/usr/lib64/qt5/bin/lrelease|/usr/bin/lrelease|g' Makefile || die "Replace failed!"
}

src_install() {
	S="${WORKDIR}"/openhantek-opensource-src-0.2.0/openhantek
    newicon res/images/openhantek.png openhantek.png
    make_desktop_entry openhantek OpenHantek openhantek Electronics
    qt5-build_src_install
}

pkg_postinst() {
	echo
	elog "You will need the firmware for your DSO installed."
	elog "Visit https://github.com/OpenHantek for futher configuration instructions."
	echo
}

nighthawk ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.