Merge remote-tracking branch 'remotes/origin/master'
authorBen de Groot <yngwin@gentoo.org>
Mon, 17 Aug 2015 15:39:07 +0000 (23:39 +0800)
committerBen de Groot <yngwin@gentoo.org>
Mon, 17 Aug 2015 15:39:07 +0000 (23:39 +0800)
1  2 
media-sound/ardour/ardour-4.2-r1.ebuild

index c8aad5cdb632f29114df47af1dba91535ecf7b79,29167b33e061e07cf189bbadf9c08aff1a5d2bb3..8774ca016a588503248dc923758d129f8d2a21ff
@@@ -61,16 -63,28 +61,16 @@@ RDEPEND=
                >=media-libs/suil-0.6.10
                >=media-libs/lv2-1.4.0
        )"
 -
  DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
 -      virtual/pkgconfig
        >=media-sound/jack-audio-connection-kit-0.120
        sys-devel/gettext
 +      virtual/pkgconfig
        doc? ( app-doc/doxygen[dot] )"
 -      if ! [ ${PV} = 9999 ]; then
 -              DEPEND="${DEPEND}"
 -      fi
 -
 -src_unpack() {
 -      if [ ${PV} = 9999 ]; then
 -              git-2_src_unpack
 -      else
 -              unpack ${A}
 -      fi
 -}
  
  src_prepare(){
 -      if ! [ ${PV} = 9999 ]; then
 +      if ! [[ ${PV} == *9999* ]]; then
-               epatch "${FILESDIR}"/${PN}-4.2-revision-naming.patch
+               epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
                touch "${S}/libs/ardour/revision.cc"
        fi
        $(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch)