mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
audio/decibel-audio-player: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
This commit is contained in:
parent
044213c3d0
commit
2d793ab9e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370318
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= decibel-audio-player
|
||||
PORTVERSION= 1.08
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= audio multimedia gnome python
|
||||
MASTER_SITES= http://decibel.silent-blade.org/uploads/Main/
|
||||
|
||||
@ -15,7 +15,7 @@ RUN_DEPENDS= py*-dbus>=0.80:${PORTSDIR}/devel/py-dbus \
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_PYTHON= yes
|
||||
USES= python
|
||||
USE_GNOME= pygnome2 pygtk2
|
||||
USE_GSTREAMER= python good bad
|
||||
USES= gmake gettext desktop-file-utils
|
||||
@ -33,7 +33,7 @@ EXTRAS_DESC= Extra dependencies for plugins
|
||||
AUDIOCD_RUN_DEPENDS= cd-discid>=0.9:${PORTSDIR}/audio/cd-discid \
|
||||
py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb \
|
||||
gstreamer-plugins-cdio>=0.10.16:${PORTSDIR}/sysutils/gstreamer-plugins-cdio
|
||||
EXTRAS_RUN_DEPENDS= py*-imaging>=1.1.6:${PORTSDIR}/graphics/py-imaging \
|
||||
EXTRAS_RUN_DEPENDS= py*-pillow>0:${PORTSDIR}/graphics/py-pillow \
|
||||
py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify
|
||||
FLAC_USE= GSTREAMER=flac
|
||||
MP3_USE= GSTREAMER=mp3
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- src/modules/Covers.py.orig 2014-10-07 12:26:08 UTC
|
||||
+++ src/modules/Covers.py
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
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 @@
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user