summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-07-11 13:09:24 -0400
committerZero_Chaos <zerochaos@gentoo.org>2018-07-11 16:46:08 -0400
commit2b2cd5331ceac76d46a55467a9b31e2104b236d9 (patch)
tree27a16a61d2ce1d0ee0a7cec7d5e55bacac4c7980 /media-libs
parentmedia-libs/codec2: bump (diff)
downloadgentoo-2b2cd5331ceac76d46a55467a9b31e2104b236d9.tar.gz
gentoo-2b2cd5331ceac76d46a55467a9b31e2104b236d9.tar.bz2
gentoo-2b2cd5331ceac76d46a55467a9b31e2104b236d9.zip
media-libs/codec2: add examples
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/codec2/codec2-0.8.1.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/media-libs/codec2/codec2-0.8.1.ebuild b/media-libs/codec2/codec2-0.8.1.ebuild
index 1f2955c5439a..46f65f92f892 100644
--- a/media-libs/codec2/codec2-0.8.1.ebuild
+++ b/media-libs/codec2/codec2-0.8.1.ebuild
@@ -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
+}