libreplaygain-477-r1.ebuild 909 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit cmake-multilib
  5. # svn export http://svn.musepack.net/libreplaygain libreplaygain-${PV}
  6. # tar -cJf libreplaygain-${PV}.tar.xz libreplaygain-${PV}
  7. DESCRIPTION="Replay Gain library from Musepack"
  8. HOMEPAGE="http://www.musepack.net/"
  9. SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz"
  10. LICENSE="LGPL-2.1"
  11. SLOT="0"
  12. KEYWORDS="alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
  13. IUSE=""
  14. RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r2
  15. !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
  16. src_prepare() {
  17. sed -i -e '/CMAKE_C_FLAGS/d' CMakeLists.txt || die
  18. }
  19. src_install() {
  20. cmake-multilib_src_install
  21. insinto /usr/include
  22. doins -r include/replaygain
  23. }