blob: b4710e8857349f703454fa2d6195f922ab49b423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Music related metadata searchengine, both with commandline interface and C API"
HOMEPAGE="https://github.com/sahib/glyr"
SRC_URI="https://github.com/sahib/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="dev-db/sqlite:3
>=dev-libs/glib-2.10:2
net-misc/curl"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS README.textile ) # CHANGELOG is obsolete in favour of git history
PATCHES=(
"${FILESDIR}"/${P}-fix-version.patch
)
src_prepare() {
cmake_src_prepare
sed -i \
-e '/GCC_ONLY_OPT.*-s/d' \
-e '/FLAGS/s:-Os::' \
-e '/FLAGS/s:-g3::' \
CMakeLists.txt || die
}
|