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/moodbar |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/moodbar')
-rw-r--r-- | media-sound/moodbar/Manifest | 6 | ||||
-rw-r--r-- | media-sound/moodbar/files/moodbar-0.1.2-gthread_init.patch | 13 | ||||
-rw-r--r-- | media-sound/moodbar/metadata.xml | 12 | ||||
-rw-r--r-- | media-sound/moodbar/moodbar-0.1.2.ebuild | 29 |
4 files changed, 60 insertions, 0 deletions
diff --git a/media-sound/moodbar/Manifest b/media-sound/moodbar/Manifest new file mode 100644 index 000000000000..f931a68f4f34 --- /dev/null +++ b/media-sound/moodbar/Manifest @@ -0,0 +1,6 @@ +AUX moodbar-0.1.2-gthread_init.patch 597 SHA256 b5f73f4cf26e97d33ce38fa4457c5021d6463d4bcfaed0826f9ac09b85c042a6 SHA512 b4f606d32c3a6d20669515648a4da7762590e90cc267a97fe978b7ccdbea34a209b76eb0e62d1c19a902ebc0f307c73b62f44ffd6d056f3fbb7996173de365dc WHIRLPOOL 12cd066b76cb1fb40a9e3dae95ed5143aae0afaeaf841e192767cca8eadece687e8e5a64b3d074152c1a29d606d3a5d52ca025d14a670c7cb6b8d48b3b6c2f97 +DIST moodbar-0.1.2.tar.gz 327715 SHA256 3d53627c3d979636e98bbe1e745ed79e98f1238148ba4f8379819f9083b3d9c4 SHA512 52616c870eedd643198792e398807205dd257ecc092dfd4b909a98c77b8f4d986bbfe9694fcc5653b07253f88e175f185b1cf3b397af2089eefd2625a13b70f3 WHIRLPOOL c6f258ed05cad5789a2e9287731d272d2389b957f3876eb7538f3e7b6d6c2cad12c2466323ead622e227d096c45e47ad960d221a1987d58aaed4e652d0c00bd0 +EBUILD moodbar-0.1.2.ebuild 715 SHA256 0bdf949cc5ed539cdbe9962acce1dd78953514dabb4ad297d48dc82739b01394 SHA512 33f856a57b7191f48ab0276db79adff9472c9efa43720c0ec5521a43adede4f7e4c7604c14c440e3ee0ad68662941541c66d9ade425fc359585dc8f078e283ff WHIRLPOOL c53641e8778dedde1bfb66595deedf03c50a879019d4087e130b20279d0a94e70cca689c98a473a5e867fcb97647e40d68cc92fa651c5158598abff9c917db4f +MISC ChangeLog 2643 SHA256 6b2ddbae2c96d507335050456a00658ef7fcb3c6e8b7d9705d8ffa9f01cceece SHA512 8ca4dcd5f85c9a963747c346081f3562283ff24cebd7c87d25001eaa842a400bae45d266ff6f2d1340a6a978141b834e83b3dda6cf837cac67566974a77fceef WHIRLPOOL bed7c908bf753a8b1e9896de60e1c7a6157335666feee224d7540cbaa3d021d997187f4afd6e9763307c84133f5bea0358f09cd56008480aa15fc5de286d243f +MISC ChangeLog-2015 1556 SHA256 1f98b4d9a094c85f2bbe6ee214a77892cfe9735cec7bc62d1dcccf368ec2adce SHA512 38b1288c08c51ff84d6dde1466160c6c392e07a7550b38c72e88571d20c4908daebfc532a0f4c744bab53fc3e93c8553a75ddf01c2ceb3c732b53a5489bfb34e WHIRLPOOL 674bac63f1d253935f5218b6c79372cf3aa91a8119cb80065efd720efd800932457962f13b62e199b3d23f2941f7647036d939349fbeb6aa87100baba8fd33fa +MISC metadata.xml 362 SHA256 aacebbe349b87e9e2a1fac0fda8862adfbab4aa2636edef9a8dda86d36b5e0b6 SHA512 5f32dceddf22f0816a38959dfe7302a5bf9039d339a36e5e8c18824a131db432ea14377a8613309a5c424f5b767a96571d6b21a0bc9ae2e33ab31428f4e1b23c WHIRLPOOL aba33eda0e6befc2c8af13eeb6b30facd63efbc51a76e76a871001aeb411e9cde460c8330455d22c1bdb4fe9a39b077141479cf2a86bb6f422b22674df475109 diff --git a/media-sound/moodbar/files/moodbar-0.1.2-gthread_init.patch b/media-sound/moodbar/files/moodbar-0.1.2-gthread_init.patch new file mode 100644 index 000000000000..028be99dc502 --- /dev/null +++ b/media-sound/moodbar/files/moodbar-0.1.2-gthread_init.patch @@ -0,0 +1,13 @@ +diff -ur moodbar-0.1.2.orig/analyzer/main.c moodbar-0.1.2/analyzer/main.c +--- moodbar-0.1.2.orig/analyzer/main.c 2006-10-12 08:43:30.000000000 +0300 ++++ moodbar-0.1.2/analyzer/main.c 2009-05-09 14:14:08.000000000 +0300 +@@ -262,6 +262,9 @@ + GOptionContext *ctx; + GError *err = NULL; + ++ // must be called before any other glib function is called ++ if (!g_thread_supported ()) g_thread_init(NULL); ++ + ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer"); + g_option_context_add_group (ctx, gst_init_get_option_group ()); + g_option_context_add_main_entries (ctx, entries, NULL); diff --git a/media-sound/moodbar/metadata.xml b/media-sound/moodbar/metadata.xml new file mode 100644 index 000000000000..7b55da445128 --- /dev/null +++ b/media-sound/moodbar/metadata.xml @@ -0,0 +1,12 @@ +<?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> +<maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/moodbar/moodbar-0.1.2.ebuild b/media-sound/moodbar/moodbar-0.1.2.ebuild new file mode 100644 index 000000000000..5fcc8bafef63 --- /dev/null +++ b/media-sound/moodbar/moodbar-0.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +inherit eutils + +DESCRIPTION="The moodbar tool and gstreamer plugin for Amarok" +HOMEPAGE="https://userbase.kde.org/Amarok/Manual/Various/Moodbar" +SRC_URI="http://pwsp.net/~qbob/moodbar-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="mp3 ogg vorbis flac" + +RDEPEND="media-libs/gst-plugins-base:0.10 + media-libs/gst-plugins-good:0.10 + media-plugins/gst-plugins-meta:0.10 + sci-libs/fftw:3.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gthread_init.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |