37 lines
852 B
Bash
37 lines
852 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
#inherit eutils
|
|
|
|
DESCRIPTION="Dynamic Range meter plugin for the DeaDBeeF music player"
|
|
HOMEPAGE="https://github.com/dakeryas/deadbeef-dr-meter"
|
|
#MY_PN="ddb_waveform_seekbar"
|
|
MY_PV="2022_10_26_h17"
|
|
SRC_URI="https://github.com/dakeryas/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND_COMMON="
|
|
x11-libs/gtk+:3
|
|
media-sound/deadbeef"
|
|
|
|
RDEPEND="${DEPEND_COMMON}"
|
|
DEPEND="${DEPEND_COMMON}"
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
src_install() {
|
|
# insinto /usr/$(get_libdir)/deadbeef
|
|
# doins dr_plugin/ddb_dr_meter.so
|
|
# doins dr_plugin_gui/ddb_dr_meter_gtk3.so
|
|
|
|
# dolib.so dr_meter/lib/libdrmeter.so
|
|
|
|
emake DESTDIR="$D" PREFIX=/usr/$(get_libdir)/deadbeef GTK=3 install
|
|
}
|