summaryrefslogtreecommitdiff
path: root/media-sound/tagutil/tagutil-3.1.ebuild
blob: 7d199d522c87769b1b10a559aee8962d60075a02 (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
# Copyright 1999-2022 Jakob L. Kreuze
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

DESCRIPTION="Scriptable music files tags tool and editor"
HOMEPAGE="https://github.com/kaworu/tagutil"
SRC_URI="https://github.com/kaworu/tagutil/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}/src"

LICENSE="BSD"
SLOT="0"
IUSE="id3 flac json vorbis taglib"

RDEPEND="
    dev-libs/libyaml
    json? ( dev-libs/jansson )
    flac? ( media-libs/flac )
    vorbis? ( media-libs/libvorbis )
    taglib? ( media-libs/taglib )
    id3? ( media-sound/id3 )"
DEPEND="
	${RDEPEND}
    virtual/pkgconfig"

src_prepare() {
    cmake_src_prepare
	eapply_user
    sed -i 's/-o aslr//' CMakeLists.txt || die "Sed failed!"
}