From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54668) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6SoR-0003wp-C9 for guix-patches@gnu.org; Sat, 07 Sep 2019 00:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6SoQ-0004cj-1a for guix-patches@gnu.org; Sat, 07 Sep 2019 00:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i6SoP-0004cc-V3 for guix-patches@gnu.org; Sat, 07 Sep 2019 00:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i6SoP-00034i-Sl for guix-patches@gnu.org; Sat, 07 Sep 2019 00:59:01 -0400 Subject: [bug#37329] [PATCH] gnu: Add audacious. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54514) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6Snd-0003u7-DT for guix-patches@gnu.org; Sat, 07 Sep 2019 00:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6Snb-0004Ko-4P for guix-patches@gnu.org; Sat, 07 Sep 2019 00:58:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33025) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i6SnY-0004JF-1R for guix-patches@gnu.org; Sat, 07 Sep 2019 00:58:09 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 055292400E6 for ; Sat, 7 Sep 2019 06:58:03 +0200 (CEST) From: Kei Kebreau Date: Sat, 7 Sep 2019 00:57:55 -0400 Message-Id: <20190907045755.6578-1-kkebreau@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37329@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/music.scm (audacious): New variable. --- gnu/packages/music.scm | 102 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index a43bccf4f8..33c53dec35 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -203,6 +203,108 @@ and play MIDI files with a few clicks in a user-fri= endly interface offering score, keyboard, guitar, drum and controller views.") (license license:gpl3+))) =20 +(define-public audacious + (package + (name "audacious") + (version "3.10.1") + (source (origin + (method url-fetch) + (uri (string-append "https://distfiles.audacious-media-pla= yer.org/" + "audacious-" version ".tar.bz2")) + (sha256 + (base32 + "14vbkhld5hwh96j8p8hjq9ybvc2m060a1y8crz14i51wpd0fhrl3"))= )) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--disable-gtk" "--enable-qt" + ;; Add the output lib directory to the RUNPATH. + (string-append "LDFLAGS=3D-Wl,-rpath=3D" %output "/lib")) + #:tests? #f ; no check target + #:phases + (modify-phases %standard-phases + (add-after 'install 'unpack-plugins + (lambda* (#:key inputs #:allow-other-keys) + (let ((plugins (assoc-ref inputs "audacious-plugins"))) + (invoke "tar" "xvf" plugins) + (chdir (string-append "audacious-plugins-" ,version)) + #t))) + (add-after 'unpack-plugins 'configure-plugins + (lambda* (#:key configure-flags outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "configure" + (("/bin/sh") (which "sh"))) + (apply invoke "./configure" + (append configure-flags + ;; audacious-plugins requires audacious to= build. + (list (string-append "PKG_CONFIG_PATH=3D" + out "/lib/pkgconfig:" + (getenv "PKG_CONFIG_P= ATH")) + (string-append "--prefix=3D" out))))= ))) + (add-after 'configure-plugins 'build-plugins + (lambda _ + (invoke "make" "-j" (number->string (parallel-job-count))))= ) + (add-after 'build-plugins 'install-plugins + (lambda _ + (invoke "make" "install")))))) + (native-inputs + `(("audacious-plugins" + ,(origin + (method url-fetch) + (uri (string-append "https://distfiles.audacious-media-player= .org/" + "audacious-plugins-" version ".tar.bz2")) + (sha256 + (base32 + "0hi61825ayrwc4snwr76f2669k06fii3n8ll1szjk5zr65v1ghzf")))) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") ; for gdbus-codegen + ("pkg-config" ,pkg-config))) + (inputs + `(("dbus" ,dbus) + ("glib" ,glib) + ("qtbase" ,qtbase) + ;; Plugin dependencies + ("alsa-lib" ,alsa-lib) + ("curl" ,curl) + ("ffmpeg" ,ffmpeg) + ("flac" ,flac) + ("fluidsynth" ,fluidsynth) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libbs2b" ,libbs2b) + ("libcddb" ,libcddb) + ("libcdio-paranoia" ,libcdio-paranoia) + ("libcue" ,libcue) + ("libmodplug" ,libmodplug) + ("libnotify" ,libnotify) + ("libogg" ,libogg) + ("libsamplerate" ,libsamplerate) + ("libsndfile" ,libsndfile) + ("libvorbis" ,libvorbis) + ("libxml2" ,libxml2) + ("lirc" ,lirc) + ("jack" ,jack-1) + ("mpg123" ,mpg123) + ("neon" ,neon) + ("pulseaudio" ,pulseaudio) + ("qtmultimedia" ,qtmultimedia) + ("soxr" ,soxr) + ("wavpack" ,wavpack))) + (home-page "https://audacious-media-player.org") + (synopsis "Audio player based on XMMS") + (description + "Audacious is an audio player descended from XMMS. Drag and drop f= olders +and individual song files, search for artists and albums in your entire = music +library, or create and edit your own custom playlists. Listen to CD=E2=80= =99s or stream +music from the Internet. Tweak the sound with the graphical equalizer o= r +experiment with LADSPA effects. Enjoy the modern GTK-themed interface o= r change +things up with Winamp Classic skins. Use the plugins included with Auda= cious to +fetch lyrics for your music, to set an alarm in the morning, and more.") + ;; According to COPYING, Audacious and its plugins are licensed unde= r the + ;; BSD 2-clause license and libguess is licensed under the BSD 3-cla= use + ;; license. + (license (list license:bsd-2 + license:bsd-3)))) + ;; We don't use the latest release because it depends on Qt4. Instead w= e ;; download the sources from the tip of the "qt5" branch. (define-public clementine --=20 2.23.0