diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-10-07 16:16:18 +0200 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-10-07 10:26:23 -0400 |
commit | be515c587fdcdb175c5cdcf22a8cabaeb8c65104 (patch) | |
tree | 3d6f4f8d0506b82051c295257f0d086b4a40b5e6 | |
parent | app-emulation/img: Use -mod vendor (diff) | |
download | gentoo-be515c587fdcdb175c5cdcf22a8cabaeb8c65104.tar.gz gentoo-be515c587fdcdb175c5cdcf22a8cabaeb8c65104.tar.bz2 gentoo-be515c587fdcdb175c5cdcf22a8cabaeb8c65104.zip |
media-libs/libprojectm: Moved virtual/pkgconfig to BDEPEND
minor ebuild adjustments
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/13197
Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r-- | media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild | 16 | ||||
-rw-r--r-- | media-libs/libprojectm/libprojectm-9999.ebuild | 21 |
2 files changed, 23 insertions, 14 deletions
diff --git a/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild b/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild index 70df39cf0c23..19885a4052bc 100644 --- a/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild +++ b/media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild @@ -35,8 +35,10 @@ RDEPEND="gles2? ( media-libs/mesa[gles2] ) sdl? ( >=media-libs/libsdl2-2.0.5 ) sys-libs/zlib" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" src_prepare() { default @@ -44,9 +46,11 @@ src_prepare() { } src_configure() { - econf \ - $(use_enable gles2 gles ) \ - $(use_enable qt5 qt ) \ - $(use_enable sdl ) \ + local myeconfargs=( + $(use_enable gles2 gles) + $(use_enable qt5 qt) + $(use_enable sdl) --enable-emscripten=no + ) + econf "${myeconfargs[@]}" } diff --git a/media-libs/libprojectm/libprojectm-9999.ebuild b/media-libs/libprojectm/libprojectm-9999.ebuild index 01b1d4b50af4..19885a4052bc 100644 --- a/media-libs/libprojectm/libprojectm-9999.ebuild +++ b/media-libs/libprojectm/libprojectm-9999.ebuild @@ -12,9 +12,10 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/projectM-visualizer/projectm.git" inherit git-r3 else - SRC_URI="https://github.com/projectM-visualizer/projectm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + MY_PV="${PV/_/-}" + SRC_URI="https://github.com/projectM-visualizer/projectm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" - S=${WORKDIR}/projectm-${PV}/ + S=${WORKDIR}/projectm-${MY_PV}/ fi LICENSE="LGPL-2" @@ -34,8 +35,10 @@ RDEPEND="gles2? ( media-libs/mesa[gles2] ) sdl? ( >=media-libs/libsdl2-2.0.5 ) sys-libs/zlib" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" src_prepare() { default @@ -43,9 +46,11 @@ src_prepare() { } src_configure() { - econf \ - $(use_enable gles2 gles ) \ - $(use_enable qt5 qt ) \ - $(use_enable sdl ) \ + local myeconfargs=( + $(use_enable gles2 gles) + $(use_enable qt5 qt) + $(use_enable sdl) --enable-emscripten=no + ) + econf "${myeconfargs[@]}" } |