From 98207ce79809ec70d773cfc4ca2913cd0d31e733 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Sun, 9 Jun 2024 18:33:33 +0200 Subject: [PATCH] movmetaedit and movmetaedit-gui v24.06 Signed-off-by: Maxime Gervais --- movmetaedit-gui.rb | 15 +++++++++------ movmetaedit.rb | 9 ++++++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/movmetaedit-gui.rb b/movmetaedit-gui.rb index aa48818..79bab52 100644 --- a/movmetaedit-gui.rb +++ b/movmetaedit-gui.rb @@ -1,15 +1,14 @@ class MovmetaeditGui < Formula - desc "A tool that supports embedding, validating, and exporting of metadata in MOV (Apple QuickTime) or MP4 (ISO/IEC 14496-14) files (GUI)" + desc "Embed, validate and export MOV (QuickTime) or MP4 files metadata" homepage "https://mediaarea.net/MOVMetaEdit" - version "17.10.1" - url "https://mediaarea.net/download/binary/movmetaedit-gui/#{version}/MOVMetaEdit_GUI_#{version}_GNU_FromSource.tar.bz2" - sha256 "97d82567b6ef8d00b7d1c35659175ccd5cb0f5770de3c704383d6e3df364ff2c" + url "https://mediaarea.net/download/binary/movmetaedit-gui/24.06/MOVMetaEdit_GUI_24.06_GNU_FromSource.tar.xz" + sha256 "d743baa9963ea67c9ecdf5a2a01368fffabbef989da493ded978a5d12f01244a" - depends_on "qt" + depends_on "qt@5" def install cd "Project/Qt" do - system "#{Formula["qt"].bin}/qmake" + system "#{Formula["qt@5"].bin}/qmake" system "make" prefix.install "MOV MetaEdit.app" @@ -18,4 +17,8 @@ def install ln "#{prefix}/MOV MetaEdit.app/Contents/MacOS/MOV MetaEdit", "#{bin}/movmetaedit-gui" end end + + test do + assert_predicate "#{bin}/movmetaedit-gui", :exist? + end end diff --git a/movmetaedit.rb b/movmetaedit.rb index b97df4d..35acf55 100644 --- a/movmetaedit.rb +++ b/movmetaedit.rb @@ -1,9 +1,8 @@ class Movmetaedit < Formula desc "Embed, validate and export MOV (QuickTime) or MP4 files metadata" homepage "https://mediaarea.net/MOVMetaEdit" - url "https://mediaarea.net/download/binary/movmetaedit/17.10.1/MOVMetaEdit_CLI_17.10.1_GNU_FromSource.tar.bz2" - version "17.10.1" - sha256 "dd7654f51c2cd5c41386fcd3b7ec2e2a722231f3da89872d0f7ba15e4f6a5cca" + url "https://mediaarea.net/download/binary/movmetaedit/24.06/MOVMetaEdit_CLI_24.06_GNU_FromSource.tar.xz" + sha256 "51c74eb5db845e9436f3e82f37ea1a9c8c8f8a00ddacd6f5087696081b74ba2a" def install cd "Project/GNU/CLI" do @@ -14,4 +13,8 @@ def install system "make", "install" end end + + test do + system "#{bin}/movmetaedit", "--help" + end end