diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-sound/xnoise | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'media-sound/xnoise')
-rw-r--r-- | media-sound/xnoise/Manifest | 3 | ||||
-rw-r--r-- | media-sound/xnoise/files/xnoise-0.2.21-QA-fix-desktop-file.patch | 54 | ||||
-rw-r--r-- | media-sound/xnoise/xnoise-0.2.21.ebuild | 76 |
3 files changed, 88 insertions, 45 deletions
diff --git a/media-sound/xnoise/Manifest b/media-sound/xnoise/Manifest index aee060a69fa3..541633c94912 100644 --- a/media-sound/xnoise/Manifest +++ b/media-sound/xnoise/Manifest @@ -1,3 +1,4 @@ +AUX xnoise-0.2.21-QA-fix-desktop-file.patch 1054 BLAKE2B b5d218b4657a440407e8a4fd83e553959abdf2c92979fe1fcd27499fa8f5eeea46f97b41d3eb98f158ee5cb085b94be13b84dacac8afe9afd9e71e71c3993466 SHA512 b8849ae122ee54c47c5d703cddfa86f0abb141fe997f1a37d5a3692bb3d5cddc0a86cc57865f4535cc5787863914fc38ce32762d2a1058646ed5b4f4226ec06b DIST xnoise-0.2.21.tar.gz 3222030 BLAKE2B c58561f4e042ccf7d7fdeb271801ccc2d447138cf5c1afb2f8f0bb098135d957aa289799e59f2c96a76a01ccfeeb9574d87f0d987b1e3ace9d22a3ced8ec88b9 SHA512 e25f42795638a5b93f1922f1c761b0bdaf754414dfa0f7172407e0d10514c52844d0dc3146a32f93e6107a0b5bb0f8e9e5d098954e9659f28177c56f607d9851 -EBUILD xnoise-0.2.21.ebuild 1599 BLAKE2B 84d3713b2bc0d3c0a1d8eb4993800524db138290004c9a8ea6019fdc779627e395e54c3764d45f15821db5f2906df25349e6b8afb31a0c0ba6d9b6f74584e7ec SHA512 00cff72964cb19620995e0dd7816368ebe8d3e2e8f55d0d9b314d736986921d9da030b63759a013e15fe110402aff91923a5d3ed7b506160f585e765ae6a4bdd +EBUILD xnoise-0.2.21.ebuild 1376 BLAKE2B a56406977f172b7e9c41cff403d714036060cfe74313738e451c9414215f38241d0ed54063037014d1fa7ef63bb7a8c00d326a2760ac7313188f863bb9eeee63 SHA512 40108cc0ee2d95740788081030bfdef0227852c60393181d8e109b167cd14e13cd5225b1240c06fbcc9b2927f15ed1e199d7806c4196e60016b4f66d028dbce7 MISC metadata.xml 507 BLAKE2B 45efdf6c0fab90d05dfcc0f601d2de99bce91a80539b6a50a5bfdaf2d64f6f808843f90817144efa6c6dc5f47ebd9427d4fdcf283e1189fd814bd1e72d20c395 SHA512 06e64ff5b075eb264ebfea8d77a95cdcf901e08df501abcdf4383dca64314185abc0d539df5d306e83bc4e26488ae8182cbd5c21cb39cf8314d70f070463b446 diff --git a/media-sound/xnoise/files/xnoise-0.2.21-QA-fix-desktop-file.patch b/media-sound/xnoise/files/xnoise-0.2.21-QA-fix-desktop-file.patch new file mode 100644 index 000000000000..d57cb4b6f393 --- /dev/null +++ b/media-sound/xnoise/files/xnoise-0.2.21-QA-fix-desktop-file.patch @@ -0,0 +1,54 @@ +--- a/data/misc/xnoise.desktop.in ++++ b/data/misc/xnoise.desktop.in +@@ -16,24 +16,19 @@ + [Desktop Action Play] + _Name=Play/Pause + Exec=xnoise --play-pause +-OnlyShowIn=Unity; + + [Desktop Action Stop] + _Name=Stop + Exec=xnoise --stop +-OnlyShowIn=Unity; + + [Desktop Action Next] + _Name=Goto next track + Exec=xnoise --next +-OnlyShowIn=Unity; + + [Desktop Action Previous] + _Name=Goto previous track + Exec=xnoise --previous +-OnlyShowIn=Unity; + + [Desktop Action Quit] + _Name=Quit application + Exec=xnoise --quit +-OnlyShowIn=Unity; +--- a/data/misc/xnoise.desktop.in.in ++++ b/data/misc/xnoise.desktop.in.in +@@ -16,24 +16,19 @@ + [Desktop Action Play] + _Name=Play/Pause + Exec=xnoise --play-pause +-OnlyShowIn=Unity; + + [Desktop Action Stop] + _Name=Stop + Exec=xnoise --stop +-OnlyShowIn=Unity; + + [Desktop Action Next] + _Name=Goto next track + Exec=xnoise --next +-OnlyShowIn=Unity; + + [Desktop Action Previous] + _Name=Goto previous track + Exec=xnoise --previous +-OnlyShowIn=Unity; + + [Desktop Action Quit] + _Name=Quit application + Exec=xnoise --quit +-OnlyShowIn=Unity; diff --git a/media-sound/xnoise/xnoise-0.2.21.ebuild b/media-sound/xnoise/xnoise-0.2.21.ebuild index d5590f18edb4..facda46f48f5 100644 --- a/media-sound/xnoise/xnoise-0.2.21.ebuild +++ b/media-sound/xnoise/xnoise-0.2.21.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit xdg-utils gnome2-utils +EAPI=7 -DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of -features" +inherit xdg + +DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of features" HOMEPAGE="http://www.xnoise-media-player.com/" SRC_URI="https://www.bitbucket.org/shuerhaaken/${PN}/downloads/${P}.tar.gz" @@ -14,60 +14,48 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="ayatana +lastfm +lyrics" -RDEPEND="x11-libs/gtk+:3 - >=dev-libs/glib-2.34:2 +RDEPEND=" + dev-db/sqlite:3= + dev-libs/glib:2 gnome-base/librsvg:2 - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0= + media-libs/gst-plugins-base:1.0= + media-libs/libtaginfo:= media-plugins/gst-plugins-meta:1.0 - dev-db/sqlite:3 - >=media-libs/libtaginfo-0.2.0 - x11-libs/cairo + x11-libs/cairo:= + x11-libs/gtk+:3 x11-libs/libX11 - ayatana? ( dev-libs/libappindicator:3 ) - lastfm? ( net-libs/libsoup:2.4 ) - lyrics? ( net-libs/libsoup:2.4 - dev-libs/libxml2:2 )" -DEPEND="${RDEPEND} + ayatana? ( dev-libs/libappindicator:3= ) + lastfm? ( net-libs/libsoup:2.4= ) + lyrics? ( + net-libs/libsoup:2.4= + dev-libs/libxml2:2= + )" +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/intltool - virtual/pkgconfig - sys-devel/gettext" - -DOCS=( AUTHORS README ) + sys-devel/gettext + virtual/pkgconfig" -src_prepare() { - sed -i -e "/OnlyShowIn/d" data/misc/xnoise.desktop.* || die -} +PATCHES=( "${FILESDIR}"/${PN}-0.2.21-QA-fix-desktop-file.patch ) src_configure() { econf \ - $(use_enable ayatana appindicator) \ - $(use_enable lyrics lyricwiki) \ - $(use_enable lastfm) \ + --enable-magnatune \ + --enable-mediakeys \ --enable-mpris \ --enable-soundmenu2 \ - --enable-mediakeys \ + $(use_enable ayatana appindicator) \ + $(use_enable lastfm) \ + $(use_enable lyrics lyricwiki) \ $(use_enable lyrics chartlyrics) \ - $(use_enable lyrics azlyrics) \ - --enable-magnatune + $(use_enable lyrics azlyrics) } src_install() { default - find "${ED}" -type f -name "*.la" -delete || die rm -rf "${ED}"/usr/share/${PN}/license || die -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update + # no static archives + find "${D}" -name '*.la' -delete || die } |