[proaudio] proaudio/proaudio: [3247] EAPI7, general cleanup

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


Revision: 3247
Author:   dominique
Date:     2021-12-26 11:50:12 +0100 (Sun, 26 Dec 2021)
Log Message:
-----------
EAPI7, general cleanup

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/alsaplayer/ChangeLog
    trunk/overlays/proaudio/media-sound/alsaplayer/Manifest
    trunk/overlays/proaudio/media-sound/alsaplayer/alsaplayer-9999.ebuild

Modified: trunk/overlays/proaudio/media-sound/alsaplayer/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/alsaplayer/ChangeLog	2021-12-21 09:32:29 UTC (rev 3246)
+++ trunk/overlays/proaudio/media-sound/alsaplayer/ChangeLog	2021-12-26 10:50:12 UTC (rev 3247)
@@ -1,7 +1,10 @@
 # ChangeLog for media-sound/alsaplayer
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2021 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Dec 2021; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxxxxxxxx>
+  alsaplayer-9999.ebuild: EAPI 7, general cleanup.
+
   29 Jun 2014; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxxxxxxxx>
   alsaplayer-9999.ebuild: Commented out src_prepare, and changed it
   for easy patching.

Modified: trunk/overlays/proaudio/media-sound/alsaplayer/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/alsaplayer/Manifest	2021-12-21 09:32:29 UTC (rev 3246)
+++ trunk/overlays/proaudio/media-sound/alsaplayer/Manifest	2021-12-26 10:50:12 UTC (rev 3247)
@@ -1,3 +1,3 @@
-EBUILD alsaplayer-9999.ebuild 1744 BLAKE2B 4b032465c9a92df899cfc12532fc0b03623138824ad6a61fd0df54296952269616d3f154d47c122d9591f20eff37f93a7bc7318cb275e5d77cb274c3f41e7e23 SHA512 4acf49fc6bc50ec020754ba3af35115f653b93287145f02d86f174095f16bd2bac7c358ddb6e324f459d296415b4430a854b7954e4647eee2fca94b30eb263a5
-MISC ChangeLog 11714 BLAKE2B d1888c1a6bc69dc32e309da9ab9994817870f10401bb1339b1b7b019f3b67107d91764da899681ca444229e640ed5de3b4c9a893f4506ef05acaeb1c3e11e0a9 SHA512 df9100357af341be8b2ebbb10b82293e254cc85c5adcabd00d057ddb4f0cf554f735986b4c45d668669e305c1699f3d27b8677c4385469c1d6f936fc0764b1f0
+EBUILD alsaplayer-9999.ebuild 1678 BLAKE2B 7139b6495849ca9e6ba753087aa3f8f104c5af7c40d5f7aaa81fced01cca220359b7eae820866388bc59e6858ea2599e272369f9fb032f58cac5765a85a91329 SHA512 78423af54e8a695b25ce358a9713bd216bed60872433633d87d1138a70c51f03b12a32055667584ed458e3c5593909bee95908e7f4fd9b416252a37c0abadf72
+MISC ChangeLog 11838 BLAKE2B cbeacc5a39ca12250d0b5645e7fffe17b987cca0e1aef0e089c39897c12dc2e45ade90be0ed4b93c56388f7ea0fbb28b654f995dc032af59af26a680e7608266 SHA512 10946717f35202c9e704f1946d3dcd2ac5b26071bff4a62362f1ed9bf2b3e638788964276ec4e3362a52abde2377b50f22fc3fbe847ae9f3e261dc6e050a93cf
 MISC metadata.xml 324 BLAKE2B 4b6b754e59eff6fc469ec14073b22b9aac974ec09900ee14c08aae5d33aeebb0ac44f86a5b878c893341033eefa9f8f2a79725cda7f60e06a535aaaaf0e0e8cd SHA512 50c6953b0597aecfc45f7fbdaabdb9c1949dc070ba6f71859f4971e4ba626345293ac3d60207e6fd34cd3e8241e32bec17f34f9eeeaafa2c81425c606810bb26

Modified: trunk/overlays/proaudio/media-sound/alsaplayer/alsaplayer-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/alsaplayer/alsaplayer-9999.ebuild	2021-12-21 09:32:29 UTC (rev 3246)
+++ trunk/overlays/proaudio/media-sound/alsaplayer/alsaplayer-9999.ebuild	2021-12-26 10:50:12 UTC (rev 3247)
@@ -1,15 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI="5"
+EAPI=7
 
-inherit eutils git-r3 flag-o-matic autotools-utils
+inherit git-r3 autotools xdg-utils
 
-AUTOTOOLS_AUTORECONF="1"
+EGIT_REPO_URI="https://github.com/alsaplayer/alsaplayer.git";
 
-EGIT_REPO_URI="git://github.com/alsaplayer/alsaplayer.git"
-
 DESCRIPTION="Media player primarily utilising ALSA"
 HOMEPAGE="http://www.alsaplayer.org/";
 
@@ -18,8 +15,6 @@
 KEYWORDS=""
 IUSE="alsa doc flac gtk jack mad mikmod nas nls ogg opengl oss vorbis systray xosd"
 
-S="${WORKDIR}/${PN}"
-
 RDEPEND="media-libs/libsndfile
 	alsa? ( media-libs/alsa-lib )
 	mad? ( media-libs/libmad )
@@ -40,15 +35,12 @@
 	gtk? ( >=x11-libs/gtk+-2.8 )
 	systray? ( >=x11-libs/gtk+-2.10 )"
 
-# Don't install the dekstop file otherwise
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
 DOCS=( AUTHORS ChangeLog README.md TODO docs/wishlist.txt )
 
-#src_prepare() {
-#	epatch "${FILESDIR}"/*.patch
-#	autotools-utils_src_prepare
-#}
+src_prepare() {
+	default
+	eautoreconf
+}
 
 src_configure() {
 	use xosd || export ac_cv_lib_xosd_xosd_create="no"
@@ -55,22 +47,30 @@
 
 	use doc || export ac_cv_prog_HAVE_DOXYGEN="false"
 
-	local myeconfargs=(
-		$(use_enable flac)
-		$(use_enable jack)
-		$(use_enable mad)
-		$(use_enable mikmod)
-		$(use_enable nas)
-		$(use_enable opengl)
-		$(use_enable oss)
-		$(use_enable nls)
-		$(use_enable sparc)
-		$(use_enable vorbis oggvorbis)
-		$(use_enable gtk gtk2)
-		$(use_enable systray)
-		--disable-esd
-		--disable-sgi
+	econf \
+		$(use_enable flac) \
+		$(use_enable jack) \
+		$(use_enable mad) \
+		$(use_enable mikmod) \
+		$(use_enable nas) \
+		$(use_enable opengl) \
+		$(use_enable oss) \
+		$(use_enable nls) \
+		$(use_enable sparc) \
+		$(use_enable vorbis oggvorbis) \
+		$(use_enable gtk gtk2) \
+		$(use_enable systray) \
+		--disable-esd \
+		--disable-sgi \
 		--disable-dependency-tracking
-	)
-	autotools-utils_src_configure
 }
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}


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