mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
media-libs/codec2: add examples
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
@@ -12,7 +12,7 @@ SRC_URI="https://hobbes1069.fedorapeople.org/freetel/codec2/${P}.tar.xz"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~x86"
|
||||
IUSE=""
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -21,3 +21,12 @@ multilib_src_configure() {
|
||||
local mycmakeargs=( -DUNITTEST=OFF )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-multilib_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/codec2
|
||||
doins -r wav raw
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user