aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/syncplay
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-04-09 17:25:44 +0800
committeryuri <yuri@FreeBSD.org>2018-04-09 17:25:44 +0800
commit40d0bb420dfe0db86aec040685ee3d075f191689 (patch)
tree02aa5d3404f0e1656b551fe85a0306f47b8f46dc /multimedia/syncplay
parentfe9bd47b49ccff99dbecc1528acb7cc9b1d6d4d0 (diff)
downloadfreebsd-ports-gnome-40d0bb420dfe0db86aec040685ee3d075f191689.tar.gz
freebsd-ports-gnome-40d0bb420dfe0db86aec040685ee3d075f191689.tar.zst
freebsd-ports-gnome-40d0bb420dfe0db86aec040685ee3d075f191689.zip
multimedia/syncplay: Update 1.5.2 -> 1.5.3
Port changes: * Add LICENSE_FILE * Add post-patch fixing DATADIR * Change WWW to https * Update patch of makefile PR: 227371 Submitted by: Christian Heckendorf <heckendorfc@gmail.com> (maintainer)
Diffstat (limited to 'multimedia/syncplay')
-rw-r--r--multimedia/syncplay/Makefile6
-rw-r--r--multimedia/syncplay/distinfo6
-rw-r--r--multimedia/syncplay/files/patch-GNUmakefile28
-rw-r--r--multimedia/syncplay/pkg-descr2
-rw-r--r--multimedia/syncplay/pkg-plist108
5 files changed, 85 insertions, 65 deletions
diff --git a/multimedia/syncplay/Makefile b/multimedia/syncplay/Makefile
index 1fbc7c71d4c8..c631b73966f8 100644
--- a/multimedia/syncplay/Makefile
+++ b/multimedia/syncplay/Makefile
@@ -2,13 +2,14 @@
PORTNAME= syncplay
DISTVERSIONPREFIX= v
-DISTVERSION= 1.5.2
+DISTVERSION= 1.5.3
CATEGORIES= multimedia
MAINTAINER= heckendorfc@gmail.com
COMMENT= Synchronize video playback over networks
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
@@ -38,4 +39,7 @@ VLC_MAKE_ARGS_OFF= VLC_SUPPORT=false
CLIENT_INSTALL_TARGET= install-client
SERVER_INSTALL_TARGET= install-server
+post-patch:
+ @${REINPLACE_CMD} -e 's|path = os.path.dirname(os.path.dirname(__file__))|path = "'${DATADIR}'"|g' ${WRKSRC}/syncplay/utils.py
+
.include <bsd.port.mk>
diff --git a/multimedia/syncplay/distinfo b/multimedia/syncplay/distinfo
index 4679bac0530b..152bbc6e8444 100644
--- a/multimedia/syncplay/distinfo
+++ b/multimedia/syncplay/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1520079690
-SHA256 (Syncplay-syncplay-v1.5.2_GH0.tar.gz) = 8a6a6e73b28e842230b4deef3b031f8ebeea5e30ffca393f2c4f8de207c6f428
-SIZE (Syncplay-syncplay-v1.5.2_GH0.tar.gz) = 1636375
+TIMESTAMP = 1523143615
+SHA256 (Syncplay-syncplay-v1.5.3_GH0.tar.gz) = db7dff9362645e7ed1f79eb5c70a742a8ffb6f52c9412def6766c2a9a55260fa
+SIZE (Syncplay-syncplay-v1.5.3_GH0.tar.gz) = 1637072
diff --git a/multimedia/syncplay/files/patch-GNUmakefile b/multimedia/syncplay/files/patch-GNUmakefile
index f0d48c2e1917..b45e724b8198 100644
--- a/multimedia/syncplay/files/patch-GNUmakefile
+++ b/multimedia/syncplay/files/patch-GNUmakefile
@@ -1,6 +1,6 @@
---- GNUmakefile.orig 2017-01-30 23:01:02 UTC
+--- GNUmakefile.orig 2018-04-07 21:02:55 UTC
+++ GNUmakefile
-@@ -38,6 +38,10 @@ endif
+@@ -38,17 +38,22 @@ endif
APP_SHORTCUT_PATH = ${DESTDIR}${PREFIX}/share/applications
SHARE_PATH = ${DESTDIR}${PREFIX}/share
@@ -9,9 +9,25 @@
+all:
+
common:
- -mkdir -p $(LIB_PATH)/syncplay/resources/lua/intf
+- -mkdir -p $(LIB_PATH)/syncplay/resources/lua/intf
++ -mkdir -p $(SHARE_PATH)/syncplay/resources/lua/intf
-mkdir -p $(APP_SHORTCUT_PATH)
-@@ -59,8 +63,8 @@ u-common:
+ -mkdir -p $(SHARE_PATH)/app-install/icons
+ -mkdir -p $(SHARE_PATH)/pixmaps/
++ -mkdir -p $(LIB_PATH)/syncplay
+ cp -r syncplay $(LIB_PATH)/syncplay/
+ chmod 755 $(LIB_PATH)/syncplay/
+ cp -r resources/hicolor $(SHARE_PATH)/icons/
+- cp -r resources/*.png $(LIB_PATH)/syncplay/resources/
+- cp -r resources/*.lua $(LIB_PATH)/syncplay/resources/
+- cp -r resources/lua/intf/*.lua $(LIB_PATH)/syncplay/resources/lua/intf/
++ cp -r resources/*.png $(SHARE_PATH)/syncplay/resources/
++ cp -r resources/*.lua $(SHARE_PATH)/syncplay/resources/
++ cp -r resources/lua/intf/*.lua $(SHARE_PATH)/syncplay/resources/lua/intf/
+ cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/app-install/icons/
+ cp resources/hicolor/48x48/apps/syncplay.png $(SHARE_PATH)/pixmaps/
+
+@@ -60,8 +65,8 @@ u-common:
client:
-mkdir -p $(BIN_PATH)
@@ -21,7 +37,7 @@
chmod 755 $(BIN_PATH)/syncplay
cp syncplayClient.py $(LIB_PATH)/syncplay/
cp resources/syncplay.desktop $(APP_SHORTCUT_PATH)/
-@@ -72,8 +76,6 @@ endif
+@@ -73,8 +78,6 @@ endif
ifeq ($(VLC_SUPPORT),true)
-mkdir -p ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/
cp resources/lua/intf/syncplay.lua ${DESTDIR}$(VLC_LIB_PATH)/vlc/lua/intf/
@@ -30,7 +46,7 @@
endif
u-client:
-@@ -85,8 +87,8 @@ u-client:
+@@ -86,8 +89,8 @@ u-client:
server:
-mkdir -p $(BIN_PATH)
diff --git a/multimedia/syncplay/pkg-descr b/multimedia/syncplay/pkg-descr
index 1a46af49bbbb..7e34f6b2d555 100644
--- a/multimedia/syncplay/pkg-descr
+++ b/multimedia/syncplay/pkg-descr
@@ -6,4 +6,4 @@ 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/
+WWW: https://syncplay.pl/
diff --git a/multimedia/syncplay/pkg-plist b/multimedia/syncplay/pkg-plist
index 765078748fbb..6a04aba0a396 100644
--- a/multimedia/syncplay/pkg-plist
+++ b/multimedia/syncplay/pkg-plist
@@ -1,59 +1,59 @@
%%CLIENT%%bin/syncplay
%%SERVER%%bin/syncplay-server
-lib/syncplay/resources/accept.png
-lib/syncplay/resources/application_get.png
-lib/syncplay/resources/arrow_refresh.png
-lib/syncplay/resources/arrow_switch.png
-lib/syncplay/resources/arrow_undo.png
-lib/syncplay/resources/bullet_right_grey.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/delete.png
-lib/syncplay/resources/door_in.png
-lib/syncplay/resources/email_go.png
-lib/syncplay/resources/empty_checkbox.png
-lib/syncplay/resources/error.png
-lib/syncplay/resources/eye.png
-lib/syncplay/resources/film_add.png
-lib/syncplay/resources/film_edit.png
-lib/syncplay/resources/film_folder_edit.png
-lib/syncplay/resources/film_go.png
-lib/syncplay/resources/film_link.png
-lib/syncplay/resources/folder_explore.png
-lib/syncplay/resources/folder_film.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/lua/intf/syncplay.lua
-lib/syncplay/resources/mpc-be.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/shield_add.png
-lib/syncplay/resources/shield_edit.png
-lib/syncplay/resources/syncplay.png
-lib/syncplay/resources/syncplayintf.lua
-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_comment.png
-lib/syncplay/resources/user_key.png
-lib/syncplay/resources/vlc.png
-lib/syncplay/resources/world_add.png
-lib/syncplay/resources/world_explore.png
-lib/syncplay/resources/world_go.png
+%%DATADIR%%/resources/accept.png
+%%DATADIR%%/resources/application_get.png
+%%DATADIR%%/resources/arrow_refresh.png
+%%DATADIR%%/resources/arrow_switch.png
+%%DATADIR%%/resources/arrow_undo.png
+%%DATADIR%%/resources/bullet_right_grey.png
+%%DATADIR%%/resources/chevrons_right.png
+%%DATADIR%%/resources/clock_go.png
+%%DATADIR%%/resources/cog.png
+%%DATADIR%%/resources/cog_delete.png
+%%DATADIR%%/resources/comments.png
+%%DATADIR%%/resources/control_pause_blue.png
+%%DATADIR%%/resources/control_play_blue.png
+%%DATADIR%%/resources/cross.png
+%%DATADIR%%/resources/cross_checkbox.png
+%%DATADIR%%/resources/delete.png
+%%DATADIR%%/resources/door_in.png
+%%DATADIR%%/resources/email_go.png
+%%DATADIR%%/resources/empty_checkbox.png
+%%DATADIR%%/resources/error.png
+%%DATADIR%%/resources/eye.png
+%%DATADIR%%/resources/film_add.png
+%%DATADIR%%/resources/film_edit.png
+%%DATADIR%%/resources/film_folder_edit.png
+%%DATADIR%%/resources/film_go.png
+%%DATADIR%%/resources/film_link.png
+%%DATADIR%%/resources/folder_explore.png
+%%DATADIR%%/resources/folder_film.png
+%%DATADIR%%/resources/help.png
+%%DATADIR%%/resources/house.png
+%%DATADIR%%/resources/key_go.png
+%%DATADIR%%/resources/lock.png
+%%DATADIR%%/resources/lock_open.png
+%%DATADIR%%/resources/lua/intf/syncplay.lua
+%%DATADIR%%/resources/mpc-be.png
+%%DATADIR%%/resources/mpc-hc.png
+%%DATADIR%%/resources/mpc-hc64.png
+%%DATADIR%%/resources/mplayer.png
+%%DATADIR%%/resources/mpv.png
+%%DATADIR%%/resources/page_white_key.png
+%%DATADIR%%/resources/shield_add.png
+%%DATADIR%%/resources/shield_edit.png
+%%DATADIR%%/resources/syncplay.png
+%%DATADIR%%/resources/syncplayintf.lua
+%%DATADIR%%/resources/table_refresh.png
+%%DATADIR%%/resources/tick.png
+%%DATADIR%%/resources/tick_checkbox.png
+%%DATADIR%%/resources/timeline_marker.png
+%%DATADIR%%/resources/user_comment.png
+%%DATADIR%%/resources/user_key.png
+%%DATADIR%%/resources/vlc.png
+%%DATADIR%%/resources/world_add.png
+%%DATADIR%%/resources/world_explore.png
+%%DATADIR%%/resources/world_go.png
lib/syncplay/syncplay/__init__.py
lib/syncplay/syncplay/client.py
lib/syncplay/syncplay/clientManager.py