Files
chromebrew/packages/libgnt.rb
Maximilian Downey Twiss 40b8844fa3 Upgrade f* packages (#10244)
* f2fs-tools 1.14.0 -> 1.16.0

* faad2 2.10.1 -> 2.11.1

* fakeroot 1.25.3 -> 1.35.1

* faultstat 0.01.01 -> 0.01.11

* fcft 2.5.1 -> 3.1.8

* feh 3.6.3 -> 3.10.3

* fetch 12.0.10 -> 12.0.11

* Add libgnt package

* Finch 2.12.0-1 -> 2.14.13

* fish 3.6.1 -> 3.7.1

* flatseal 1.7.5 -> 2.2.0

* flif 0.3 -> 0.4

* fnotifystat 0.02.02 -> 0.03.00

* Foliate 2.6.4 -> 3.1.1

* Folks 0.15.7 -> 0.15.9

* util_macros 1.19.3 -> xorg_macros 1.20.1

* font-util 1.3.2 -> 1.4.1

* font-adobe-100dpi 1.0.3 -> 1.0.4

* font-adobe-75dpi 1.0.3 -> 1.0.4

* font-adobe-utopia-100dpi 1.0.4 -> 1.0.5

* font-adobe-utopia-75dpi 1.0.4 -> 1.0.5

* font-adobe-utopia-type1 1.0.4 -> 1.0.5

* font-bh-100dpi 1.0.3 -> 1.0.4

* font-bh-75dpi 1.0.3 -> 1.0.4

* font-bh-lucidatypewriter-100dpi 1.0.3 -> 1.0.4

* font-bh-lucidatypewriter-75dpi 1.0.3 -> 1.0.4

* font-bh-ttf 1.0.3 -> 1.0.4

* font-bh-type1 1.0.3 -> 1.0.4

* font-bitstream-100dpi 1.0.3 -> 1.0.4

* font-bitstream-75dpi 1.0.3 -> 1.0.4

* font-bitstream-type1 1.0.3 -> 1.0.4

* font-cursor-misc 1.0.3 -> 1.0.4

* font-daewoo-misc 1.0.3 -> 1.0.4

* font-dec-misc 1.0.3 -> 1.0.4

* font-isas-misc 1.0.3 -> 1.0.4

* font-jis-misc 1.0.3 -> 1.0.4

* font-misc-misc 1.1.2 -> 1.1.3

* font-mutt-misc 1.0.3 -> 1.0.4

* Add libspiro package

* fontforge 20170731 -> 20230101

* tllist 1.0.5 -> 1.1.0

* foot 1.15.0 -> 1.18.0

* forkstat 0.02.10 -> 0.03.02

* fossil 2.6 -> 2.24

* Fragments 2.1.1 -> 3.0.1

* FreeGLUT 3.2.1 -> 3.6.0
2024-08-03 08:01:05 -04:00

36 lines
1.5 KiB
Ruby

require 'buildsystems/meson'
class Libgnt < Meson
description 'GNT is an ncurses toolkit for creating text-mode graphical user interfaces in a fast and easy way.'
homepage 'https://keep.imfreedom.org/libgnt/libgnt'
version '2.14.3'
license 'GPL-2+'
compatibility 'all'
source_url "https://downloads.sourceforge.net/project/pidgin/libgnt/#{version}/libgnt-#{version}.tar.xz"
source_sha256 '57f5457f72999d0bb1a139a37f2746ec1b5a02c094f2710a339d8bcea4236123'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '0f1d7253d300ebee18ab940a708db7acfaf1cb911ff9c8abab0a83059a7a69b1',
armv7l: '0f1d7253d300ebee18ab940a708db7acfaf1cb911ff9c8abab0a83059a7a69b1',
i686: '3047f5c8cd450467cdd281878f36f4f7d99da015cc0db21f9eb3dc13db075d1a',
x86_64: 'bee673b82722ce2637f6b0ad854b40e7a9130da1f7c6e6a022291e86f418cde6'
})
depends_on 'glib'
depends_on 'libxml2'
depends_on 'ncurses'
def self.patch
# Use panel_window instead of directly accessing the struct member
downloader 'https://keep.imfreedom.org/libgnt/libgnt/raw-rev/2da723f790d6', '6cb459fb35b9142390b6c3ea6af5ea031cb69b3f4248cba7e50ff32d51107ef0'
system 'git apply 2da723f790d6'
# A proper fix to this should probably be upstreamed, given that most distros patch this ncurses check somehow.
system "sed -i 's|/usr|#{CREW_PREFIX}|' meson.build"
end
# Python support was removed upstream anyways, so we can drop this when we upgrade to the next release.
meson_options '-Dpython2=false -Ddoc=false'
end