# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" DEADBEEF_GUI="yes" inherit cmake-utils deadbeef-plugins DESCRIPTION="DeaDBeeF plugin for listening music from vkontakte.com" HOMEPAGE="https://github.com/scorpp/db-vk" SRC_URI="https://github.com/scorpp/db-vk/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" RDEPEND+=" dev-libs/json-glib:0 media-sound/deadbeef:0[curl]" DEPEND="${RDEPEND}" S="${WORKDIR}/db-vk-${PV}" src_configure() { local mycmakeargs=" $(cmake-utils_use_with gtk2 GTK2) $(cmake-utils_use_with gtk3 GTK3)" cmake-utils_src_configure } src_compile() { cmake-utils_src_compile }