diff options
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/banshee/default.nix | 57 | ||||
-rw-r--r-- | pkgs/applications/audio/milkytracker/decompressor_gzip.patch | 20 | ||||
-rw-r--r-- | pkgs/applications/audio/milkytracker/default.nix | 27 | ||||
-rw-r--r-- | pkgs/applications/audio/pulseaudio-modules-bt/default.nix | 63 | ||||
-rw-r--r-- | pkgs/applications/audio/puredata/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/audio/qmmp/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/audio/rosegarden/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/audio/snd/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/audio/sound-juicer/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/spotify/default.nix | 8 |
10 files changed, 89 insertions, 104 deletions
diff --git a/pkgs/applications/audio/banshee/default.nix b/pkgs/applications/audio/banshee/default.nix deleted file mode 100644 index 8a4e8893c8d3..000000000000 --- a/pkgs/applications/audio/banshee/default.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ stdenv, lib, fetchurl, intltool, pkgconfig, gstreamer, gst-plugins-base -, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-ffmpeg, glib -, mono, mono-addins, dbus-sharp-1_0, dbus-sharp-glib-1_0, notify-sharp, gtk-sharp-2_0 -, boo, gdata-sharp, taglib-sharp, sqlite, gnome-sharp, gconf, gtk-sharp-beans, gio-sharp -, libmtp, libgpod, mono-zeroconf }: - -stdenv.mkDerivation rec { - name = "banshee-${version}"; - version = "2.6.2"; - - src = fetchurl { - url = "https://ftp.gnome.org/pub/GNOME/sources/banshee/2.6/banshee-${version}.tar.xz"; - sha256 = "1y30p8wxx5li39i5gpq2wib0ympy8llz0gyi6ri9bp730ndhhz7p"; - }; - - dontStrip = true; - - nativeBuildInputs = [ pkgconfig intltool ]; - buildInputs = [ - gtk-sharp-2_0.gtk gstreamer gst-plugins-base gst-plugins-good - gst-plugins-bad gst-plugins-ugly gst-ffmpeg - mono dbus-sharp-1_0 dbus-sharp-glib-1_0 mono-addins notify-sharp - gtk-sharp-2_0 boo gdata-sharp taglib-sharp sqlite gnome-sharp gconf gtk-sharp-beans - gio-sharp libmtp libgpod mono-zeroconf - ]; - - makeFlags = [ "PREFIX=$(out)" ]; - - postPatch = '' - patchShebangs data/desktop-files/update-desktop-file.sh - patchShebangs build/private-icon-theme-installer - sed -i "s,DOCDIR=.*,DOCDIR=$out/lib/monodoc," configure - ''; - - postInstall = let - ldLibraryPath = lib.makeLibraryPath [ gtk-sharp-2_0.gtk gtk-sharp-2_0 sqlite gconf glib gstreamer ]; - - monoGACPrefix = lib.concatStringsSep ":" [ - mono dbus-sharp-1_0 dbus-sharp-glib-1_0 mono-addins notify-sharp gtk-sharp-2_0 - boo gdata-sharp taglib-sharp sqlite gnome-sharp gconf gtk-sharp-beans - gio-sharp libmtp libgpod mono-zeroconf - ]; - in '' - sed -e '2a export MONO_GAC_PREFIX=${monoGACPrefix}' \ - -e 's|LD_LIBRARY_PATH=|LD_LIBRARY_PATH=${ldLibraryPath}:|' \ - -e "s|GST_PLUGIN_PATH=|GST_PLUGIN_PATH=$GST_PLUGIN_SYSTEM_PATH:|" \ - -e 's| mono | ${mono}/bin/mono |' \ - -i $out/bin/banshee - ''; - meta = with lib; { - homepage = "http://banshee.fm/"; - description = "A music player written in C# using GNOME technologies"; - platforms = platforms.linux; - maintainers = [ maintainers.zohl ]; - license = licenses.mit; - }; -} diff --git a/pkgs/applications/audio/milkytracker/decompressor_gzip.patch b/pkgs/applications/audio/milkytracker/decompressor_gzip.patch deleted file mode 100644 index c64421116dea..000000000000 --- a/pkgs/applications/audio/milkytracker/decompressor_gzip.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://bugs.archlinux.org/task/31324 -https://410333.bugs.gentoo.org/attachment.cgi?id=322456 - -diff -ur src.old/compression/DecompressorGZIP.cpp src/compression/DecompressorGZIP.cpp ---- src.old/compression/DecompressorGZIP.cpp 2012-08-28 17:54:46.000000000 +0200 -+++ src/compression/DecompressorGZIP.cpp 2012-08-28 17:55:21.000000000 +0200 -@@ -57,11 +57,11 @@ - - bool DecompressorGZIP::decompress(const PPSystemString& outFileName, Hints hint) - { -- gzFile *gz_input_file = NULL; -+ gzFile gz_input_file = NULL; - int len = 0; - pp_uint8 *buf; - -- if ((gz_input_file = (void **)gzopen (fileName.getStrBuffer(), "r")) == NULL) -+ if ((gz_input_file = gzopen (fileName.getStrBuffer(), "r")) == NULL) - return false; - - if ((buf = new pp_uint8[0x10000]) == NULL) diff --git a/pkgs/applications/audio/milkytracker/default.nix b/pkgs/applications/audio/milkytracker/default.nix index 6a71971c5fdf..6b3abeb1e23c 100644 --- a/pkgs/applications/audio/milkytracker/default.nix +++ b/pkgs/applications/audio/milkytracker/default.nix @@ -1,29 +1,26 @@ -{ stdenv, fetchurl, SDL2, alsaLib, cmake, libjack2, perl -, zlib, zziplib, pkgconfig, makeWrapper -}: +{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper +, SDL2, alsaLib, libjack2, lhasa, perl, rtmidi, zlib, zziplib }: stdenv.mkDerivation rec { - version = "1.01"; + version = "1.02.00"; name = "milkytracker-${version}"; - src = fetchurl { - url = "https://github.com/milkytracker/MilkyTracker/archive/v${version}.00.tar.gz"; - sha256 = "1dvnddsnn9c83lz4dlm0cfjpc0m524amfkbalxbswdy0qc8cj1wv"; + src = fetchFromGitHub { + owner = "milkytracker"; + repo = "MilkyTracker"; + rev = "v${version}"; + sha256 = "05a6d7l98k9i82dwrgi855dnccm3f2lkb144gi244vhk1156n0ca"; }; - preBuild='' - export CPATH=${zlib.out}/lib - ''; - nativeBuildInputs = [ cmake pkgconfig makeWrapper ]; - buildInputs = [ SDL2 alsaLib libjack2 perl zlib zziplib ]; + buildInputs = [ SDL2 alsaLib libjack2 lhasa perl rtmidi zlib zziplib ]; - meta = { + meta = with stdenv.lib; { description = "Music tracker application, similar to Fasttracker II"; homepage = http://milkytracker.org; - license = stdenv.lib.licenses.gpl3Plus; + license = licenses.gpl3Plus; platforms = [ "x86_64-linux" "i686-linux" ]; - maintainers = [ stdenv.lib.maintainers.zoomulator ]; + maintainers = with maintainers; [ zoomulator ]; }; } diff --git a/pkgs/applications/audio/pulseaudio-modules-bt/default.nix b/pkgs/applications/audio/pulseaudio-modules-bt/default.nix new file mode 100644 index 000000000000..e3d07fcc2457 --- /dev/null +++ b/pkgs/applications/audio/pulseaudio-modules-bt/default.nix @@ -0,0 +1,63 @@ +{ stdenv +, runCommand +, fetchFromGitHub +, libpulseaudio +, pulseaudio +, pkgconfig +, libtool +, cmake +, bluez +, dbus +, sbc +}: + +let + pulseSources = runCommand "pulseaudio-sources" {} '' + mkdir $out + tar -xf ${pulseaudio.src} + mv pulseaudio*/* $out/ + ''; + +in stdenv.mkDerivation rec { + name = "pulseaudio-modules-bt-${version}"; + version = "unstable-2018-09-11"; + + src = fetchFromGitHub { + owner = "EHfive"; + repo = "pulseaudio-modules-bt"; + rev = "9c6ad75382f3855916ad2feaa6b40e37356d80cc"; + sha256 = "1iz4m3y6arsvwcyvqc429w252dl3apnhvl1zhyvfxlbg00d2ii0h"; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ + pkgconfig + cmake + ]; + + buildInputs = [ + libpulseaudio + pulseaudio + libtool + bluez + dbus + sbc + ]; + + NIX_CFLAGS_COMPILE = [ + "-L${pulseaudio}/lib/pulseaudio" + ]; + + prePatch = '' + rm -r pa + ln -s ${pulseSources} pa + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/EHfive/pulseaudio-modules-bt; + description = "SBC, Sony LDAC codec (A2DP Audio) support for Pulseaudio"; + platforms = platforms.linux; + license = licenses.mit; + maintainers = with maintainers; [ adisbladis ]; + }; +} diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix index 6aca7e9ce226..354b7c4b6c7b 100644 --- a/pkgs/applications/audio/puredata/default.nix +++ b/pkgs/applications/audio/puredata/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { name = "puredata-${version}"; - version = "0.48-0"; + version = "0.48-2"; src = fetchurl { url = "http://msp.ucsd.edu/Software/pd-${version}.src.tar.gz"; - sha256 = "0wy9kl2v00fl27x4mfzhbca415hpaisp6ls8a6mkl01qbw20krny"; + sha256 = "0p86hncgzkrl437v2wch2fg9iyn6mnrgbn811sh9pwmrjj2f06v8"; }; nativeBuildInputs = [ autoreconfHook gettext makeWrapper ]; diff --git a/pkgs/applications/audio/qmmp/default.nix b/pkgs/applications/audio/qmmp/default.nix index dc12baefed14..f58e75c9e263 100644 --- a/pkgs/applications/audio/qmmp/default.nix +++ b/pkgs/applications/audio/qmmp/default.nix @@ -29,11 +29,11 @@ # handle that. stdenv.mkDerivation rec { - name = "qmmp-1.2.2"; + name = "qmmp-1.2.3"; src = fetchurl { url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2"; - sha256 = "01nnyg8m3p3px1fj3lfsqqv9zh1388dwx1bm2qv4v87jywimgp79"; + sha256 = "05lqmj22vr5ch1i0928d64ybdnn3qc66s9lgarx5s6x6ffr6589j"; }; buildInputs = diff --git a/pkgs/applications/audio/rosegarden/default.nix b/pkgs/applications/audio/rosegarden/default.nix index e57d85de05a9..0b2bd9507e55 100644 --- a/pkgs/applications/audio/rosegarden/default.nix +++ b/pkgs/applications/audio/rosegarden/default.nix @@ -3,12 +3,12 @@ , liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }: stdenv.mkDerivation (rec { - version = "17.12.1"; + version = "18.06"; name = "rosegarden-${version}"; src = fetchurl { url = "mirror://sourceforge/rosegarden/${name}.tar.bz2"; - sha256 = "155kqbxg85wqv0w97cmmx8wq0r4xb3qpnk20lfma04vj8k6hc1mg"; + sha256 = "04qc80sqb2ji42pq3mayhvqqn39hlxzymsywpbpzfpchr19chxx7"; }; patchPhase = '' diff --git a/pkgs/applications/audio/snd/default.nix b/pkgs/applications/audio/snd/default.nix index 7c96fd364c18..0709917a0442 100644 --- a/pkgs/applications/audio/snd/default.nix +++ b/pkgs/applications/audio/snd/default.nix @@ -4,11 +4,11 @@ }: stdenv.mkDerivation rec { - name = "snd-18.6"; + name = "snd-18.7"; src = fetchurl { url = "mirror://sourceforge/snd/${name}.tar.gz"; - sha256 = "1jyqkkz2a6zw0jn9y15xd3027r8glkpw794fjk6hd3al1byjhz2z"; + sha256 = "1d7g043r534shwsq5s4xsywgn5qv96v9wnhdx04j21s9w7fy9ypl"; }; nativeBuildInputs = [ pkgconfig ]; diff --git a/pkgs/applications/audio/sound-juicer/default.nix b/pkgs/applications/audio/sound-juicer/default.nix index e38f38dad78c..f402721e180d 100644 --- a/pkgs/applications/audio/sound-juicer/default.nix +++ b/pkgs/applications/audio/sound-juicer/default.nix @@ -22,6 +22,8 @@ in stdenv.mkDerivation rec{ gst_all_1.gst-libav ]; + NIX_CFLAGS_COMPILE="-Wno-error=format-nonliteral"; + passthru = { updateScript = gnome3.updateScript { packageName = pname; diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix index 1639ab34b6cf..81cda4edaedb 100644 --- a/pkgs/applications/audio/spotify/default.nix +++ b/pkgs/applications/audio/spotify/default.nix @@ -5,14 +5,14 @@ let # TO UPDATE: just execute the ./update.sh script (won't do anything if there is no update) # "rev" decides what is actually being downloaded - version = "1.0.88.353.g15c26ea1-14"; + version = "1.0.83.316.ge96b6e67-5"; # To get the latest stable revision: # curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated' # To get general information: # curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.' - # More exapmles of api usage: + # More examples of api usage: # https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py - rev = "19"; + rev = "17"; deps = [ @@ -65,7 +65,7 @@ stdenv.mkDerivation { # https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334 src = fetchurl { url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap"; - sha512 = "3a068cbe3c1fca84ae67e28830216f993aa459947517956897c3b3f63063005c9db646960e85185b149747ffc302060c208a7f9968ea69d50a3496067089f3db"; + sha512 = "19bbr4142shsl4qrikf48vq7kyrd4k4jbsada13qxicxps46a9bx51vjm2hkijqv739c1gdkgzwx7llyk95z26lhrz53shm2n5ij8xi"; }; buildInputs = [ squashfsTools makeWrapper ]; |