Re: [proaudio] proaudio/proaudio: [3046] doesn't configure anymore

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Wait, this should work. Fixed proaudio's version.

In 19 Jul 2017 10:59:13 +0200
subversion@xxxxxxxxxxxxx wrote:

> Revision: 3046
> Author:   dominique
> Date:     2017-07-19 10:59:12 +0200 (Wed, 19 Jul 2017)
> Log Message:
> -----------
> doesn't configure anymore
> 
> Modified Paths:
> --------------
>     trunk/overlays/proaudio/00-DETAILED-PACKAGES-LIST
> 
> Removed Paths:Wed, 
> -------------
>     trunk/overlays/proaudio/media-sound/stretchplayer/
> 

--- /var/lib/layman/proaudio/media-sound/stretchplayer/stretchplayer-9999.ebuild	2015-09-30 13:16:49.245137537 +0500
+++ /usr/local/portage/media-sound/stretchplayer/stretchplayer-9999-r1.ebuild	2017-06-11 00:57:05.141164691 +0500
@@ -2,15 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="2"
+EAPI="6"
 
-inherit eutils cmake-utils git-2
+inherit flag-o-matic cmake-utils git-r3
 
 DESCRIPTION="Audio player with time stretch and pitch shift"
-HOMEPAGE="http://www.teuton.org/~gabriel/stretchplayer/";
-EGIT_REPO_URI="git://gitorious.org/stretchplayer/stretchplayer.git"
+HOMEPAGE="https://github.com/smbolton/stretchplayer http://www.teuton.org/~gabriel/stretchplayer/";
+EGIT_REPO_URI="https://github.com/smbolton/stretchplayer.git";
 
-LICENSE="GPL-2"
+LICENSE="GPL-2 GPL-3"
 SLOT="0"
 KEYWORDS=""
 IUSE="debug"
@@ -24,29 +24,28 @@
 DEPEND="${RDEPEND}
 	dev-util/cmake"
 
-pkg_setup() {
-	DOCS="AUTHORS COPYING README.txt"
-}
+DOCS=( AUTHORS BUGS.txt COPYING README.txt gpl-2.0.txt gpl-3.0.txt )
+ICON_SIZES="16 22 24 32 48"
 
 src_configure() {
-	local mycmakeargs=""
-	if use debug; then
-		mycmakeargs+=" -DCMAKE_BUILD_TYPE=Debug"
-	fi
-
+	local mycmakeargs=(
+		-DCMAKE_BUILD_TYPE="$( usex debug Debug Release )"
+	)
+	append-cxxflags -fpermissive
 	cmake-utils_src_configure
 }
 
 src_compile() {
 	cmake-utils_src_compile
-	cp Documentation/ui-mockup.svg stretchplayer.svg
 }
 
 src_install() {
 	cmake-utils_src_install
-	insinto /usr/share/pixmaps
-	doins "${S}/stretchplayer.svg"
-	make_desktop_entry stretchplayer StretchPlayer /usr/share/pixmaps/stretchplayer.svg AudioVideo
+	newicon -s scalable "art/stretchplayer-icon.svg" stretchplayer.svg
+	for size in ${ICON_SIZES}; do
+		echo "Installing icon for size ${size}"
+		newicon -s ${size} "art/stretchplayer-icon-${size}x${size}.png" stretchplayer.png
+	done
 }
 
 pkg_postinst() {

Attachment: stretchplayer-9999-r1.ebuild
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/