summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-01-01 19:11:59 +0000
committerRene Ladan <rene@FreeBSD.org>2016-01-01 19:11:59 +0000
commit5445d9b64a01b68a3f8b360e3bb7335c4cbdda45 (patch)
treec1e1491544cae7f8a3d114c1355180f7da978c58 /multimedia
parent- Update to 1.2.0 (diff)
Remove expired ports:
2016-01-01 multimedia/spotify-websocket-api: login fails due to protocol changes 2016-01-01 net-mgmt/unifi2: Unifi 2.x is EoL. Please upgrade to net-mgmt/unifi3 2016-01-01 misc/kde4-l10n-th: Upstream ceased maintainance of this translation 2016-01-01 misc/kde4-l10n-tg: Upstream ceased maintainance of this translation 2016-01-01 misc/kde4-l10n-si: Upstream ceased maintainance of this translation
Notes
Notes: svn path=/head/; revision=405033
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/spotify-websocket-api/Makefile66
-rw-r--r--multimedia/spotify-websocket-api/distinfo2
-rw-r--r--multimedia/spotify-websocket-api/files/patch-clients__respotify__respotify.py58
-rw-r--r--multimedia/spotify-websocket-api/files/patch-spotify_web__friendly.py20
-rw-r--r--multimedia/spotify-websocket-api/pkg-descr7
6 files changed, 0 insertions, 154 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 36a924915ee9..bf35dfcdefa5 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -365,7 +365,6 @@
SUBDIR += snappy
SUBDIR += spigot
SUBDIR += spook
- SUBDIR += spotify-websocket-api
SUBDIR += subtitlecomposer-kde4
SUBDIR += subtitleeditor
SUBDIR += subtitleoffsetmodifier
diff --git a/multimedia/spotify-websocket-api/Makefile b/multimedia/spotify-websocket-api/Makefile
deleted file mode 100644
index df98ec833c34..000000000000
--- a/multimedia/spotify-websocket-api/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-# Created by: rene@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= SpotifyWebsocketAPI
-PORTVERSION= 0.2
-PORTREVISION= 13
-CATEGORIES= multimedia python
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= rene@FreeBSD.org
-COMMENT= Websocket API and client for Spotify
-
-IGNORE= login fails due to protocol changes
-DEPRECATED= ${IGNORE}
-EXPIRATION_DATE=2016-01-01
-
-NO_ARCH= yes
-
-USE_GITHUB= yes
-GH_ACCOUNT= Hexxeh
-GH_PROJECT= spotify-websocket-api
-GH_TAGNAME= d397ed2
-
-USES= python shebangfix
-SHEBANG_FILES= spotify_web/spotify.py ${CLIENTFILES}
-USE_PYTHON= autoplist concurrent distutils
-
-OPTIONS_DEFINE= EXAMPLES
-
-PORTEXAMPLES= blocking.py nonblocking.py decode_mercury.py play.py \
- serve.py ctype.py gstreamer.py
-
-CLIENTFILES= clients/respotify/respotify.py \
- clients/respotify/respotify-helper.py
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=1.1.0:${PORTSDIR}/www/py-requests1 \
- ${PYTHON_PKGNAMEPREFIX}ws4py>=0.2.4:${PORTSDIR}/www/py-ws4py \
- ${PYTHON_PKGNAMEPREFIX}protobuf>=2.4.1:${PORTSDIR}/devel/py-protobuf \
- ${PYTHON_PKGNAMEPREFIX}lxml>=3.1:${PORTSDIR}/devel/py-lxml \
- ${PYTHON_PKGNAMEPREFIX}mpd2>=0:${PORTSDIR}/audio/py-mpd2 \
- musicpd:${PORTSDIR}/audio/musicpd
-
-EXAMPLES_LIB_DEPENDS=libao.so:${PORTSDIR}/audio/libao \
- libmpg123.so:${PORTSDIR}/audio/mpg123
-EXAMPLES_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pycurl>=0:${PORTSDIR}/ftp/py-pycurl \
- ${PYTHON_PKGNAMEPREFIX}gobject>=0:${PORTSDIR}/devel/py-gobject
-EXAMPLES_USE= GSTREAMER=python
-
-PLIST_FILES= bin/respotify bin/respotify-helper.py bin/respotify.py
-
-post-patch:
- ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" \
- ${WRKSRC}/clients/respotify/respotify.py
-
-post-install:
-.for f in ${CLIENTFILES}
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
-.endfor
- ${LN} -s ${PREFIX}/bin/respotify.py ${STAGEDIR}${PREFIX}/bin/respotify
-
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for f in ${PORTEXAMPLES}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/multimedia/spotify-websocket-api/distinfo b/multimedia/spotify-websocket-api/distinfo
deleted file mode 100644
index cf0db53669e7..000000000000
--- a/multimedia/spotify-websocket-api/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (Hexxeh-spotify-websocket-api-0.2-d397ed2_GH0.tar.gz) = feddd3725ddeba278697adcb454e8f32a1e61becce25fdbdb519a4176d2bf49c
-SIZE (Hexxeh-spotify-websocket-api-0.2-d397ed2_GH0.tar.gz) = 63082
diff --git a/multimedia/spotify-websocket-api/files/patch-clients__respotify__respotify.py b/multimedia/spotify-websocket-api/files/patch-clients__respotify__respotify.py
deleted file mode 100644
index 67a1254b0292..000000000000
--- a/multimedia/spotify-websocket-api/files/patch-clients__respotify__respotify.py
+++ /dev/null
@@ -1,58 +0,0 @@
---- ./clients/respotify/respotify.py.orig 2013-08-08 08:45:21.000000000 +0200
-+++ ./clients/respotify/respotify.py 2013-09-14 22:32:17.000000000 +0200
-@@ -88,8 +88,10 @@
- print "Playlists\n"
- index = 1
- for playlist in rootlist:
-- print " ["+str(index)+"] "+playlist.getName()
-- index += 1
-+ name = playlist.getName()
-+ if name != None:
-+ print " ["+str(index)+"] "+name
-+ index += 1
- else:
- try:
- if len(rootlist) >= int(args[0][0]):
-@@ -115,10 +117,14 @@
-
-
- def command_album(*args):
-- if args[0][0] == "" or current_playlist is None:
-+ if len(*args) == 0 or args[0][0] == "" or current_playlist is None:
-+ return
-+
-+ try:
-+ index = int(args[0][0])-1
-+ except:
- return
-
-- index = int(args[0][0])-1
- if current_playlist.getNumTracks() < index:
- return
-
-@@ -127,10 +133,14 @@
-
-
- def command_artist(*args):
-- if args[0][0] == "" or current_playlist is None:
-+ if len(*args) == 0 or args[0][0] == "" or current_playlist is None:
-+ return
-+
-+ try:
-+ index = int(args[0][0])-1
-+ except:
- return
-
-- index = int(args[0][0])-1
- if current_playlist.getNumTracks() < index:
- return
-
-@@ -278,7 +288,7 @@
- if spotify.logged_in():
- os.system("kill `pgrep -f respotify-helper` &> /dev/null")
- uri_resolver = subprocess.Popen([sys.executable, "respotify-helper.py",
-- args.username, args.password])
-+ args.username, args.password], env={"PATH": "%%PREFIX%%/bin"})
- with client:
- client.connect(host="localhost", port="6600")
- Thread(target=heartbeat_handler).start()
diff --git a/multimedia/spotify-websocket-api/files/patch-spotify_web__friendly.py b/multimedia/spotify-websocket-api/files/patch-spotify_web__friendly.py
deleted file mode 100644
index bce8b588f750..000000000000
--- a/multimedia/spotify-websocket-api/files/patch-spotify_web__friendly.py
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./spotify_web/friendly.py.orig 2013-08-08 08:45:21.000000000 +0200
-+++ ./spotify_web/friendly.py 2013-09-10 22:11:07.000000000 +0200
-@@ -244,6 +244,8 @@
- uri_parts = self.uri.split(":")
- if len(uri_parts) == 4:
- return uri_parts[3]
-+ elif len(uri_parts) == 3:
-+ return None
- else:
- return uri_parts[4]
-
-@@ -251,7 +253,7 @@
- return self.uri
-
- def getName(self):
-- return "Starred" if self.getID() == "starred" else self.obj.attributes.name
-+ return "Starred" if self.getID() == "starred" else (None if self.obj == False else self.obj.attributes.name)
-
- def rename(self, name):
- ret = self.spotify.api.rename_playlist(self.getURI(), name)
diff --git a/multimedia/spotify-websocket-api/pkg-descr b/multimedia/spotify-websocket-api/pkg-descr
deleted file mode 100644
index 5da885e43b28..000000000000
--- a/multimedia/spotify-websocket-api/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-A library, client, and some examples written in Python to access the
-Spotify web API. Note that this is still premature and missing some
-functions.
-
-A Premium account is required to use this port.
-
-WWW: https://github.com/Hexxeh/spotify-websocket-api/