Files
chromebrew/packages/mupdf.rb
chromebrew-actions[bot] 38439537ab gparted -> 1.8.1 in updater-gparted-1.8.1 — gparted: 1.8.0 → 1.8.1 (#15055)
* gparted -> 1.8.1 in updater-gparted-1.8.1

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container.

* updater-gparted-1.8.1: Package File Update Run on linux/amd64 container.

* Cleanup gparted.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update dependencies to use :executable instead of :executable_only

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2026-03-19 00:13:29 +00:00

49 lines
1.4 KiB
Ruby

require 'package'
class Mupdf < Package
description 'MuPDF is a lightweight open source software framework for viewing and converting PDF, XPS, and E-book documents.'
homepage 'https://mupdf.com/'
version '1.27.2'
license 'GPL-3'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/ArtifexSoftware/mupdf.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'f5b3a9d402c17e47fd5ee51599241f05129e4130b1261ad460af410581864511',
armv7l: 'f5b3a9d402c17e47fd5ee51599241f05129e4130b1261ad460af410581864511',
x86_64: 'c58ce3a9ed4a9ef6b4173b69f4c5f6615d208d38f9d80f07a63e2ea2fa7f08ef'
})
depends_on 'freeglut'
depends_on 'freetype'
depends_on 'gcc_lib' # R
depends_on 'glibc' => :executable
depends_on 'jbigkit'
depends_on 'libglvnd' => :executable
depends_on 'libjpeg_turbo'
depends_on 'libx11' => :executable
depends_on 'libxext' => :executable
depends_on 'libxrandr' => :executable
depends_on 'openjpeg'
depends_on 'openssl' => :executable
depends_on 'sommelier' => :logical unless ARCH == 'i686'
def self.build
if ARCH == 'i686'
system "make HAVE_X11=no prefix=#{CREW_PREFIX}"
else
system "make prefix=#{CREW_PREFIX}"
end
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.postinstall
ExitMessage.add "\nType 'mupdf-gl' to get started.\n"
end
end