decibel-audio-player:rebuild
This commit is contained in:
@@ -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 "$@" &
|
||||||
@@ -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
|
||||||
@@ -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 "$@"
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
<Archive sha1sum="b611bfc724ccef8f5517ebab218e70bf2975c857" type="targz">http://decibel.silent-blade.org/uploads/Main/decibel-audio-player-1.08.tar.gz</Archive>
|
<Archive sha1sum="b611bfc724ccef8f5517ebab218e70bf2975c857" type="targz">http://decibel.silent-blade.org/uploads/Main/decibel-audio-player-1.08.tar.gz</Archive>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">prefix.patch</Patch>
|
<Patch level="1">prefix.patch</Patch>
|
||||||
|
<Patch level="1">decibel-audio-player-pil.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -37,9 +38,20 @@
|
|||||||
<Path fileType="locadata">/usr/share/locale/</Path>
|
<Path fileType="locadata">/usr/share/locale/</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile owner="root" permission="0755" target="/usr/bin/decibel-audio-player">decibel-audio-player</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0755" target="/usr/bin/decibel-audio-player-remote">decibel-audio-player-remote</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2018-02-25</Date>
|
||||||
|
<Version>1.08</Version>
|
||||||
|
<Comment>Rebuild.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="2">
|
<Update release="2">
|
||||||
<Date>2017-02-18</Date>
|
<Date>2017-02-18</Date>
|
||||||
<Version>1.08</Version>
|
<Version>1.08</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user