From a8dbc5cbd33b6b77295affa659fbde7396f9d43d Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 27 Feb 2018 00:36:42 +0300 Subject: [PATCH] decibel-audio-player:rebuild --- .../files/decibel-audio-player | 18 +++++++++++++++ .../files/decibel-audio-player-pil.patch | 22 +++++++++++++++++++ .../files/decibel-audio-player-remote | 18 +++++++++++++++ .../sound/decibel-audio-player/pspec.xml | 12 ++++++++++ 4 files changed, 70 insertions(+) create mode 100755 multimedia/sound/decibel-audio-player/files/decibel-audio-player create mode 100644 multimedia/sound/decibel-audio-player/files/decibel-audio-player-pil.patch create mode 100755 multimedia/sound/decibel-audio-player/files/decibel-audio-player-remote diff --git a/multimedia/sound/decibel-audio-player/files/decibel-audio-player b/multimedia/sound/decibel-audio-player/files/decibel-audio-player new file mode 100755 index 0000000000..154535d07e --- /dev/null +++ b/multimedia/sound/decibel-audio-player/files/decibel-audio-player @@ -0,0 +1,18 @@ +#!/usr/bin/env sh +# Author: Ingelrest François (Francois.Ingelrest@gmail.com) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +python /usr/share/decibel-audio-player/src/decibel-audio-player.py "$@" & diff --git a/multimedia/sound/decibel-audio-player/files/decibel-audio-player-pil.patch b/multimedia/sound/decibel-audio-player/files/decibel-audio-player-pil.patch new file mode 100644 index 0000000000..3d4ac16481 --- /dev/null +++ b/multimedia/sound/decibel-audio-player/files/decibel-audio-player-pil.patch @@ -0,0 +1,22 @@ +Index: decibel-audio-player-1.08/src/modules/Covers.py +=================================================================== +--- decibel-audio-player-1.08.orig/src/modules/Covers.py ++++ decibel-audio-player-1.08/src/modules/Covers.py +@@ -124,7 +124,7 @@ class Covers(modules.ThreadedModule): + + def generateFullSizeCover(self, inFile, outFile, format): + """ Resize inFile if needed, and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image +@@ -144,7 +144,7 @@ class Covers(modules.ThreadedModule): + + def generateThumbnail(self, inFile, outFile, format): + """ Generate a thumbnail from inFile (e.g., resize it) and write it to outFile (outFile and inFile may be equal) """ +- import Image ++ from PIL import Image + + try: + # Open the image diff --git a/multimedia/sound/decibel-audio-player/files/decibel-audio-player-remote b/multimedia/sound/decibel-audio-player/files/decibel-audio-player-remote new file mode 100755 index 0000000000..0d57cce8f4 --- /dev/null +++ b/multimedia/sound/decibel-audio-player/files/decibel-audio-player-remote @@ -0,0 +1,18 @@ +#!/usr/bin/env sh +# Author: Ingelrest François (Francois.Ingelrest@gmail.com) +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Library General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +python /usr/share/decibel-audio-player/src/remote.py "$@" diff --git a/multimedia/sound/decibel-audio-player/pspec.xml b/multimedia/sound/decibel-audio-player/pspec.xml index 2d6580ae50..c0231f1188 100644 --- a/multimedia/sound/decibel-audio-player/pspec.xml +++ b/multimedia/sound/decibel-audio-player/pspec.xml @@ -16,6 +16,7 @@ http://decibel.silent-blade.org/uploads/Main/decibel-audio-player-1.08.tar.gz prefix.patch + decibel-audio-player-pil.patch @@ -37,9 +38,20 @@ /usr/share/locale/ /usr/share/doc + + decibel-audio-player + decibel-audio-player-remote + + + 2018-02-25 + 1.08 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2017-02-18 1.08