Skip to content

Commit

Permalink
Merge pull request #98 from g-maxime/movmetaedit-v24.06
Browse files Browse the repository at this point in the history
movmetaedit and movmetaedit-gui v24.06
  • Loading branch information
JeromeMartinez authored Jun 9, 2024
2 parents ef75718 + 98207ce commit c4c954f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
15 changes: 9 additions & 6 deletions movmetaedit-gui.rb
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
9 changes: 6 additions & 3 deletions movmetaedit.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -14,4 +13,8 @@ def install
system "make", "install"
end
end

test do
system "#{bin}/movmetaedit", "--help"
end
end

0 comments on commit c4c954f

Please sign in to comment.