From nobody Sun Jan 29 07:41:33 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P4NY93k4nz3bTd2; Sun, 29 Jan 2023 07:41:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P4NY932FBz4NgF; Sun, 29 Jan 2023 07:41:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674978093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N0SKf5lp2jpsGphjXxTHYQhdt2ef89vcGL4ZwuS3HgY=; b=d6HUufbW6nrbFOmEn8NIGUacHBF1IrNtdwuddzzYwVJ796U2sKt91xvrOciap3cGsIw5j4 L37LeopR4TXsnJf1FtjEEQGmKdW0g9jP9zf4kgUImm9J+UUwKAeH7b95l5awJ97NYSKB11 0MjOGDhoWrUB7RXppBOSSvOce3JZ5ISMjL4jQre8LBj7QokXsTT5JB/iHeTFr2lzpdY1Gk SMLQHabjztnL/Gfw76Blh+ACjxVF3GYp1Qx2BerFIxJh2EEAQQV+9Y0dcrO01DtghQ+7Ok KVZ91/0MQTWpRqdSX7GjGuXyQwU6AGXYI3r+5oTm1JVZE3BoocqDOSt9TbJLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674978093; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N0SKf5lp2jpsGphjXxTHYQhdt2ef89vcGL4ZwuS3HgY=; b=AcByvoOCVvludzJmk1BJ9y21I00h2C/76OCZgvl6URFkgh2l3snkjUA+BsWsYLA9HTytLS 5sM04iglzfT6QXv01W1yWuiuXYVJTgxdui6OWhjvUTOu0mcO8YeoOw3kAhBVvkZ3+YVe4l 8Lf6I9jIx0M3MLuhT6509Scz1B/lFz6Z7zUf4ZPVkno1OBlnpfPNetGKiAe23o46BPZnY5 h+SUJHfU0Twwy8z/acy7GQ6/0cavj+hdpjP4w42bb7xlXvrPV6YBCsaMdREZ/wco0+Ff9g 7Z3s3CJT3SFyquaS05BbGDcQagsQhuzIBezKATvgQDjt71OutOJoiBMlgNa8Lg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674978093; a=rsa-sha256; cv=none; b=ygpof7eZvxIvoZvJ/LnYgyqsQVivV/aLAD7FYzr4qaQqQwr8SrXVZmntlVK4f9ZAEg6MO+ vlyvhTsRzVbQiWLHVkb4JNVzrrKu/mosD5E+fL+0ZZBJx6e+vB5CkhjzK9DPkx4XEmtAR6 aGB+kbgzaYjXAooRVJNSzxcrC0dxsRE95F+hPQrxaC3dX95TCezggr4wLm9aEFFiWQWEDH hjfyeknTgqqi1uLOmy7a4JjKbqPKrkNJRUCHfLl2W+sJSuhQF689PPvUCZnwJhQNO0qdOR 9w0slC7WrCaeZ5clqsEbBcg32j7oEQEZLLCPSUT4yst9gjyMHMIgBvy8qD9t3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P4NY925pxzLM1; Sun, 29 Jan 2023 07:41:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30T7fXnp035526; Sun, 29 Jan 2023 07:41:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30T7fXrS035525; Sun, 29 Jan 2023 07:41:33 GMT (envelope-from git) Date: Sun, 29 Jan 2023 07:41:33 GMT Message-Id: <202301290741.30T7fXrS035525@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 5a6c7da77586 - main - comms/scrcpy: update to 1.25 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5a6c7da77586a2a37e1902aae94ca2aafc5263fc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a6c7da77586a2a37e1902aae94ca2aafc5263fc commit 5a6c7da77586a2a37e1902aae94ca2aafc5263fc Author: Hiroki Tagato AuthorDate: 2023-01-29 07:40:31 +0000 Commit: Hiroki Tagato CommitDate: 2023-01-29 07:41:23 +0000 comms/scrcpy: update to 1.25 Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v1.25 --- comms/scrcpy/Makefile | 6 ++++-- comms/scrcpy/distinfo | 10 +++++----- comms/scrcpy/files/patch-app_meson.build | 16 ++++++++++------ 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile index f65ff780d1a3..8e97ea7f04de 100644 --- a/comms/scrcpy/Makefile +++ b/comms/scrcpy/Makefile @@ -1,6 +1,6 @@ PORTNAME= scrcpy DISTVERSIONPREFIX= v -DISTVERSION= 1.24 +DISTVERSION= 1.25 CATEGORIES= comms net MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server DISTFILES= ${SERVER_FILE}:server @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg RUN_DEPENDS= adb:devel/android-tools -USES= compiler:c++11-lang meson pkgconfig sdl +USES= compiler:c++11-lang desktop-file-utils meson pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= Genymobile @@ -29,6 +29,8 @@ MESON_ARGS= -Dportable=false \ PLIST_FILES= bin/scrcpy \ etc/bash_completion.d/scrcpy \ 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 diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo index 198ac7b83914..b1472710862e 100644 --- a/comms/scrcpy/distinfo +++ b/comms/scrcpy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1656485534 -SHA256 (scrcpy-server-v1.24) = ae74a81ea79c0dc7250e586627c278c0a9a8c5de46c9fb5c38c167fb1a36f056 -SIZE (scrcpy-server-v1.24) = 41159 -SHA256 (Genymobile-scrcpy-v1.24_GH0.tar.gz) = e3054ad453ac577b941f8df0eabc94e842affc6e1d10ba8d21cededfa2eacc73 -SIZE (Genymobile-scrcpy-v1.24_GH0.tar.gz) = 424970 +TIMESTAMP = 1674893057 +SHA256 (scrcpy-server-v1.25) = ce0306c7bbd06ae72f6d06f7ec0ee33774995a65de71e0a83813ecb67aec9bdb +SIZE (scrcpy-server-v1.25) = 42151 +SHA256 (Genymobile-scrcpy-v1.25_GH0.tar.gz) = dfecc9dcffd45540bef88a7e346d37bead3665a5c868a5a95c5ec7bfed43ad07 +SIZE (Genymobile-scrcpy-v1.25_GH0.tar.gz) = 345594 diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build index 2f80b25a7491..fc2eaca88b2d 100644 --- a/comms/scrcpy/files/patch-app_meson.build +++ b/comms/scrcpy/files/patch-app_meson.build @@ -1,4 +1,4 @@ ---- app/meson.build.orig 2022-04-28 18:46:28 UTC +--- app/meson.build.orig 2022-12-22 11:33:29 UTC +++ app/meson.build @@ -46,8 +46,8 @@ src = [ @@ -11,12 +11,16 @@ conf.set('_GNU_SOURCE', true) if host_machine.system() == 'windows' -@@ -230,7 +230,7 @@ install_data('data/icon.png', +@@ -233,10 +233,10 @@ install_data('data/icon.png', install_data('data/zsh-completion/_scrcpy', - install_dir: 'share/zsh/site-functions') + install_dir: join_paths(datadir, 'zsh/site-functions')) install_data('data/bash-completion/scrcpy', -- install_dir: 'share/bash-completion/completions') +- install_dir: join_paths(datadir, 'bash-completion/completions')) + install_dir: 'etc/bash_completion.d') - - ### TESTS + # 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'))