media-sound/shine - 3.1.1 (didos)

Search

Install

Install this version:

emerge -a =media-sound/shine-3.1.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-sound/shine-3.1.1

Or alternatively:

emerge --autounmask-write -a =media-sound/shine-3.1.1

Package Information

Description:
Super fast fixed-point MP3 encoder
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
3.1.1 6 ~amd64 ~arm ~arm64 0
View Raw Ebuild
# Copyright 2017-2018 Jan Chren (rindeal)
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit rindeal

## git-hosting.eclass:
GH_RN="github:toots"

## EXPORT_FUNCTIONS: src_unpack
inherit git-hosting
## functions: eautoreconf
inherit autotools
## functions: prune_libtool_files
inherit ltprune

DESCRIPTION="Super fast fixed-point MP3 encoder"
LICENSE="LGPL-2.1"

SLOT="0"

KEYWORDS="~amd64 ~arm ~arm64"
IUSE_A=( static-libs )

CDEPEND_A=()
DEPEND_A=( "${CDEPEND_A[@]}" )
RDEPEND_A=( "${CDEPEND_A[@]}" )

inherit arrays

src_prepare() {
	default

	rsed -r -e '/^CFLAGS *=/ s,-funroll-loops|-O2,,g' -i -- Makefile.am

	eautoreconf
}

src_configure() {
	local my_econf_args=(
		$(use_enable static-libs static)
	)
	econf "${my_econf_args[@]}"
}

src_install() {
	default

	prune_libtool_files
}

Inherited Eclasses