public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/exaile/, media-sound/exaile/files/
@ 2020-08-11  8:45 Miroslav Šulc
  0 siblings, 0 replies; 2+ messages in thread
From: Miroslav Šulc @ 2020-08-11  8:45 UTC (permalink / raw
  To: gentoo-commits

commit:     171803227f3ded10b76442406583c55e3b04c0ec
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 08:42:09 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 08:45:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17180322

media-sound/exile: bump to 4.1.0_alpha1 + added live + dropped py2

based on updated ebuild provided by Wicher Minnaard <wicher <AT> gavagai.eu>

Closes: https://bugs.gentoo.org/708966
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/exaile/Manifest                        |  2 +-
 ...-4.0.0-r1.ebuild => exaile-4.1.0_alpha1.ebuild} | 44 +++++++++-------------
 .../{exaile-4.0.0-r1.ebuild => exaile-9999.ebuild} | 44 +++++++++-------------
 .../files/exaile-4.1.0_alpha1-metainfo.patch       | 29 ++++++++++++++
 4 files changed, 66 insertions(+), 53 deletions(-)

diff --git a/media-sound/exaile/Manifest b/media-sound/exaile/Manifest
index 0b01eca38e4..b91cb78d9a0 100644
--- a/media-sound/exaile/Manifest
+++ b/media-sound/exaile/Manifest
@@ -1 +1 @@
-DIST exaile-4.0.0.tar.gz 3635774 BLAKE2B 91a5a0a4b8f3c55ec1c8f6487f30bbc8193b1e8b861bbc4bf3cba18dcef91c8a58c937e7a581378eec9da518565826c35e55b7ab157b7ee4634d36cd71a85c4e SHA512 50ab8ec7a65dc431f2bc71a302d21e59ac3d5939b89a90ec161527e1d5c0b80b8c396f8f323b2959e0b807f577e021863fe423bf26a8f7165a6dd112afca6e45
+DIST exaile-4.1.0alpha1.tar.gz 3605803 BLAKE2B ea4862581aa4d95c1944967e1d30979284538353e7d95ef345e6dddf1702be98e4c7c21918bf9a8cb277f339c812fd6671d84e695d6e5b179a2f65358e0e75f0 SHA512 56e73f7cc4d250fbc30870170b50f65f0f99d27e97a8f28dd043af9eb93c919a8de3ed790cbd6c441133232afb3c405fa830cb62c8c33bb0a6e4d97b79d5b54d

diff --git a/media-sound/exaile/exaile-4.0.0-r1.ebuild b/media-sound/exaile/exaile-4.1.0_alpha1.ebuild
similarity index 74%
copy from media-sound/exaile/exaile-4.0.0-r1.ebuild
copy to media-sound/exaile/exaile-4.1.0_alpha1.ebuild
index 0b906b58ea7..ea8a80d4a9e 100644
--- a/media-sound/exaile/exaile-4.0.0-r1.ebuild
+++ b/media-sound/exaile/exaile-4.1.0_alpha1.ebuild
@@ -3,33 +3,37 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-inherit python-single-r1 xdg-utils
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-single-r1 xdg
 
-if [[ ${PV} = *9999* ]]; then
+if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
 else
-	SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
-	KEYWORDS="amd64 x86"
-	S="${WORKDIR}/${PN}-${PV/_/}"
+	SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/${PN}-${PV/_/-}"
 fi
 
 DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
 HOMEPAGE="https://www.exaile.org/"
-
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-IUSE="cddb libnotify nls scrobbler"
+# IUSE+=cddb if have dev-python/cddb-py
+IUSE="libnotify nls scrobbler"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+BDEPEND="
+	nls? (
+		dev-util/intltool
+		sys-devel/gettext
+	)
+"
 RDEPEND="${PYTHON_DEPS}
 	>=media-libs/gst-plugins-base-1.6:1.0
 	>=media-libs/gst-plugins-good-1.4:1.0
 	media-plugins/gst-plugins-meta:1.0
 	>=x11-libs/gtk+-3.10:3[introspection]
-	cddb? ( dev-python/cddb-py )
 	libnotify? ( >=x11-libs/libnotify-0.7[introspection] )
 	$(python_gen_cond_dep '
 		dev-python/bsddb3[${PYTHON_MULTI_USEDEP}]
@@ -41,15 +45,13 @@ RDEPEND="${PYTHON_DEPS}
 		scrobbler? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] )
 	')
 "
-BDEPEND="
-	nls? (
-		dev-util/intltool
-		sys-devel/gettext
-	)
-"
 
 RESTRICT="test" #315589
 
+PATCHES=(
+	"${FILESDIR}/${P}-metainfo.patch"
+)
+
 pkg_setup() {
 	python-single-r1_pkg_setup
 }
@@ -68,13 +70,3 @@ src_install() {
 	python_optimize "${D}/usr/$(get_libdir)/${PN}"
 	python_optimize "${D}/usr/share/${PN}"
 }
-
-pkg_postinst() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}

diff --git a/media-sound/exaile/exaile-4.0.0-r1.ebuild b/media-sound/exaile/exaile-9999.ebuild
similarity index 74%
rename from media-sound/exaile/exaile-4.0.0-r1.ebuild
rename to media-sound/exaile/exaile-9999.ebuild
index 0b906b58ea7..48f583a4ba0 100644
--- a/media-sound/exaile/exaile-4.0.0-r1.ebuild
+++ b/media-sound/exaile/exaile-9999.ebuild
@@ -3,33 +3,37 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="sqlite"
-inherit python-single-r1 xdg-utils
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit python-single-r1 xdg
 
-if [[ ${PV} = *9999* ]]; then
+if [[ ${PV} == "9999" ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
 else
-	SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
-	KEYWORDS="amd64 x86"
-	S="${WORKDIR}/${PN}-${PV/_/}"
+	SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+	S="${WORKDIR}/${PN}-${PV/_/-}"
 fi
 
 DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
 HOMEPAGE="https://www.exaile.org/"
-
 LICENSE="GPL-2 GPL-3"
 SLOT="0"
-IUSE="cddb libnotify nls scrobbler"
+# IUSE+=cddb if have dev-python/cddb-py
+IUSE="libnotify nls scrobbler"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+BDEPEND="
+	nls? (
+		dev-util/intltool
+		sys-devel/gettext
+	)
+"
 RDEPEND="${PYTHON_DEPS}
 	>=media-libs/gst-plugins-base-1.6:1.0
 	>=media-libs/gst-plugins-good-1.4:1.0
 	media-plugins/gst-plugins-meta:1.0
 	>=x11-libs/gtk+-3.10:3[introspection]
-	cddb? ( dev-python/cddb-py )
 	libnotify? ( >=x11-libs/libnotify-0.7[introspection] )
 	$(python_gen_cond_dep '
 		dev-python/bsddb3[${PYTHON_MULTI_USEDEP}]
@@ -41,15 +45,13 @@ RDEPEND="${PYTHON_DEPS}
 		scrobbler? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] )
 	')
 "
-BDEPEND="
-	nls? (
-		dev-util/intltool
-		sys-devel/gettext
-	)
-"
 
 RESTRICT="test" #315589
 
+PATCHES=(
+	"${FILESDIR}/${PN}-4.1.0_alpha1-metainfo.patch"
+)
+
 pkg_setup() {
 	python-single-r1_pkg_setup
 }
@@ -68,13 +70,3 @@ src_install() {
 	python_optimize "${D}/usr/$(get_libdir)/${PN}"
 	python_optimize "${D}/usr/share/${PN}"
 }
-
-pkg_postinst() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}

diff --git a/media-sound/exaile/files/exaile-4.1.0_alpha1-metainfo.patch b/media-sound/exaile/files/exaile-4.1.0_alpha1-metainfo.patch
new file mode 100644
index 00000000000..11e80706bd8
--- /dev/null
+++ b/media-sound/exaile/files/exaile-4.1.0_alpha1-metainfo.patch
@@ -0,0 +1,29 @@
+--- exaile-4.1.0-alpha1_orig/Makefile	2020-03-09 01:54:13.000000000 +0100
++++ exaile-4.1.0-alpha1/Makefile	2020-08-03 10:14:23.498153577 +0200
+@@ -81,7 +81,7 @@
+ 	install -d -m 755 $(EXAILESHAREDIR)/data/ui/preferences/widgets
+ 	install -d -m 755 $(EXAILESHAREDIR)/data/ui/widgets
+ 	install -d -m 755 $(DESTDIR)$(DATADIR)/pixmaps
+-	install -d -m 755 $(DESTDIR)$(DATADIR)/appdata
++	install -d -m 755 $(DESTDIR)$(DATADIR)/metainfo
+ 	install -d -m 755 $(DESTDIR)$(DATADIR)/applications
+ 	install -d -m 755 $(DESTDIR)$(DATADIR)/dbus-1/services
+ 	install -d -m 755 $(EXAILEMANDIR)/man1
+@@ -96,7 +96,7 @@
+ 	rm -rf $(EXAILECONFDIR)
+ 	rm -f $(DESTDIR)$(DATADIR)/applications/exaile.desktop
+ 	rm -f $(DESTDIR)$(DATADIR)/pixmaps/exaile.png
+-	rm -f $(DESTDIR)$(DATADIR)/appdata/exaile.appdata.xml
++	rm -f $(DESTDIR)$(DATADIR)/metainfo/exaile.metainfo.xml
+ 	rm -f $(DESTDIR)$(DATADIR)/dbus-1/services/org.exaile.Exaile.service
+ 	rm -f $(EXAILEMANDIR)/man1/exaile.1.gz
+ 	rm -f $(DESTDIR)$(BASHCOMPDIR)/exaile
+@@ -154,7 +154,7 @@
+ 	install -m 644 data/exaile.desktop \
+ 		$(DESTDIR)$(DATADIR)/applications/
+ 	install -m 644 data/exaile.appdata.xml \
+-		$(DESTDIR)$(DATADIR)/appdata/
++		$(DESTDIR)$(DATADIR)/metainfo/exaile.metainfo.xml
+ 	-install -m 644 build/exaile.1.gz $(EXAILEMANDIR)/man1/
+ 	-install -m 644 build/exaile.bash-completion $(DESTDIR)$(BASHCOMPDIR)/exaile
+ 	-install -m 644 build/exaile.fish-completion $(DESTDIR)$(FISHCOMPDIR)/exaile.fish


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/exaile/, media-sound/exaile/files/
@ 2022-09-12  6:26 Miroslav Šulc
  0 siblings, 0 replies; 2+ messages in thread
From: Miroslav Šulc @ 2022-09-12  6:26 UTC (permalink / raw
  To: gentoo-commits

commit:     1f327ab1679d23cf79bcebaee4bf39806b16fcbc
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 12 06:26:35 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 06:26:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f327ab1

media-sound/exaile: dropped obsolete 4.1.1-r1

Bug: https://bugs.gentoo.org/869425
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/exaile/Manifest                        |  1 -
 media-sound/exaile/exaile-4.1.1-r1.ebuild          | 72 ----------------------
 .../exaile/files/exaile-4.1.1-metainfo.patch       | 29 ---------
 3 files changed, 102 deletions(-)

diff --git a/media-sound/exaile/Manifest b/media-sound/exaile/Manifest
index 544d8b19db0c..4ea8546ade82 100644
--- a/media-sound/exaile/Manifest
+++ b/media-sound/exaile/Manifest
@@ -1,2 +1 @@
-DIST exaile-4.1.1.tar.gz 3641073 BLAKE2B 34222ddba782dd51897c017d7a77da9a796e45dad69983f934e76cc559c2e52f2173ee418004943ca087fd894439bc42a6eff2a5d6146e6189ec1cd478f5d08b SHA512 babf37253054fbeb6dad33aedafe969201860d4f35222d577343256730be943682c1a5f2f7cec7c574695624cb2b7abbdff4e6eaada848d22fea073c2c44bd23
 DIST exaile-4.1.2.tar.gz 3708188 BLAKE2B 859d77bac62df0843291fdc0de4888079c8f103da3cdf3417d0cd5ba67cf5199a8a1e89d20403efbc6793dfcd7b8333708df74ff535e0912fb02502a13702a0a SHA512 7711f9e062088b02362bbd404f7c61a0f1c128e29e42ce657dc092cac351641f6000846c9da843866bf28ccbd68cf1b07731ba1c9854d52b33c0448e87d0e93b

diff --git a/media-sound/exaile/exaile-4.1.1-r1.ebuild b/media-sound/exaile/exaile-4.1.1-r1.ebuild
deleted file mode 100644
index adfea4458e8a..000000000000
--- a/media-sound/exaile/exaile-4.1.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-inherit python-single-r1 xdg
-
-if [[ ${PV} == "9999" ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
-else
-	SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
-	KEYWORDS="amd64 ~x86"
-	S="${WORKDIR}/${PN}-${PV/_/-}"
-fi
-
-DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
-HOMEPAGE="https://www.exaile.org/"
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-# IUSE+=cddb if have dev-python/cddb-py
-IUSE="libnotify nls scrobbler"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-BDEPEND="
-	nls? (
-		dev-util/intltool
-		sys-devel/gettext
-	)
-"
-RDEPEND="${PYTHON_DEPS}
-	media-libs/gst-plugins-base:1.0
-	media-libs/gst-plugins-good:1.0
-	media-plugins/gst-plugins-meta:1.0
-	x11-libs/gtk+:3[introspection]
-	libnotify? ( x11-libs/libnotify[introspection] )
-	$(python_gen_cond_dep '
-		dev-python/bsddb3[${PYTHON_USEDEP}]
-		dev-python/dbus-python[${PYTHON_USEDEP}]
-		dev-python/gst-python:1.0[${PYTHON_USEDEP}]
-		dev-python/pycairo[${PYTHON_USEDEP}]
-		dev-python/pygobject:3[${PYTHON_USEDEP}]
-		media-libs/mutagen[${PYTHON_USEDEP}]
-		scrobbler? ( dev-python/pylast[${PYTHON_USEDEP}] )
-	')
-"
-
-RESTRICT="test" #315589
-
-PATCHES=(
-	"${FILESDIR}/${P}-metainfo.patch"
-)
-
-pkg_setup() {
-	python-single-r1_pkg_setup
-}
-
-src_compile() {
-	use nls && emake locale
-}
-
-src_install() {
-	emake \
-		PREFIX=/usr \
-		LIBINSTALLDIR=/usr/$(get_libdir) \
-		DESTDIR="${D}" \
-		install$(use nls || echo _no_locale)
-
-	python_optimize "${D}/usr/$(get_libdir)/${PN}"
-	python_optimize "${D}/usr/share/${PN}"
-}

diff --git a/media-sound/exaile/files/exaile-4.1.1-metainfo.patch b/media-sound/exaile/files/exaile-4.1.1-metainfo.patch
deleted file mode 100644
index 11e80706bd8e..000000000000
--- a/media-sound/exaile/files/exaile-4.1.1-metainfo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- exaile-4.1.0-alpha1_orig/Makefile	2020-03-09 01:54:13.000000000 +0100
-+++ exaile-4.1.0-alpha1/Makefile	2020-08-03 10:14:23.498153577 +0200
-@@ -81,7 +81,7 @@
- 	install -d -m 755 $(EXAILESHAREDIR)/data/ui/preferences/widgets
- 	install -d -m 755 $(EXAILESHAREDIR)/data/ui/widgets
- 	install -d -m 755 $(DESTDIR)$(DATADIR)/pixmaps
--	install -d -m 755 $(DESTDIR)$(DATADIR)/appdata
-+	install -d -m 755 $(DESTDIR)$(DATADIR)/metainfo
- 	install -d -m 755 $(DESTDIR)$(DATADIR)/applications
- 	install -d -m 755 $(DESTDIR)$(DATADIR)/dbus-1/services
- 	install -d -m 755 $(EXAILEMANDIR)/man1
-@@ -96,7 +96,7 @@
- 	rm -rf $(EXAILECONFDIR)
- 	rm -f $(DESTDIR)$(DATADIR)/applications/exaile.desktop
- 	rm -f $(DESTDIR)$(DATADIR)/pixmaps/exaile.png
--	rm -f $(DESTDIR)$(DATADIR)/appdata/exaile.appdata.xml
-+	rm -f $(DESTDIR)$(DATADIR)/metainfo/exaile.metainfo.xml
- 	rm -f $(DESTDIR)$(DATADIR)/dbus-1/services/org.exaile.Exaile.service
- 	rm -f $(EXAILEMANDIR)/man1/exaile.1.gz
- 	rm -f $(DESTDIR)$(BASHCOMPDIR)/exaile
-@@ -154,7 +154,7 @@
- 	install -m 644 data/exaile.desktop \
- 		$(DESTDIR)$(DATADIR)/applications/
- 	install -m 644 data/exaile.appdata.xml \
--		$(DESTDIR)$(DATADIR)/appdata/
-+		$(DESTDIR)$(DATADIR)/metainfo/exaile.metainfo.xml
- 	-install -m 644 build/exaile.1.gz $(EXAILEMANDIR)/man1/
- 	-install -m 644 build/exaile.bash-completion $(DESTDIR)$(BASHCOMPDIR)/exaile
- 	-install -m 644 build/exaile.fish-completion $(DESTDIR)$(FISHCOMPDIR)/exaile.fish


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-12  6:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12  6:26 [gentoo-commits] repo/gentoo:master commit in: media-sound/exaile/, media-sound/exaile/files/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2020-08-11  8:45 Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox