summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libprojectm/libprojectm-3.1.1_rc5-r1.ebuild16
-rw-r--r--media-libs/libprojectm/libprojectm-9999.ebuild21
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[@]}"
}