diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-16 14:53:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-16 14:53:46 +0000 |
commit | f5588424e3182e3006f725536eebd7dc7b5bbfd4 (patch) | |
tree | 2c2ccb3df6c5e1039da984d110f02d0c2ec12cf1 /app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild | |
parent | d969fd257186a9d8083279276697f827331f0e46 (diff) |
gentoo auto-resync : 16:12:2023 - 14:53:46
Diffstat (limited to 'app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild')
-rw-r--r-- | app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild new file mode 100644 index 000000000000..d02a4e0c5b82 --- /dev/null +++ b/app-cdr/cdrdao/cdrdao-1.2.5-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +MY_PV="rel_${PV//./_}" +DESCRIPTION="Burn CDs in disk-at-once mode with a command line interface" +HOMEPAGE="https://github.com/cdrdao/cdrdao/" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv sparc ~x86" +IUSE="encode mad vorbis" + +DEPEND="app-cdr/cdrtools + encode? ( >=media-sound/lame-3.99 ) + mad? ( + media-libs/libao + media-libs/libmad + ) + vorbis? ( + media-libs/libao + media-libs/libvorbis + )" +RDEPEND="${DEPEND} + !app-cdr/cue2toc" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-remove-gconf-dep.patch" + "${FILESDIR}/${PN}-1.2.5-fix-uninit.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cxxflags -std=c++11 + + filter-lto # https://bugs.gentoo.org/854219 + + local myeconfargs=( + --without-gcdmaster + $(use_with vorbis ogg-support) + $(use_with mad mp3-support) + $(use_with encode lame) + ) + econf "${myeconfargs[@]}" +} |