mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
29 lines
615 B
Bash
29 lines
615 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
if [[ ${PV} != *9999* ]]; then
|
|
SRC_URI="https://github.com/tenacityteam/portsmf/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
else
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/tenacityteam/portsmf.git"
|
|
fi
|
|
|
|
DESCRIPTION="C++ library for Standard Midi Files (SMF)"
|
|
HOMEPAGE="https://github.com/tenacityteam/portsmf"
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|
|
|
|
src_prepare() {
|
|
sed -i "s/0.1/${PV}/" "${S}/packaging/portSMF.pc.in"
|
|
cmake_src_prepare
|
|
}
|