Skip to content

Updated packages #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Formula/girara.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class Girara < Formula
desc "Interface library"
homepage "https://pwmt.org/projects/girara/"
url "https://github.com/pwmt/girara/archive/0.4.0.tar.gz"
sha256 "24edfa3d493e7d4bbf491bb730d036cfedbd6c34ada1a7cfcd6273e78cffa44c"
url "https://github.com/pwmt/girara/archive/0.4.5.tar.gz"
sha256 "9abb84fdb3f8f51e8aef8d53488fd0631357f0713ad5aa4a5c755c23f54b23df"
head "https://github.com/pwmt/girara.git", branch: "develop"

bottle do
root_url "https://ghcr.io/v2/zegervdv/zathura"
rebuild 1
sha256 ventura: "de3d8697345a2f225cc0ea5b24f78935b8f19062faa847785051d52bea637ea1"
sha256 x86_64_linux: "a4d3262b78ef8c778dda19e6e078c9fce68b862b51d44470eca325cf26648b2c"
end
# bottle do
# root_url "https://ghcr.io/v2/zegervdv/zathura"
# rebuild 1
# sha256 ventura: "de3d8697345a2f225cc0ea5b24f78935b8f19062faa847785051d52bea637ea1"
# sha256 x86_64_linux: "a4d3262b78ef8c778dda19e6e078c9fce68b862b51d44470eca325cf26648b2c"
# end

depends_on "meson" => :build
depends_on "ninja" => :build
Expand Down
14 changes: 7 additions & 7 deletions Formula/synctex.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
class Synctex < Formula
desc "Parser libary for synctex"
homepage "https://github.com/jlaurens/synctex"
url "https://github.com/jlaurens/synctex", using: :git, revision: "a256d4835b7df2a0472cfa3d557af73a1b83f076", branch: "2020"
version "1.22.0"
url "https://github.com/jlaurens/synctex", using: :git, revision: "d37a5a59091b6a1bda387e68dd9431a7a750f419", branch: "2024"
version "2024"
revision 2

bottle do
root_url "https://github.com/zegervdv/homebrew-zathura/releases/download/synctex-1.22.0_2"
sha256 cellar: :any, big_sur: "28ecec53683b7cc5bb5686705f8ab9f07517fa790527625c792094a51d4e0b25"
sha256 cellar: :any_skip_relocation, x86_64_linux: "aaa344cbb93e7794e72da4f97c492a7a89dadc533dbd9639672512aa5d94c9a4"
end
# bottle do
# root_url "https://github.com/zegervdv/homebrew-zathura/releases/download/synctex-1.22.0_2"
# sha256 cellar: :any, big_sur: "28ecec53683b7cc5bb5686705f8ab9f07517fa790527625c792094a51d4e0b25"
# sha256 cellar: :any_skip_relocation, x86_64_linux: "aaa344cbb93e7794e72da4f97c492a7a89dadc533dbd9639672512aa5d94c9a4"
# end

depends_on "zlib"

Expand Down
6 changes: 3 additions & 3 deletions Formula/zathura-djvu.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class ZathuraDjvu < Formula
desc "DJVU plugin for zathura"
homepage "https://pwmt.org/projects/zathura-djvu/"
url "https://github.com/pwmt/zathura-djvu/archive/0.2.9.tar.gz"
sha256 "84fae6da42e7cdc2e49ed4cd4f0315ac09716e95358b9c7487803a2cff47dbca"
url "https://github.com/pwmt/zathura-djvu/archive/0.2.10.tar.gz"
sha256 "3749fe9da14c5cbd13598c83f2dbff9c1c1d906797139fc809ef256f8075c987"

depends_on "cmake" => :build
depends_on "meson" => :build
Expand All @@ -12,7 +12,7 @@ class ZathuraDjvu < Formula
depends_on "zathura"

def install
inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "'#{prefix}'"
inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "'#{prefix}'"
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja"
Expand Down
6 changes: 3 additions & 3 deletions Formula/zathura-pdf-mupdf.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class ZathuraPdfMupdf < Formula
desc "MuPDF backend plugin for zathura"
homepage "https://pwmt.org/projects/zathura-pdf-mupdf/"
url "https://github.com/pwmt/zathura-pdf-mupdf/archive/0.3.9.tar.gz"
sha256 "05a6f22244c054a90f89ea2f746ea45ebaceb6c0559bfa4dcfd120c4d485346c"
url "https://github.com/pwmt/zathura-pdf-mupdf/archive/0.4.4.tar.gz"
sha256 "90bdc7c0d4b5f6bd7b17f9c3832ae5eb8465b45d78ab3b8c2fca26ed45ed1177"
revision 1

depends_on "cmake" => :build
Expand All @@ -13,7 +13,7 @@ class ZathuraPdfMupdf < Formula
depends_on "zathura"

def install
inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "prefix"
inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "prefix"
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja"
Expand Down
6 changes: 3 additions & 3 deletions Formula/zathura-pdf-poppler.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class ZathuraPdfPoppler < Formula
desc "Poppler backend plugin for zathura"
homepage "https://pwmt.org/projects/zathura-pdf-poppler/"
url "https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.0.tar.gz"
sha256 "2034f70a936d458ddc9276f769e77ff308ba3bb1b7a7cdc87bab8b9ef7ade84a"
url "https://github.com/pwmt/zathura-pdf-poppler/archive/0.3.3.tar.gz"
sha256 "bff865c712920c64d1393f87811b66bf79909fa7ee82364cf0cde7d5552613ea"

depends_on "cmake" => :build
depends_on "meson" => :build
Expand All @@ -12,7 +12,7 @@ class ZathuraPdfPoppler < Formula
depends_on "zathura"

def install
inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "prefix"
inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "prefix"
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja"
Expand Down
2 changes: 1 addition & 1 deletion Formula/zathura-ps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ZathuraPs < Formula
depends_on "zathura"

def install
inreplace "meson.build", "zathura.get_pkgconfig_variable('plugindir')", "'#{prefix}'"
inreplace "meson.build", "zathura.get_variable(pkgconfig: 'plugindir')", "'#{prefix}'"
mkdir "build" do
system "meson", *std_meson_args, ".."
system "ninja"
Expand Down
5 changes: 3 additions & 2 deletions Formula/zathura.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Zathura < Formula
desc "PDF viewer"
homepage "https://pwmt.org/projects/zathura/"
url "https://github.com/pwmt/zathura/archive/0.5.8.tar.gz"
sha256 "bfe3b76605c9e352dbb80bf4e4558b11453b1f1b30263d1dddf3e717897c7db9"
url "https://github.com/pwmt/zathura/archive/0.5.9.tar.gz"
sha256 "6108bfe87676c0ddc1289dd4278ac8c7ab9e47cb4bb419f71786baa99e14760f"
revision 0
head "https://github.com/pwmt/zathura.git", branch: "develop"

Expand All @@ -21,6 +21,7 @@ class Zathura < Formula
depends_on "synctex" => :optional
on_macos do
depends_on "gtk+3"
depends_on "gtk-mac-integration"
end

def install
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,25 @@ brew tap marc-shen/zathura
brew install zathura
```

With Synctex:
```
brew install zathura --with-synctex
```

### Install and link one of the two plugins

For poppler:
```
$ brew install zathura-pdf-poppler
$ mkdir -p $(brew --prefix zathura)/lib/zathura
$ ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib
brew install zathura-pdf-poppler
mkdir -p $(brew --prefix zathura)/lib/zathura
ln -s $(brew --prefix zathura-pdf-poppler)/libpdf-poppler.dylib $(brew --prefix zathura)/lib/zathura/libpdf-poppler.dylib
```

For mupdf:
```
$ brew install zathura-pdf-mupdf
$ mkdir -p $(brew --prefix zathura)/lib/zathura
$ ln -s $(brew --prefix zathura-pdf-mupdf)/libpdf-mupdf.dylib $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib
brew install zathura-pdf-mupdf
mkdir -p $(brew --prefix zathura)/lib/zathura
ln -s $(brew --prefix zathura-pdf-mupdf)/libpdf-mupdf.dylib $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib
```

### OSX_native_integration
Expand Down