diff options
Diffstat (limited to 'media-libs/libdvbcsa')
-rw-r--r-- | media-libs/libdvbcsa/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/libdvbcsa/Manifest b/media-libs/libdvbcsa/Manifest index d4ba96f39b36..ee24c8d5e3ca 100644 --- a/media-libs/libdvbcsa/Manifest +++ b/media-libs/libdvbcsa/Manifest @@ -1,3 +1,4 @@ DIST libdvbcsa-1.1.0.tar.gz 345487 BLAKE2B ff5d9347f4255ca2c4e62477771715a7d8fcfca6eeb3a2e6cfdfcd903c9927a35d9049d18ec5a9d458328d6a3712d6cf81633e7ddc7c67d1a8099b8d56b2fd68 SHA512 f336bc90711261bb86bb42f897d5207a71da5a384bfb7d641de7e1fb3a43d20aeec250e9a5ceaf0b20f1e4335ccda70055675256c6889873bf1bfff55005a015 +EBUILD libdvbcsa-1.1.0-r1.ebuild 931 BLAKE2B beb110cdbe9989f6b0498beb0576d6e81d0016edb0bd890d63b1f0bdd406c16b5a3d1d77f6cc38c48721aecbc7c5b2e52c20312ef9dfd4391641da3848a607c6 SHA512 10cc4b2ded9095bd760ad7102ecfb0a5cdb659e70be46be52813247e32b29dab6d508bd41d6071b392bc4fb4fe1cbae034b5a2b68ea427ac7a748a246d72efa4 EBUILD libdvbcsa-1.1.0.ebuild 806 BLAKE2B cb24d42c44474bc57e207a5e7736303be510ecf33bb33f9d8d733e4eb580def21e132b4d7b15865000e81a610317b51a5177c3bbd81332fd037fa6e883abb15c SHA512 5c12338d1abaa400e3eaac194d7d3263af90cf9beb87daddbefb5a692107cd67492ee3b1a653713a52358c2629ce7520c7599de77229585a2d25759ecf86255c MISC metadata.xml 247 BLAKE2B 158fa8dff063e01e64b4835fa1f199518ecf7d81282ee8c893efc0d4d73454e16adb3189ee8cd1272bbada6fb5ffc2b5aadbd796490c829cba1a4b8e3e20f29f SHA512 8bffd29ab89c8dc401ad49655e30a6bd3a953bf8f6c9309b318f3b03ed7bcf2e5c10533ac70967e549edcd512f6be13b9bce3e36175286370ba499dcb119f6fc diff --git a/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild b/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f0fa2c6f9dde --- /dev/null +++ b/media-libs/libdvbcsa/libdvbcsa-1.1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Free implementation of the DVB Common Scrambling Algorithm - DVB/CSA" +HOMEPAGE="https://www.videolan.org/developers/libdvbcsa.html" +SRC_URI="https://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse2 debug" + +src_configure() { + local myeconfargs=( + --disable-static + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable debug) + ) + + # Enabling MMX makes the configure script ignore SSE2. + if use cpu_flags_x86_sse2; then + myeconfargs+=( + --disable-mmx + --enable-sse2 + ) + else + myeconfargs+=( + $(use_enable cpu_flags_x86_mmx mmx) + --disable-sse2 + ) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |