diff options
author | mva <mva@FreeBSD.org> | 2014-10-22 01:22:07 +0800 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-10-22 01:22:07 +0800 |
commit | e442098c3267e6846b91c09f02093ba39cb0046d (patch) | |
tree | 577b09eeae346e5ff08999e6b5c40c95539bd57f /multimedia | |
parent | 4ab1e443e6061bb92001b7facab50925aafa5c00 (diff) | |
download | freebsd-ports-gnome-e442098c3267e6846b91c09f02093ba39cb0046d.tar.gz freebsd-ports-gnome-e442098c3267e6846b91c09f02093ba39cb0046d.tar.zst freebsd-ports-gnome-e442098c3267e6846b91c09f02093ba39cb0046d.zip |
- Convert ports of multimedia/ to new USES=python
Approved by: portmgr (implicit)
Diffstat (limited to 'multimedia')
30 files changed, 47 insertions, 78 deletions
diff --git a/multimedia/arista/Makefile b/multimedia/arista/Makefile index baa7664a902c..6f7d4fc3ec9f 100644 --- a/multimedia/arista/Makefile +++ b/multimedia/arista/Makefile @@ -11,11 +11,10 @@ MASTER_SITES= http://programmer-art.org/media/releases/arista-transcoder/ \ MAINTAINER= swills@FreeBSD.org COMMENT= Easy to use multimedia transcoder for the GNOME Desktop -USES= desktop-file-utils gettext +USES= desktop-file-utils gettext python USE_GSTREAMER= faac x264 lame mpeg2enc USE_GNOME= pygnomedesktop -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYTHON= distutils OPTIONS_DEFINE= DOCS diff --git a/multimedia/devede/Makefile b/multimedia/devede/Makefile index 8896cd544c3d..6b93ee361232 100644 --- a/multimedia/devede/Makefile +++ b/multimedia/devede/Makefile @@ -18,8 +18,7 @@ RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg \ cdrecord:${PORTSDIR}/sysutils/cdrtools USE_GNOME= pygtk2 -USES= iconv tar:bzip2 -USE_PYTHON= yes +USES= iconv python tar:bzip2 NO_BUILD= yes OPTIONS_DEFINE= IBUS NLS diff --git a/multimedia/gaupol/Makefile b/multimedia/gaupol/Makefile index d40971142500..a1c68aa65c7b 100644 --- a/multimedia/gaupol/Makefile +++ b/multimedia/gaupol/Makefile @@ -18,9 +18,8 @@ RUN_DEPENDS= iso-codes>=0:${PORTSDIR}/misc/iso-codes \ py*-enchant>=1.5.1:${PORTSDIR}/textproc/py-enchant USE_GNOME= pygtk2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes -USES= desktop-file-utils +USE_PYTHON= distutils +USES= desktop-file-utils python INSTALLS_ICONS= yes OPTIONS_DEFINE= NLS diff --git a/multimedia/gdvrecv/Makefile b/multimedia/gdvrecv/Makefile index e32e1d3f9f21..31f0b77222f4 100644 --- a/multimedia/gdvrecv/Makefile +++ b/multimedia/gdvrecv/Makefile @@ -10,10 +10,9 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= DV tools for FreeBSD -USES= tar:bzip2 +USES= python tar:bzip2 USE_GNOME= pygtk2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_PYTHON= distutils DESKTOP_ENTRIES="Capture Video" \ "Capture from FireWire Camera" \ "${PREFIX}/share/pixmaps/gdvrecv/camcorder.png" \ diff --git a/multimedia/gstreamer1-plugins-gnonlin/Makefile b/multimedia/gstreamer1-plugins-gnonlin/Makefile index c07b1a8ca757..1be2f8d86a9f 100644 --- a/multimedia/gstreamer1-plugins-gnonlin/Makefile +++ b/multimedia/gstreamer1-plugins-gnonlin/Makefile @@ -11,8 +11,7 @@ MAINTAINER= multimedia@FreeBSD.org COMMENT= Gstreamer lib for writing non-linear audio and video CFLAGS:= ${CFLAGS} -O2 -Wno-format -USES= libtool pkgconfig tar:xz -USE_PYTHON_BUILD=yes +USES= libtool pkgconfig python:build tar:xz GNU_CONFIGURE= yes USE_GSTREAMER1= good INSTALL_TARGET= install-strip diff --git a/multimedia/gtk-recordmydesktop/Makefile b/multimedia/gtk-recordmydesktop/Makefile index 0711e5425c9b..c30cd1b8798c 100644 --- a/multimedia/gtk-recordmydesktop/Makefile +++ b/multimedia/gtk-recordmydesktop/Makefile @@ -14,10 +14,9 @@ LICENSE= GPLv2 RUN_DEPENDS= ${LOCALBASE}/bin/recordmydesktop:${PORTSDIR}/multimedia/recordmydesktop GNU_CONFIGURE= yes -USES= desktop-file-utils gettext gmake pkgconfig +USES= desktop-file-utils gettext gmake pkgconfig python:2 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USE_PYTHON= 2 USE_GNOME= gtk20 pygtk2 INSTALL_ICONS= yes diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index 2c8adbffef7b..15a97f501891 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -46,9 +46,8 @@ LIB_DEPENDS+= libdvdcss.so.2:${PORTSDIR}/multimedia/libdvdcss .endif GNU_CONFIGURE= yes -USES= gmake iconv libtool:build pkgconfig +USES= gmake iconv libtool:build pkgconfig python:build USE_AUTOTOOLS= autoconf:env automake:env -USE_PYTHON_BUILD= yes WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION} PLIST_FILES= bin/HandBrakeCLI diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile index 933bdecbd48b..fce7d2944c9a 100644 --- a/multimedia/libkate/Makefile +++ b/multimedia/libkate/Makefile @@ -40,7 +40,7 @@ CONFIGURE_ARGS+= --disable-doc .if ${PORT_OPTIONS:MKATEDJ} RUN_DEPENDS= ${LOCALBASE}/bin/oggz:${PORTSDIR}/audio/liboggz -USE_PYTHON= yes +USES+= python USE_WX= 2.8 WX_COMPS= wx contrib python:lib MANPAGE+= KateDJ.1 diff --git a/multimedia/mimms/Makefile b/multimedia/mimms/Makefile index b88da31ee537..b5183cd78381 100644 --- a/multimedia/mimms/Makefile +++ b/multimedia/mimms/Makefile @@ -12,9 +12,8 @@ COMMENT= Download streams using the MMS protocol LIB_DEPENDS= libmms.so:${PORTSDIR}/net/libmms -USES= tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python tar:bzip2 +USE_PYTHON= distutils PYDISTUTILS_PKGVERSION= 3.2 PORTDOCS= AUTHORS COPYING NEWS README diff --git a/multimedia/mmpython/Makefile b/multimedia/mmpython/Makefile index 7369eb0f9eda..f78abd6a6fdb 100644 --- a/multimedia/mmpython/Makefile +++ b/multimedia/mmpython/Makefile @@ -16,9 +16,8 @@ LICENSE= GPLv2 LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread RUN_DEPENDS= lsdvd:${PORTSDIR}/multimedia/lsdvd -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST=yes +USES= python +USE_PYTHON= distutils autoplist post-patch: @${REINPLACE_CMD} \ diff --git a/multimedia/mps-youtube/Makefile b/multimedia/mps-youtube/Makefile index c4c2bf7facce..5372d027dc5b 100644 --- a/multimedia/mps-youtube/Makefile +++ b/multimedia/mps-youtube/Makefile @@ -23,10 +23,8 @@ MPV_DESC= Mpv media player support # This port installs the following files in shared dirs # PLIST_FILES= bin/mpsyt -PYDISTUTILS_AUTOPLIST= yes - -USE_PYDISTUTILS= yes -USE_PYTHON= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.options.mk> diff --git a/multimedia/photofilmstrip/Makefile b/multimedia/photofilmstrip/Makefile index 3887c1ee5eb5..a5cf3ed1ef91 100644 --- a/multimedia/photofilmstrip/Makefile +++ b/multimedia/photofilmstrip/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ PORTSCOUT= skipv:1.9.90,1.9.91 # Unstable Versions -USE_PYTHON= yes +USES= python USE_WX= 3.0+ WX_COMPS= python:lib ALL_TARGET= compile diff --git a/multimedia/pitivi/Makefile b/multimedia/pitivi/Makefile index aa81ea5c200c..b9346b5ebb54 100644 --- a/multimedia/pitivi/Makefile +++ b/multimedia/pitivi/Makefile @@ -14,10 +14,9 @@ COMMENT= Gstreamer based non-linear audio/video editor RUN_DEPENDS= py*-zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \ ${PYTHON_SITELIBDIR}/goocanvasmodule.so:${PORTSDIR}/graphics/py-goocanvas -USES= gmake pkgconfig tar:bzip2 +USES= gmake pkgconfig python tar:bzip2 USE_GNOME= pygtk2 USE_GSTREAMER= gnonlin python good -USE_PYTHON= yes INSTALLS_ICONS= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBAES}/include diff --git a/multimedia/py-enzyme/Makefile b/multimedia/py-enzyme/Makefile index 91cce1ab531e..0b86aebe913f 100644 --- a/multimedia/py-enzyme/Makefile +++ b/multimedia/py-enzyme/Makefile @@ -12,8 +12,7 @@ COMMENT= Python module to parse metadata in video files LICENSE= GPLv3 -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/multimedia/py-ffmpeg/Makefile b/multimedia/py-ffmpeg/Makefile index df2b31f0a897..73d8900c7885 100644 --- a/multimedia/py-ffmpeg/Makefile +++ b/multimedia/py-ffmpeg/Makefile @@ -25,9 +25,8 @@ GH_PROJECT= ${PORTNAME}-android GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= 6636c3a USE_GITHUB= yes -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist USE_SDL= mixer WRKSRC_SUBDIR= python diff --git a/multimedia/py-gstreamer/Makefile b/multimedia/py-gstreamer/Makefile index 163bd7bab21e..411f7f245699 100644 --- a/multimedia/py-gstreamer/Makefile +++ b/multimedia/py-gstreamer/Makefile @@ -19,8 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 -USES= gmake libtool pathfix pkgconfig tar:bzip2 -USE_PYTHON= 2 +USES= gmake libtool pathfix pkgconfig python:2 tar:bzip2 USE_GNOME= pygobject USE_GSTREAMER= yes GNU_CONFIGURE= yes diff --git a/multimedia/py-guessit/Makefile b/multimedia/py-guessit/Makefile index fbfe1589ab06..e129fc07ef7e 100644 --- a/multimedia/py-guessit/Makefile +++ b/multimedia/py-guessit/Makefile @@ -17,8 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfish>=0.5.3:${PORTSDIR}/devel/py-babelf ${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests \ ${PYTHON_PKGNAMEPREFIX}enzyme>=0:${PORTSDIR}/multimedia/py-enzyme -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/multimedia/py-kaa-base/Makefile b/multimedia/py-kaa-base/Makefile index a047e3446bbd..df1a129aa964 100644 --- a/multimedia/py-kaa-base/Makefile +++ b/multimedia/py-kaa-base/Makefile @@ -16,8 +16,7 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \ ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/multimedia/py-kaa-imlib2/Makefile b/multimedia/py-kaa-imlib2/Makefile index 2161ce0280b7..3d3a7933fdba 100644 --- a/multimedia/py-kaa-imlib2/Makefile +++ b/multimedia/py-kaa-imlib2/Makefile @@ -14,9 +14,8 @@ COMMENT= Kaa Media Repository - imlib2 wrapper for python BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/kaa/__init__.py:${PORTSDIR}/multimedia/py-kaa-base RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist USE_EFL= imlib2 .include <bsd.port.mk> diff --git a/multimedia/py-kaa-metadata/Makefile b/multimedia/py-kaa-metadata/Makefile index c19fb256c321..da3cb41ee929 100644 --- a/multimedia/py-kaa-metadata/Makefile +++ b/multimedia/py-kaa-metadata/Makefile @@ -16,9 +16,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}kaa-base>0:${PORTSDIR}/multimedia/py-kaa-b ${PYTHON_PKGNAMEPREFIX}exiv2>0:${PORTSDIR}/graphics/py-exiv2 RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist CFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib diff --git a/multimedia/py-openlp/Makefile b/multimedia/py-openlp/Makefile index bbe88a6b62ee..984485026e6b 100644 --- a/multimedia/py-openlp/Makefile +++ b/multimedia/py-openlp/Makefile @@ -35,10 +35,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup32>0:${PORTSDIR}/www/py-beautif ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \ unoconv:${PORTSDIR}/textproc/unoconv -USES= desktop-file-utils -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= desktop-file-utils python +USE_PYTHON= distutils autoplist USE_GSTREAMER= good bad ugly USE_QT4= linguist phonon-gst WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/multimedia/py-periscope/Makefile b/multimedia/py-periscope/Makefile index 9fecd9ca8ff8..fd9334628741 100644 --- a/multimedia/py-periscope/Makefile +++ b/multimedia/py-periscope/Makefile @@ -20,11 +20,9 @@ LICENSE= LGPL3 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/BeautifulSoup.py:${PORTSDIR}/www/py-beautifulsoup32 RUN_DEPENDS:= ${BUILD_DEPENDS} -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USE_PYTHON= distutils autoplist NO_WRKSUBDIR= yes -USES= desktop-file-utils +USES= desktop-file-utils python OPTIONS_DEFINE= UNRAR UNRAR_DESC= rar support (.rar) for compressed subtitles diff --git a/multimedia/py-subliminal/Makefile b/multimedia/py-subliminal/Makefile index 46ee7413732c..cb40c0792436 100644 --- a/multimedia/py-subliminal/Makefile +++ b/multimedia/py-subliminal/Makefile @@ -29,8 +29,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/bs4/__init__.py:${PORTSDIR}/www/py-beautifulso ${PYTHON_PKGNAMEPREFIX}xdg>=0.25:${PORTSDIR}/devel/py-xdg \ ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/multimedia/py-tvnamer/Makefile b/multimedia/py-tvnamer/Makefile index 186b4e1495e1..a47e2595c09c 100644 --- a/multimedia/py-tvnamer/Makefile +++ b/multimedia/py-tvnamer/Makefile @@ -15,8 +15,7 @@ LICENSE= GPLv2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tvdb_api>=1.5:${PORTSDIR}/www/py-tvdb_api BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tvdb_api>=1.5:${PORTSDIR}/www/py-tvdb_api -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include <bsd.port.mk> diff --git a/multimedia/pyjama/Makefile b/multimedia/pyjama/Makefile index 7c324b87b7bd..fa470d32f669 100644 --- a/multimedia/pyjama/Makefile +++ b/multimedia/pyjama/Makefile @@ -17,10 +17,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}gstreamer>=0.10:${PORTSDIR}/multimedia/py-gstreamer NO_BUILD= yes -USE_PYTHON= yes USE_GSTREAMER= core good bad gnomevfs USE_GNOME= pygtk2 -USES= gettext +USES= gettext python LOCALES= bg ca da de en_GB es fr it pl INSTDIR= ${PYTHON_SITELIBDIR}/${PORTNAME} diff --git a/multimedia/pymp/Makefile b/multimedia/pymp/Makefile index 4d5c7e05ce42..1ccdca0d6aea 100644 --- a/multimedia/pymp/Makefile +++ b/multimedia/pymp/Makefile @@ -20,11 +20,10 @@ GH_PROJECT= pymp GH_TAGNAME= ${GH_COMMIT} GH_COMMIT= bea99d9 -USES= shebangfix tar:bzip2 +USES= shebangfix python tar:bzip2 SHEBANG_FILES= *.py python_OLD_CMD?= /usr/bin/env python python_CMD?= ${PYTHON_CMD} -USE_PYTHON= yes USE_GNOME= pygtk2 PORTDOCS= CHANGELOG README.md diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile index c89db4db1a18..1ae5c4c62104 100644 --- a/multimedia/quodlibet/Makefile +++ b/multimedia/quodlibet/Makefile @@ -15,12 +15,10 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen -USE_PYTHON= yes +USE_PYTHON= distutils autoplist USE_GNOME= pygtk2 -USES= display gettext -USE_PYDISTUTILS= yes +USES= display gettext python PYDISTUTILS_INSTALLNOSINGLE= yes -PYDISTUTILS_AUTOPLIST= yes EXTRA_PATCHES= ${FILESDIR}/extra-patch-pydistutils diff --git a/multimedia/rox-videothumbnail/Makefile b/multimedia/rox-videothumbnail/Makefile index de61e717028d..043f40c72428 100644 --- a/multimedia/rox-videothumbnail/Makefile +++ b/multimedia/rox-videothumbnail/Makefile @@ -15,7 +15,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \ WRKSRC= ${WRKDIR}/VideoThumbnail -USE_PYTHON= yes +USES= python do-build: @${PYTHON_CMD} -m compileall ${WRKSRC} diff --git a/multimedia/subtools/Makefile b/multimedia/subtools/Makefile index ddd085b1dc5b..dd839bede192 100644 --- a/multimedia/subtools/Makefile +++ b/multimedia/subtools/Makefile @@ -11,8 +11,7 @@ COMMENT= Command-line tools for movie subtitles in SubRipper format WRKSRC= ${WRKDIR}/${PORTNAME}/src -USES= tar:bzip2 -USE_PYTHON= yes +USES= python tar:bzip2 PLIST_FILES= bin/srtshift bin/srtrate bin/udvd2srt.py bin/udvdshift.py diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile index 8a02354e5049..f8418df67da7 100644 --- a/multimedia/totem/Makefile +++ b/multimedia/totem/Makefile @@ -23,9 +23,8 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co CONFLICTS= totem-3.[0-9]* GNU_CONFIGURE= yes -USE_PYTHON= yes USES= desktop-file-utils gettext gmake libtool:keepla pathfix \ - pkgconfig shebangfix tar:bzip2 + pkgconfig python shebangfix tar:bzip2 SHEBANG_FILES= data/totem-bugreport.py USE_GNOME= gnomehier gnomeprefix intlhack nautilus2 pygtk2 USE_GSTREAMER= core gconf hal good mpeg2dec soup ugly python gio |