From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- media-sound/exaile/Manifest | 6 +- media-sound/exaile/exaile-4.0.0-r1.ebuild | 80 ---------------------- media-sound/exaile/exaile-4.1.0_alpha1.ebuild | 72 +++++++++++++++++++ media-sound/exaile/exaile-9999.ebuild | 72 +++++++++++++++++++ .../files/exaile-4.1.0_alpha1-metainfo.patch | 29 ++++++++ 5 files changed, 177 insertions(+), 82 deletions(-) delete mode 100644 media-sound/exaile/exaile-4.0.0-r1.ebuild create mode 100644 media-sound/exaile/exaile-4.1.0_alpha1.ebuild create mode 100644 media-sound/exaile/exaile-9999.ebuild create mode 100644 media-sound/exaile/files/exaile-4.1.0_alpha1-metainfo.patch (limited to 'media-sound/exaile') diff --git a/media-sound/exaile/Manifest b/media-sound/exaile/Manifest index 9497afd31422..90113595206b 100644 --- a/media-sound/exaile/Manifest +++ b/media-sound/exaile/Manifest @@ -1,3 +1,5 @@ -DIST exaile-4.0.0.tar.gz 3635774 BLAKE2B 91a5a0a4b8f3c55ec1c8f6487f30bbc8193b1e8b861bbc4bf3cba18dcef91c8a58c937e7a581378eec9da518565826c35e55b7ab157b7ee4634d36cd71a85c4e SHA512 50ab8ec7a65dc431f2bc71a302d21e59ac3d5939b89a90ec161527e1d5c0b80b8c396f8f323b2959e0b807f577e021863fe423bf26a8f7165a6dd112afca6e45 -EBUILD exaile-4.0.0-r1.ebuild 1880 BLAKE2B 7c2b3908f0947aad72d08e22e4410361ed36c0a1e42c33ee0a2df0699da9d74321098227386625bf5786e907a9027bace5561f090eab36e03dd4dea6a14aa6a7 SHA512 4306843e4c831ea0a6c7b97c0b2fc17362d484128e9c3427c755c576e3905b33535e42247513f3c3f4b74f11812f86875aaf21857dab99f0970d09e467f885d8 +AUX exaile-4.1.0_alpha1-metainfo.patch 1472 BLAKE2B 5c466aa63e8fc4538d53f07fcb5c943bbabfb1f4a7b1037b13f013c3cb9286470ae56007e35772ad015863b0debf684f85fa56e1ba664ac2f2ca5a1afc50936b SHA512 80b642e037335706b24ec907bc7d50e2cfb9505c18bed33deecb7d8aa282d6fbdb9ac1272e49f561a99593e498c5b84ea9298297095910950ef5c0208288120e +DIST exaile-4.1.0alpha1.tar.gz 3605803 BLAKE2B ea4862581aa4d95c1944967e1d30979284538353e7d95ef345e6dddf1702be98e4c7c21918bf9a8cb277f339c812fd6671d84e695d6e5b179a2f65358e0e75f0 SHA512 56e73f7cc4d250fbc30870170b50f65f0f99d27e97a8f28dd043af9eb93c919a8de3ed790cbd6c441133232afb3c405fa830cb62c8c33bb0a6e4d97b79d5b54d +EBUILD exaile-4.1.0_alpha1.ebuild 1746 BLAKE2B 830f140637ac433e019a056f81e1053034db892996ba97997819c1afec6f186d1a26035a36dafb9b5854a30d079b9ed1f38ffe6fba401cbacb36ceb0ee5c27b0 SHA512 e023668c90a03a6da18900f37a13b47a8e0ef0bbbbc6fe0fc77b33227252172183c441f9c220f0d6230a7a01463687872ece5a680edd15bf3c8c30e348cbc04f +EBUILD exaile-9999.ebuild 1760 BLAKE2B 96ca041dfa3a821d602433d6e1841b8aabd673e0ceaf7874e29165f6c63c0b9cf0ef6af45c0b309f09a8b8349e07b9a1a2f30411de08c7d45515d2a4918acf9e SHA512 47044feb4ac0940aca5e2747261e0c1fdd024e578c00ccd5ae97e1245108a6e8e53aafc91a780a5d8479e09e47d526ee5a17d4b683fbf8da358fa667b0b55f11 MISC metadata.xml 465 BLAKE2B 1524388af85ca2f4b928ad4670fa8cc2a86a69f51d72c0dc0a755ca22a05ec95587bab11cfa9f10c9f65cd9a4b08c91ec1fb445f69f9163f54b4a86e2fb99746 SHA512 4185b5a40189086940aa0139e953f39d0af627af73ef2c34f77727e7b8ce596f6f69350531cc7b85cbea4968b7b4413f923f9eda61738a8e1c1dee3b85809942 diff --git a/media-sound/exaile/exaile-4.0.0-r1.ebuild b/media-sound/exaile/exaile-4.0.0-r1.ebuild deleted file mode 100644 index 0b906b58ea75..000000000000 --- a/media-sound/exaile/exaile-4.0.0-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" -inherit python-single-r1 xdg-utils - -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/_/}" -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" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -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}] - dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] - dev-python/gst-python:1.0[${PYTHON_MULTI_USEDEP}] - dev-python/pycairo[${PYTHON_MULTI_USEDEP}] - >=dev-python/pygobject-3.13.2:3[${PYTHON_MULTI_USEDEP}] - >=media-libs/mutagen-1.10[${PYTHON_MULTI_USEDEP}] - scrobbler? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) - ') -" -BDEPEND=" - nls? ( - dev-util/intltool - sys-devel/gettext - ) -" - -RESTRICT="test" #315589 - -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}" -} - -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.1.0_alpha1.ebuild b/media-sound/exaile/exaile-4.1.0_alpha1.ebuild new file mode 100644 index 000000000000..ea8a80d4a9e1 --- /dev/null +++ b/media-sound/exaile/exaile-4.1.0_alpha1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +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.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] + libnotify? ( >=x11-libs/libnotify-0.7[introspection] ) + $(python_gen_cond_dep ' + dev-python/bsddb3[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/gst-python:1.0[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygobject-3.13.2:3[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.10[${PYTHON_MULTI_USEDEP}] + scrobbler? ( dev-python/pylast[${PYTHON_MULTI_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/exaile-9999.ebuild b/media-sound/exaile/exaile-9999.ebuild new file mode 100644 index 000000000000..48f583a4ba0a --- /dev/null +++ b/media-sound/exaile/exaile-9999.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +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.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] + libnotify? ( >=x11-libs/libnotify-0.7[introspection] ) + $(python_gen_cond_dep ' + dev-python/bsddb3[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/gst-python:1.0[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_MULTI_USEDEP}] + >=dev-python/pygobject-3.13.2:3[${PYTHON_MULTI_USEDEP}] + >=media-libs/mutagen-1.10[${PYTHON_MULTI_USEDEP}] + scrobbler? ( dev-python/pylast[${PYTHON_MULTI_USEDEP}] ) + ') +" + +RESTRICT="test" #315589 + +PATCHES=( + "${FILESDIR}/${PN}-4.1.0_alpha1-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.0_alpha1-metainfo.patch b/media-sound/exaile/files/exaile-4.1.0_alpha1-metainfo.patch new file mode 100644 index 000000000000..11e80706bd8e --- /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 -- cgit v1.2.3