aboutsummaryrefslogtreecommitdiff
path: root/multimedia/syncplay
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-03-26 18:51:21 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-03-26 18:51:21 +0000
commit8df93eb0ca997b8e3559bf45fe245eb43167db64 (patch)
tree0748394bda2668e4f3f92b14bb620507d21db93f /multimedia/syncplay
parentfc3a02aaf3555bd4db4ec7acd4a5f7ecc4ca5bef (diff)
downloadports-8df93eb0ca997b8e3559bf45fe245eb43167db64.tar.gz
ports-8df93eb0ca997b8e3559bf45fe245eb43167db64.zip
Notes
Diffstat (limited to 'multimedia/syncplay')
-rw-r--r--multimedia/syncplay/Makefile42
-rw-r--r--multimedia/syncplay/distinfo2
-rw-r--r--multimedia/syncplay/files/patch-GNUmakefile55
-rw-r--r--multimedia/syncplay/pkg-descr9
-rw-r--r--multimedia/syncplay/pkg-plist103
5 files changed, 211 insertions, 0 deletions
diff --git a/multimedia/syncplay/Makefile b/multimedia/syncplay/Makefile
new file mode 100644
index 000000000000..1588633546b1
--- /dev/null
+++ b/multimedia/syncplay/Makefile
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME= syncplay
+PORTVERSION= 1.3.4
+CATEGORIES= multimedia
+
+MAINTAINER= heckendorfc@gmail.com
+COMMENT= Synchronize video playback over networks
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= Syncplay
+GH_TAGNAME= ${PORTVERSION}
+
+USES= desktop-file-utils gmake python:2 twisted
+USE_TWISTED= run
+
+INSTALLS_ICONS= yes
+
+OPTIONS_DEFINE= GUI VLC
+OPTIONS_DEFAULT= GUI VLC CLIENT SERVER
+OPTIONS_SUB= yes
+OPTIONS_MULTI= MODES
+OPTIONS_MULTI_MODES= CLIENT SERVER
+
+VLC_DESC= Support for VLC media player
+
+MAKEFILE= GNUmakefile
+
+GUI_RUN_DEPENDS= pyside-py2?>=1.1.2:devel/pyside
+
+VLC_MAKE_ARGS= VLC_SUPPORT=true
+VLC_MAKE_ARGS_OFF= VLC_SUPPORT=false
+CLIENT_INSTALL_TARGET= install-client
+SERVER_INSTALL_TARGET= install-server
+
+.if !empty(PORT_OPTIONS:MCLIENT) && !empty(PORT_OPTIONS:MSERVER)
+INSTALL_TARGET= install
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/syncplay/distinfo b/multimedia/syncplay/distinfo
new file mode 100644
index 000000000000..f74115637387
--- /dev/null
+++ b/multimedia/syncplay/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Syncplay-syncplay-1.3.4_GH0.tar.gz) = f62b0283359ec800dbcd9fe89f93a860bce6fe79d58f35744adcb1364a5f0358
+SIZE (Syncplay-syncplay-1.3.4_GH0.tar.gz) = 510790
diff --git a/multimedia/syncplay/files/patch-GNUmakefile b/multimedia/syncplay/files/patch-GNUmakefile
new file mode 100644
index 000000000000..278686264bc3
--- /dev/null
+++ b/multimedia/syncplay/files/patch-GNUmakefile
@@ -0,0 +1,55 @@
+--- GNUmakefile.orig 2015-05-29 20:27:43 UTC
++++ GNUmakefile
+@@ -1,4 +1,5 @@
+ SINGLE_USER = false
++BSD = true
+
+ ifndef VLC_SUPPORT
+ VLC_SUPPORT = true
+@@ -23,17 +24,21 @@ ifneq ($(BSD),true)
+ VLC_LIB_PATH = ${PREFIX}/usr/lib
+ else
+ BASE_PATH = /usr/local
+- VLC_LIB_PATH = ${PREFIX}/usr/local/lib
++ VLC_LIB_PATH = ${DESTDIR}${PREFIX}/lib
+ endif
+ else
+ BASE_PATH = ${HOME}/.local
+ VLC_LIB_PATH = ${HOME}/.local/share
+ endif
+
+- BIN_PATH = ${PREFIX}$(BASE_PATH)/bin
+- LIB_PATH = ${PREFIX}$(BASE_PATH)/lib
+- APP_SHORTCUT_PATH = ${PREFIX}$(BASE_PATH)/share/applications
+- SHARE_PATH = ${PREFIX}$(BASE_PATH)/share
++ BIN_PATH = ${DESTDIR}${PREFIX}/bin
++ LIB_PATH = ${DESTDIR}${PREFIX}/lib
++ APP_SHORTCUT_PATH = ${DESTDIR}${PREFIX}/share/applications
++ SHARE_PATH = ${DESTDIR}${PREFIX}/share
++
++default:
++
++all:
+
+ common:
+ -mkdir -p $(LIB_PATH)/syncplay/resources/lua/intf
+@@ -56,8 +61,8 @@ u-common:
+
+ client:
+ -mkdir -p $(BIN_PATH)
++ sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' syncplayClient.py
+ cp syncplayClient.py $(BIN_PATH)/syncplay
+- sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' $(BIN_PATH)/syncplay
+ chmod 755 $(BIN_PATH)/syncplay
+ cp syncplayClient.py $(LIB_PATH)/syncplay/
+ cp resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
+@@ -79,8 +84,8 @@ u-client:
+
+ server:
+ -mkdir -p $(BIN_PATH)
++ sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' syncplayServer.py
+ cp syncplayServer.py $(BIN_PATH)/syncplay-server
+- sed -i -e 's%# libpath%site.addsitedir\("$(BASE_PATH)/lib/syncplay"\)%' $(BIN_PATH)/syncplay-server
+ chmod 755 $(BIN_PATH)/syncplay-server
+ cp syncplayServer.py $(LIB_PATH)/syncplay/
+ cp resources/syncplay-server.desktop $(APP_SHORTCUT_PATH)/
diff --git a/multimedia/syncplay/pkg-descr b/multimedia/syncplay/pkg-descr
new file mode 100644
index 000000000000..1a46af49bbbb
--- /dev/null
+++ b/multimedia/syncplay/pkg-descr
@@ -0,0 +1,9 @@
+Syncplay synchronizes the playback of media files across several
+remote machines. The Syncplay Client launches a media player on a
+user's computer, connects to a Syncplay server and join a virtual
+room on that server. Pauses, unpauses and seeks made within that
+media player instance are relayed to fellow viewers via the server
+to allow for these actions to be replicated by the media players
+of everyone else in the same virtual room.
+
+WWW: http://syncplay.pl/
diff --git a/multimedia/syncplay/pkg-plist b/multimedia/syncplay/pkg-plist
new file mode 100644
index 000000000000..7854d082b627
--- /dev/null
+++ b/multimedia/syncplay/pkg-plist
@@ -0,0 +1,103 @@
+share/icons/128x128/apps/syncplay.png
+share/icons/16x16/apps/syncplay.png
+share/icons/24x24/apps/syncplay.png
+share/icons/256x256/apps/syncplay.png
+share/icons/32x32/apps/syncplay.png
+share/icons/48x48/apps/syncplay.png
+share/icons/64x64/apps/syncplay.png
+share/icons/96x96/apps/syncplay.png
+lib/syncplay/resources/accept.png
+lib/syncplay/resources/application_get.png
+lib/syncplay/resources/arrow_refresh.png
+lib/syncplay/resources/arrow_undo.png
+lib/syncplay/resources/chevrons_right.png
+lib/syncplay/resources/clock_go.png
+lib/syncplay/resources/cog.png
+lib/syncplay/resources/cog_delete.png
+lib/syncplay/resources/comments.png
+lib/syncplay/resources/control_pause_blue.png
+lib/syncplay/resources/control_play_blue.png
+lib/syncplay/resources/cross.png
+lib/syncplay/resources/cross_checkbox.png
+lib/syncplay/resources/door_in.png
+lib/syncplay/resources/empty_checkbox.png
+lib/syncplay/resources/eye.png
+lib/syncplay/resources/film_go.png
+lib/syncplay/resources/film_link.png
+lib/syncplay/resources/folder_explore.png
+lib/syncplay/resources/help.png
+lib/syncplay/resources/house.png
+lib/syncplay/resources/key_go.png
+lib/syncplay/resources/lock.png
+lib/syncplay/resources/lock_open.png
+lib/syncplay/resources/mpc-hc.png
+lib/syncplay/resources/mpc-hc64.png
+lib/syncplay/resources/mplayer.png
+lib/syncplay/resources/mpv.png
+lib/syncplay/resources/page_white_key.png
+lib/syncplay/resources/syncplay.png
+lib/syncplay/resources/table_refresh.png
+lib/syncplay/resources/tick.png
+lib/syncplay/resources/tick_checkbox.png
+lib/syncplay/resources/timeline_marker.png
+lib/syncplay/resources/user_key.png
+lib/syncplay/resources/vlc.png
+lib/syncplay/resources/world_explore.png
+lib/syncplay/resources/world_go.png
+lib/syncplay/resources/lua/intf/syncplay.lua
+lib/syncplay/syncplay/__init__.py
+lib/syncplay/syncplay/client.py
+lib/syncplay/syncplay/clientManager.py
+lib/syncplay/syncplay/constants.py
+lib/syncplay/syncplay/messages.py
+lib/syncplay/syncplay/players/__init__.py
+lib/syncplay/syncplay/players/basePlayer.py
+lib/syncplay/syncplay/players/mpc.py
+lib/syncplay/syncplay/players/mplayer.py
+lib/syncplay/syncplay/players/mpv.py
+lib/syncplay/syncplay/players/playerFactory.py
+lib/syncplay/syncplay/players/vlc.py
+lib/syncplay/syncplay/protocols.py
+lib/syncplay/syncplay/server.py
+lib/syncplay/syncplay/ui/ConfigurationGetter.py
+lib/syncplay/syncplay/ui/GuiConfiguration.py
+lib/syncplay/syncplay/ui/__init__.py
+lib/syncplay/syncplay/ui/consoleUI.py
+lib/syncplay/syncplay/ui/gui.py
+lib/syncplay/syncplay/utils.py
+lib/syncplay/syncplay/vendor/__init__.py
+lib/syncplay/syncplay/vendor/qt4reactor.py
+%%SERVER%%lib/syncplay/syncplayServer.py
+share/app-install/icons/syncplay.png
+share/pixmaps/syncplay.png
+%%CLIENT%%bin/syncplay
+%%CLIENT%%lib/syncplay/syncplayClient.py
+%%CLIENT%%share/applications/syncplay.desktop
+%%CLIENT%%%%VLC%%lib/vlc/lua/intf/syncplay.lua
+%%SERVER%%bin/syncplay-server
+%%SERVER%%share/applications/syncplay-server.desktop
+@dir share/applications
+@dir share/icons/128x128/apps
+@dir share/icons/128x128
+@dir share/icons/16x16/apps
+@dir share/icons/16x16
+@dir share/icons/24x24/apps
+@dir share/icons/24x24
+@dir share/icons/256x256/apps
+@dir share/icons/256x256
+@dir share/icons/32x32/apps
+@dir share/icons/32x32
+@dir share/icons/48x48/apps
+@dir share/icons/48x48
+@dir share/icons/64x64/apps
+@dir share/icons/64x64
+@dir share/icons/96x96/apps
+@dir share/icons/96x96
+@dir share/icons
+@dir lib/syncplay/resources/lua/intf
+@dir lib/syncplay/resources/lua
+@dir lib/syncplay/resources
+@dir lib/syncplay
+%%CLIENT%%%%VLC%%@dir lib/vlc/lua/intf
+%%CLIENT%%%%VLC%%@dir lib/vlc/lua
+%%CLIENT%%%%VLC%%@dir lib/vlc