diff options
author | Nicholas Vinson <nvinson234@gmail.com> | 2016-12-11 02:55:52 -0800 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-12-11 14:48:38 +0100 |
commit | dd706ea0be38d3b6582534c585db797a292beaf0 (patch) | |
tree | 9a8ae4235e1679679f49a94bc98a542f036b38ac /games-emulation/vbam | |
parent | dev-util/nvidia-cuda-toolkit: Drop use dep to unbreak the tree (diff) | |
download | gentoo-dd706ea0be38d3b6582534c585db797a292beaf0.tar.gz gentoo-dd706ea0be38d3b6582534c585db797a292beaf0.tar.bz2 gentoo-dd706ea0be38d3b6582534c585db797a292beaf0.zip |
games-emulation/vbam: rename vbam-2.0.0_pre1507.ebuild
Rename vbam-2.0.0_pre1507.ebuild to vbam-2.0.0_beta2_pre1507.ebuild.
This ensures the new version (vbam-2.0.0_beta2_pre20161211.ebuild)
to be favored over the older pre version.
Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3076
Diffstat (limited to 'games-emulation/vbam')
-rw-r--r-- | games-emulation/vbam/vbam-2.0.0_beta2_pre1507.ebuild (renamed from games-emulation/vbam/vbam-2.0.0_pre1507.ebuild) | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/games-emulation/vbam/vbam-2.0.0_pre1507.ebuild b/games-emulation/vbam/vbam-2.0.0_beta2_pre1507.ebuild index 1c1d4065539c..5bd487ab1b1a 100644 --- a/games-emulation/vbam/vbam-2.0.0_pre1507.ebuild +++ b/games-emulation/vbam/vbam-2.0.0_beta2_pre1507.ebuild @@ -7,11 +7,13 @@ WX_GTK_VER="3.0" CMAKE_MAKEFILE_GENERATOR=emake inherit cmake-utils wxwidgets flag-o-matic gnome2-utils fdo-mime games +MY_P=${P//_beta2/} + if [[ ${PV} == 9999 ]]; then ESVN_REPO_URI="https://svn.code.sf.net/p/vbam/code/trunk" inherit subversion else - SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz" + SRC_URI="https://dev.gentoo.org/~radhermit/distfiles/${MY_P}.tar.xz" KEYWORDS="amd64 x86" # upstream patches @@ -55,6 +57,8 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) virtual/pkgconfig" +S="${WORKDIR}"/${MY_P} + src_prepare() { [[ ${PV} == 9999 ]] && subversion_src_prepare @@ -63,13 +67,13 @@ src_prepare() { sed -i "s:\(DESTINATION\) bin:\1 ${GAMES_BINDIR}:" \ CMakeLists.txt src/{wx,gtk}/CMakeLists.txt || die - epatch "${FILESDIR}"/${P}-man.patch + epatch "${FILESDIR}"/${MY_P}-man.patch epatch \ - "${DISTDIR}/${P}-ffmpeg3_defines.patch" \ - "${DISTDIR}/${P}-ffmpeg3_audio_recording_kludge.patch" \ - "${DISTDIR}/${P}-ffmpeg3_encoders_no_s16.patch" \ - "${DISTDIR}/${P}-ffmpeg3_nonfunc_video_encoding.patch" + "${DISTDIR}/${MY_P}-ffmpeg3_defines.patch" \ + "${DISTDIR}/${MY_P}-ffmpeg3_audio_recording_kludge.patch" \ + "${DISTDIR}/${MY_P}-ffmpeg3_encoders_no_s16.patch" \ + "${DISTDIR}/${MY_P}-ffmpeg3_nonfunc_video_encoding.patch" } src_configure() { |