diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/xnoise |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/xnoise')
-rw-r--r-- | media-sound/xnoise/Manifest | 6 | ||||
-rw-r--r-- | media-sound/xnoise/metadata.xml | 15 | ||||
-rw-r--r-- | media-sound/xnoise/xnoise-0.2.21.ebuild | 73 | ||||
-rw-r--r-- | media-sound/xnoise/xnoise-9999.ebuild | 79 |
4 files changed, 173 insertions, 0 deletions
diff --git a/media-sound/xnoise/Manifest b/media-sound/xnoise/Manifest new file mode 100644 index 000000000000..20803109306e --- /dev/null +++ b/media-sound/xnoise/Manifest @@ -0,0 +1,6 @@ +DIST xnoise-0.2.21.tar.gz 3222030 SHA256 6c501091ac5a59aa0596978aa8d4750cc12d6bc9a823fd57542d9ab8e3366681 SHA512 e25f42795638a5b93f1922f1c761b0bdaf754414dfa0f7172407e0d10514c52844d0dc3146a32f93e6107a0b5bb0f8e9e5d098954e9659f28177c56f607d9851 WHIRLPOOL c2773da98b387b783dcc423a78bae6d5f6310e76f8a88eab4bc92b6de056741578a0c7dbffb455c768f412463dc14133f933d42d3215318a55f1addd0df9fee3 +EBUILD xnoise-0.2.21.ebuild 1608 SHA256 7d57eb05a0b63ea907863f037eae90f7bc9c45246dab595b5d9766a5e2db4b02 SHA512 e5dee0cedd451ce78f16ed0a8628ad84e5ab07a1893dace4b6932ead1a1f68f436252f80b834ecf7988438928ab3e3b372f64dea91c79080358935e72378126b WHIRLPOOL f22e3e30b5a22cbd557e84ccaf33fb9cd824f70fa8c2006a51b1382c1af4f2389e20a49a327568eb6215a39ff9b98a0b44f5ff3d96d29d9ccc6313cea89bb41d +EBUILD xnoise-9999.ebuild 1689 SHA256 d8be3a2e5d6ad79b584ee2764e15d5b2d6b3e7f45f2870b1e0b348c64a8facd5 SHA512 23462598c5cbd82c32e072bcc6eba82e2ffd2b8798d386aedc96844ff6d0e9ef535dc2c4113eab98dfab3ed80b0ced6305b14cc2296eb3530c17ff03e4c089d4 WHIRLPOOL fd30f76fc2bb965fa2b429bcdc7e8f1391148aabb6bae332c9fb0202f4b1872a6ef8358575bc4de9b18f263f75659091ca908fd559e68eb70462fcda2dff684a +MISC ChangeLog 2784 SHA256 fb759bb04ea69b9952d1b2bfafbb495cf091f79a0adb102f8ce13d5ee9482346 SHA512 9ebeb88387130bc5416957653b8dc6c727fd5b9ac195e4b53bd8d7d56c909734eb1c2bde7647735f018a3844b9b74b99f1a65a5f3214c9e55c38bb810b5ba6a1 WHIRLPOOL a13904c5cd802e8985e1f61b5d97db186646853219eaec7ab9767304c56b51c29785b4c203ee4415c3382e6fa11f0f6b12c51fba973c774bb741ba651fafc528 +MISC ChangeLog-2015 6214 SHA256 8a2acdaa618d20942fbd05ad1a20012ae2b402a1949e20ba3009c044431139d9 SHA512 7ec371a84bc4b84831511e977e8a3203dafc300038462721d55f4ecb7e44e6b069adae2c3285d3567636b8f63fca8dce36d6c3f43a8eaa7ba7d3ab028e002b73 WHIRLPOOL 275d1515dbbaf25db2e7ac5ed4fdd19673c8eeaf4f9f65b9732650b905880b046b3c9832ba56f277d41fdb7c31698d9e7ecc0630153b4e2441041b8ffbf70c59 +MISC metadata.xml 507 SHA256 8dd2750aef366db1037f8a85829ba5b3c9116acf516c06fc852a0238f7dc8220 SHA512 06e64ff5b075eb264ebfea8d77a95cdcf901e08df501abcdf4383dca64314185abc0d539df5d306e83bc4e26488ae8182cbd5c21cb39cf8314d70f070463b446 WHIRLPOOL 6300a4448c48774f124651a446d59c3fed8b9847bb1210afb1e054bc977d06051196ad90b6e44dfad3dae0a157f0e9d761b88911e2848c2c7ceec76474b8b352 diff --git a/media-sound/xnoise/metadata.xml b/media-sound/xnoise/metadata.xml new file mode 100644 index 000000000000..236fa82f3dfa --- /dev/null +++ b/media-sound/xnoise/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <use> + <flag name="lastfm">Enable support for lastfm cover art fetching and scrobbling</flag> + <flag name="lyrics">Enable support for lyrics fetching</flag> + </use> + <upstream> + <remote-id type="bitbucket">shuerhaaken/xnoise</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/xnoise/xnoise-0.2.21.ebuild b/media-sound/xnoise/xnoise-0.2.21.ebuild new file mode 100644 index 000000000000..f5abf7d7f05f --- /dev/null +++ b/media-sound/xnoise/xnoise-0.2.21.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit fdo-mime gnome2-utils + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ayatana +lastfm +lyrics" + +RDEPEND="x11-libs/gtk+:3 + >=dev-libs/glib-2.34:2 + gnome-base/librsvg:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-meta:1.0 + dev-db/sqlite:3 + >=media-libs/libtaginfo-0.2.0 + x11-libs/cairo + 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} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext" + +DOCS=( AUTHORS README ) + +src_prepare() { + sed -i -e "/OnlyShowIn/d" data/misc/xnoise.desktop.* || die +} + +src_configure() { + econf \ + $(use_enable ayatana appindicator) \ + $(use_enable lyrics lyricwiki) \ + $(use_enable lastfm) \ + --enable-mpris \ + --enable-soundmenu2 \ + --enable-mediakeys \ + $(use_enable lyrics chartlyrics) \ + $(use_enable lyrics azlyrics) \ + --enable-magnatune +} + +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() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} diff --git a/media-sound/xnoise/xnoise-9999.ebuild b/media-sound/xnoise/xnoise-9999.ebuild new file mode 100644 index 000000000000..9d103460ed61 --- /dev/null +++ b/media-sound/xnoise/xnoise-9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +VALA_MIN_API_VERSION=0.20 + +inherit fdo-mime gnome2-utils git-2 vala + +DESCRIPTION="A media player for Gtk+ with a slick GUI, great speed and lots of +features" +HOMEPAGE="http://www.xnoise-media-player.com/" +EGIT_REPO_URI="https://bitbucket.org/shuerhaaken/${PN}.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="ayatana +lastfm +lyrics" + +RDEPEND="x11-libs/gtk+:3 + >=dev-libs/glib-2.34:2 + gnome-base/librsvg:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-meta:1.0 + dev-db/sqlite:3 + >=media-libs/libtaginfo-0.2.0 + x11-libs/cairo + 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} + $(vala_depend) + dev-util/intltool + virtual/pkgconfig + gnome-base/gnome-common:3 + >=sys-devel/autoconf-2.67:2.5 + sys-devel/gettext" + +DOCS=( AUTHORS README ) + +src_prepare() { + NOCONFIGURE=yes ./autogen.sh || die + vala_src_prepare +} + +src_configure() { + econf \ + $(use_enable ayatana appindicator) \ + $(use_enable lyrics lyricwiki) \ + $(use_enable lastfm) \ + --enable-mpris \ + --enable-soundmenu2 \ + --enable-mediakeys \ + $(use_enable lyrics chartlyrics) \ + $(use_enable lyrics azlyrics) \ + --enable-magnatune +} + +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() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |