diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile index c2d495b175d3..67face4a9837 100644 --- a/comms/scrcpy/Makefile +++ b/comms/scrcpy/Makefile @@ -1,50 +1,50 @@ PORTNAME= scrcpy DISTVERSIONPREFIX= v -DISTVERSION= 2.6.1 +DISTVERSION= 2.7 CATEGORIES= comms net MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server DISTFILES= ${SERVER_FILE}:server EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Display and control your Android device WWW= https://github.com/Genymobile/scrcpy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg RUN_DEPENDS= adb:devel/android-tools USES= compiler:c++11-lang meson pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= Genymobile USE_SDL= sdl2 MESON_ARGS= -Dportable=false \ -Dprebuilt_server=${WRKSRC}/${SERVER_FILE} PLIST_FILES= bin/scrcpy \ etc/bash_completion.d/scrcpy \ share/man/man1/scrcpy.1.gz \ share/applications/scrcpy-console.desktop \ share/applications/scrcpy.desktop \ share/icons/hicolor/256x256/apps/scrcpy.png \ ${DATADIR}/scrcpy-server \ share/zsh/site-functions/_scrcpy PORTDOCS= FAQ.md README.md OPTIONS_DEFINE= DOCS SERVER_FILE= ${PORTNAME}-server-${DISTVERSIONFULL} post-extract: ${CP} ${DISTDIR}/${SERVER_FILE} ${WRKSRC} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo index 65c498d90b4d..c3a79e3ef996 100644 --- a/comms/scrcpy/distinfo +++ b/comms/scrcpy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1722841996 -SHA256 (scrcpy-server-v2.6.1) = ca7ab50b2e25a0e5af7599c30383e365983fa5b808e65ce2e1c1bba5bfe8dc3b -SIZE (scrcpy-server-v2.6.1) = 71112 -SHA256 (Genymobile-scrcpy-v2.6.1_GH0.tar.gz) = 4948474f1494fdff852a0a7fa823a0b3c25d3ea0384acdaf46c322e34b13e449 -SIZE (Genymobile-scrcpy-v2.6.1_GH0.tar.gz) = 419739 +TIMESTAMP = 1727077696 +SHA256 (scrcpy-server-v2.7) = a23c5659f36c260f105c022d27bcb3eafffa26070e7baa9eda66d01377a1adba +SIZE (scrcpy-server-v2.7) = 71200 +SHA256 (Genymobile-scrcpy-v2.7_GH0.tar.gz) = 3ceea215f6eccb59535f68a16db6db2b05a8a1c91bdcb4a6e222d3093a9daf8c +SIZE (Genymobile-scrcpy-v2.7_GH0.tar.gz) = 430160 diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build index 8cdc0da19149..4bfefb993487 100644 --- a/comms/scrcpy/files/patch-app_meson.build +++ b/comms/scrcpy/files/patch-app_meson.build @@ -1,26 +1,26 @@ ---- app/meson.build.orig 2024-03-02 22:22:09 UTC +--- app/meson.build.orig 2024-09-15 19:18:15 UTC +++ app/meson.build -@@ -61,8 +61,8 @@ conf = configuration_data() +@@ -64,8 +64,8 @@ conf = configuration_data() conf = configuration_data() -conf.set('_POSIX_C_SOURCE', '200809L') -conf.set('_XOPEN_SOURCE', '700') +# conf.set('_POSIX_C_SOURCE', '200809L') +# conf.set('_XOPEN_SOURCE', '700') conf.set('_GNU_SOURCE', true) if host_machine.system() == 'windows' -@@ -190,10 +190,10 @@ install_data('data/bash-completion/scrcpy', +@@ -194,10 +194,10 @@ install_data('data/bash-completion/scrcpy', install_data('data/zsh-completion/_scrcpy', install_dir: join_paths(datadir, 'zsh/site-functions')) install_data('data/bash-completion/scrcpy', - install_dir: join_paths(datadir, 'bash-completion/completions')) + install_dir: 'etc/bash_completion.d') # Desktop entry file for application launchers -if host_machine.system() == 'linux' +if host_machine.system() == 'linux' or host_machine.system() == 'freebsd' # Install a launcher (ex: /usr/local/share/applications/scrcpy.desktop) install_data('data/scrcpy.desktop', install_dir: join_paths(datadir, 'applications'))