Commit ba621303 authored by satmandu's avatar satmandu Committed by GitHub

Gparted 1.2.0 with deps (#5012)

* Add exfatprogs

* libaio -> 0.3.112

* lvm2 -> 2.03.11

* Add libinih

* Add xfsprogs

* mtools -> 4.0.26

* mm_common -> 1.0.2

* libsigcplusplus -> 2.10.6

* Update to 3.0.6

* glibmm to 2.64.5

* atkmm -> 2.28.1

* pangomm -< 2.42.2

* parted -> 3.3

* gtkmm3 -> 3.24.3

* fix man install

* fix bintray urls

* Add gparted

* add librsvg dep

* uprev and add postinstall section

* add homepage
parent c356f291
...@@ -3,37 +3,39 @@ require 'package' ...@@ -3,37 +3,39 @@ require 'package'
class Atkmm < Package class Atkmm < Package
description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.' description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.'
homepage 'https://www.gtkmm.org/' homepage 'https://www.gtkmm.org/'
version '2.24.2' version '2.28.1'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.28/atkmm-2.28.1.tar.xz'
source_sha256 'ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd' source_sha256 '116876604770641a450e39c1f50302884848ce9cc48d43c5dc8e8efc31f31bad'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.28.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.28.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.28.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.28.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '3b8bd296f91800c00124c56814bb255c53b75f120ee3fd0ee98384246836c8a4', aarch64: '0f959c7e95bee71b46cb1b90902d0e7556d0914e56e1a4e7654c95166307dd8d',
armv7l: '3b8bd296f91800c00124c56814bb255c53b75f120ee3fd0ee98384246836c8a4', armv7l: '0f959c7e95bee71b46cb1b90902d0e7556d0914e56e1a4e7654c95166307dd8d',
i686: 'e091b8ce4d5fce25477beff2b080fd874bdf79d22a1196f08058553a1667a8df', i686: '1b400ecf33d5dcbceaffee8608a06c155fcd57d118262569136552c1f11c96bc',
x86_64: '4b54089dfba9f62790935e2f8a2f7a953d8a8ff37158736167920747ce0d4675', x86_64: '2aee40b687e3c021894d9d98719655de5bc703f5d397b4ee2f452accc45915cd',
}) })
depends_on 'atk' depends_on 'atk'
depends_on 'glibmm' depends_on 'glibmm'
def self.build def self.build
# fix the documents directory name system "meson #{CREW_MESON_LTO_OPTIONS} \
system "sed -e '/^libdocdir =/ s/$(book_name)/atkmm-2.24.2/' \ --default-library=both \
-i doc/Makefile.in" -Dbuild-documentation=false \
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" -Dbuild-demos=false \
system "make" -Dbuild-tests=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
require 'package'
class Exfatprogs < Package
description 'exFAT filesystem userspace utilities for the Linux Kernel exfat driver'
homepage 'https://github.com/exfatprogs/exfatprogs'
@_ver = '1.0.4'
version @_ver
compatibility 'all'
source_url "https://github.com/exfatprogs/exfatprogs/archive/#{@_ver}/exfatprogs-#{@_ver}.tar.gz"
source_sha256 '3f755d35785a74138348b3a22dfcda5afc8a69e66a6a0c79be48225e6ca321ce'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/exfatprogs-1.0.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/exfatprogs-1.0.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/exfatprogs-1.0.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/exfatprogs-1.0.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0fb0f5a16c09f11c912016a73d0002e252737106a3c2c31fd838b5057bee02b8',
armv7l: '0fb0f5a16c09f11c912016a73d0002e252737106a3c2c31fd838b5057bee02b8',
i686: 'ef85f1bae5f9079f7664509977c3dc9383c8427bc4109ca67162eb463d10048f',
x86_64: '68184ee070d40c97c079fe6b5974e924ee373173b8c802d0c3f166d7277d70e7',
})
def self.build
system './autogen.sh'
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
./configure #{CREW_OPTIONS} --sbindir=#{CREW_PREFIX}/bin"
system "make"
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
system "install -Dm644 -t #{CREW_DEST_PREFIX}/share/man/man8 */*.8"
end
end
...@@ -3,33 +3,39 @@ require 'package' ...@@ -3,33 +3,39 @@ require 'package'
class Glibmm < Package class Glibmm < Package
description 'C++ bindings for GLib' description 'C++ bindings for GLib'
homepage 'https://www.gtkmm.org' homepage 'https://www.gtkmm.org'
version '2.64.2' version '2.64.5'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/glibmm/2.64/glibmm-2.64.2.tar.xz' source_url 'https://ftp.gnome.org/pub/GNOME/sources/glibmm/2.64/glibmm-2.64.5.tar.xz'
source_sha256 'a75282e58d556d9b2bb44262b6f5fb76c824ac46a25a06f527108bec86b8d4ec' source_sha256 '508fc86e2c9141198aa16c225b16fd6b911917c0d3817602652844d0973ea386'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/glibmm-2.64.5-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '72bb27894e3eb810f9cb188a4b80c286213900f01b310ab39b6a68370e9dda3a', aarch64: '08d942541e0df0a351f6d748051cc7deb18c4aa21c7950d9b166780ad86f2327',
armv7l: '72bb27894e3eb810f9cb188a4b80c286213900f01b310ab39b6a68370e9dda3a', armv7l: '08d942541e0df0a351f6d748051cc7deb18c4aa21c7950d9b166780ad86f2327',
i686: '96cfa5d2030370e2dd75ac11dd6389eef53751dab7a66f20abd5f53eaa7ffa48', i686: 'f0be0860b956388e55cc8d6d5cfb67f6ff547e653a06570ea0aa72e0e7121913',
x86_64: '97c66ad7fb93bf2715de8cfda6ce6afeb0f83d5235602cd7ba3d4cc42f02c6eb', x86_64: '2f050d4abd5cda7efa15e8df5dedc713bc18eb60141982c6b322b21d742ea233',
}) })
depends_on 'libsigcplusplus' depends_on 'libsigcplusplus'
depends_on 'mm_common' => :build depends_on 'mm_common' => :build
def self.build def self.build
system "./configure #{CREW_OPTIONS} " system "meson #{CREW_MESON_LTO_OPTIONS} \
system "make -j#{CREW_NPROC}" --default-library=both \
-Dbuild-documentation=false \
-Dbuild-demos=false \
-Dbuild-tests=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end end
def self.install def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
require 'package'
class Gparted < Package
description 'A Partition Magic clone, frontend to GNU Parted'
homepage 'https://gparted.org/'
@_ver = '1.2.0'
version @_ver
compatibility 'all'
source_url "https://downloads.sourceforge.net/project/gparted/gparted/gparted-#{@_ver}/gparted-#{@_ver}.tar.gz"
source_sha256 '6c90715d254d7a7ec0208b29007b64160dd9fb7df4c4aa7f8ec2c9d23114c719'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gparted-1.2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gparted-1.2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gparted-1.2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gparted-1.2.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8258baa778feb98e34f766ee8ce822d96eee1fc970313b7992874f0911dcf874',
armv7l: '8258baa778feb98e34f766ee8ce822d96eee1fc970313b7992874f0911dcf874',
i686: '0ec95233c92cf8abdfe830b959a45fd24aa8ba6f05b6776f2420e93af3a5e65c',
x86_64: '17f7af323b09b3b6de020b59ce2e28707e66514bc8505095c37ef9a792a53071',
})
depends_on 'parted'
depends_on 'gtkmm3'
depends_on 'intltool' => ':build'
depends_on 'itstool' => ':build'
depends_on 'yelp_tools' => ':build'
depends_on 'xfsprogs'
depends_on 'exfatprogs'
depends_on 'gpart'
depends_on 'mtools'
depends_on 'libsigcplusplus'
depends_on 'librsvg'
def self.build
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
./configure #{CREW_OPTIONS} \
--sbindir=#{CREW_PREFIX}/bin \
--enable-online-resize \
--enable-libparted-dmraid \
--enable-xhost-root"
system "make"
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
def self.postinstall
puts "To run gparted, execute the following:".orange
puts "xhost si:localuser:root".lightblue
puts "sudo gparted".lightblue
end
end
...@@ -3,34 +3,40 @@ require 'package' ...@@ -3,34 +3,40 @@ require 'package'
class Gtkmm3 < Package class Gtkmm3 < Package
description 'The Gtkmm3 package provides a C++ interface to GTK+ 3.' description 'The Gtkmm3 package provides a C++ interface to GTK+ 3.'
homepage 'https://www.gtkmm.org/' homepage 'https://www.gtkmm.org/'
version '3.24.1' version '3.24.3'
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/gtkmm/3.24/gtkmm-3.24.1.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/gtkmm/3.24/gtkmm-3.24.3.tar.xz'
source_sha256 'ddfe42ed2458a20a34de252854bcf4b52d3f0c671c045f56b42aa27c7542d2fd' source_sha256 '60497c4f7f354c3bd2557485f0254f8b7b4cf4bebc9fee0be26a77744eacd435'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gtkmm3-3.24.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '86060a13fc77c19a96824ec0dfa5d2aca1efbf5f49f1c413dac08689709c7756', aarch64: 'd296af5a49ecf3c541c9bd572a362fad38725878a4b40aa162d78218d1e241fa',
armv7l: '86060a13fc77c19a96824ec0dfa5d2aca1efbf5f49f1c413dac08689709c7756', armv7l: 'd296af5a49ecf3c541c9bd572a362fad38725878a4b40aa162d78218d1e241fa',
i686: '9f3e44da54fc92ca271d659c089da52d7dadb30fbd8449f7cf9efacd847dafee', i686: 'd10e9165ad434e818c47bb72c1e6eda5f619fdd946b43d114363919ccc0b0d5a',
x86_64: 'a725c0b8d92256ba6a598de8f3bf7be4494b81be248013206d78e353dcba2c14', x86_64: '9122aca97e3de40447e8fe3d0c3c88194b0f2ad885c4b3957db947fdce3d79c4',
}) })
depends_on 'atkmm' depends_on 'atkmm'
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'pangomm' depends_on 'pangomm'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "meson #{CREW_MESON_LTO_OPTIONS} \
system "make -j#{CREW_NPROC}" --default-library=both \
-Dbuild-documentation=false \
-Dbuild-demos=false \
-Dbuild-tests=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end end
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
...@@ -3,31 +3,33 @@ require 'package' ...@@ -3,31 +3,33 @@ require 'package'
class Libaio < Package class Libaio < Package
description 'Linux-native asynchronous I/O access library' description 'Linux-native asynchronous I/O access library'
homepage 'https://pagure.io/libaio' homepage 'https://pagure.io/libaio'
version '0.3.110-2' @_ver = '0.3.112'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'http://libaio.sourcearchive.com/downloads/0.3.110-2/libaio_0.3.110.orig.tar.gz' source_url "https://pagure.io/libaio/archive/libaio-#{@_ver}/libaio-libaio-#{@_ver}.tar.gz"
source_sha256 'e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e' source_sha256 'b7cf93b29bbfb354213a0e8c0e82dfcf4e776157940d894750528714a0af2272'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.110-2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.112-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.110-2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.112-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.110-2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.112-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.110-2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaio-0.3.112-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '956d7421b3451c6c26b6ea9059e2940037aa29ca50be4197155d7d126186e67d', aarch64: 'f7fc535e5d72f059e97f5b18a41b3cac20b63930d773bdc21438e170bb395e26',
armv7l: '956d7421b3451c6c26b6ea9059e2940037aa29ca50be4197155d7d126186e67d', armv7l: 'f7fc535e5d72f059e97f5b18a41b3cac20b63930d773bdc21438e170bb395e26',
i686: 'f2418104d7535791ca17e47c51a4360248def84b0d1cc08555574a85a50c0ca1', i686: '95ec694e17e2c13ea263fd39711daf68d9f5e7b5e17c596e4aa52a1ce001398f',
x86_64: 'd2c211c05ff415f52f37102217726ba2e9b272daf178a63f0f612c9c2d4ebba5', x86_64: '17335130827e4eb1cc2202e5dcbc8651e61f8ba32fc8264c59bf26b78a0a5545',
}) })
def self.build def self.build
system "sed -i 's,prefix=/usr,prefix=#{CREW_DEST_PREFIX},' Makefile" system "sed -i 's,prefix=/usr,prefix=#{CREW_PREFIX},' Makefile"
system "sed -i 's,libdir=\$(prefix)/lib,libdir=#{CREW_DEST_LIB_PREFIX},' Makefile" system "sed -i 's,libdir=\$(prefix)/lib,libdir=#{CREW_LIB_PREFIX},' Makefile"
system "make" system 'make'
end end
def self.install def self.install
system "make install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package'
class Libinih < Package
description 'A simple .INI file parser written in C'
homepage 'https://github.com/benhoyt/inih'
@_ver = '52'
version @_ver
compatibility 'all'
source_url "https://github.com/benhoyt/inih/archive/r#{@_ver}.tar.gz"
source_sha256 '439cff9ce9a8afc52d08772ac3e93b3cecd79c7707f871fb4534fb3a48201880'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libinih-52-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libinih-52-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libinih-52-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libinih-52-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '813f8831babc7ab96bc4ec618b3b702e09906c97f7d319dc24e7cb5cf9b517a9',
armv7l: '813f8831babc7ab96bc4ec618b3b702e09906c97f7d319dc24e7cb5cf9b517a9',
i686: '652b3f23a2e720dcc915894a8c335efa08b664782c667331e7fea40f41debfb6',
x86_64: '81bc105c7144a03bb7a81a5997925fa67973c62c8598730586942950d40098b4',
})
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} \
-Ddefault_library=both \
-Ddistro_install=true \
-Dwith_INIReader=true \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
...@@ -3,22 +3,22 @@ require 'package' ...@@ -3,22 +3,22 @@ require 'package'
class Librsvg < Package class Librsvg < Package
description 'SVG library for GNOME' description 'SVG library for GNOME'
homepage 'https://wiki.gnome.org/Projects/LibRsvg' homepage 'https://wiki.gnome.org/Projects/LibRsvg'
version '2.50.1-1' version '2.50.2'
compatibility 'all' compatibility 'all'
source_url 'https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.1.tar.xz' source_url 'https://download.gnome.org/sources/librsvg/2.50/librsvg-2.50.2.tar.xz'
source_sha256 '9bd9799322e06cf5db19b9f7afb728edac6efcf0110baafc44f0f96f45df9a09' source_sha256 '6211f271ce4cd44a7318190d36712e9cea384a933d3e3570004edeb210a056d3'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.1-1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.1-1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.1-1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.1-1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/librsvg-2.50.2-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '6510c6c5ca8ac79da202138bc80e753080348a39b68b954050c46b5499ffdff2', aarch64: '4ae81db4da7f1a37c0be24d6539326726364d4226b2ca43c583aac4b8a62af4c',
armv7l: '6510c6c5ca8ac79da202138bc80e753080348a39b68b954050c46b5499ffdff2', armv7l: '4ae81db4da7f1a37c0be24d6539326726364d4226b2ca43c583aac4b8a62af4c',
i686: 'a6edd6fe4b6beaf820da1f3e64efd74327340a7c003a150fbebc496a57195485', i686: '84acfe19e47585b1698cb1cd4ba9f4a8a6ccf45007baccaedf72a94e8bf91b52',
x86_64: '9976b8ba14f11f6855b88c6e96a4f2eec64401af803c1e38ef1614899195abdb', x86_64: '54a837bd7569101d7ef3151d8832729a8f5bdadd00ded2bc34f67b9df85247ef',
}) })
depends_on 'cairo' depends_on 'cairo'
...@@ -37,22 +37,28 @@ class Librsvg < Package ...@@ -37,22 +37,28 @@ class Librsvg < Package
# Following rustup modification as per https://github.com/rust-lang/rustup/issues/1167#issuecomment-367061388 # Following rustup modification as per https://github.com/rust-lang/rustup/issues/1167#issuecomment-367061388
system "rustup install stable --profile minimal || (rm -frv ~/.rustup/toolchains/* && rustup install stable --profile minimal)" system "rustup install stable --profile minimal || (rm -frv ~/.rustup/toolchains/* && rustup install stable --profile minimal)"
system "rustup default stable" system "rustup default stable"
system "./configure", system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
"--prefix=#{CREW_PREFIX}", ./configure \
"--libdir=#{CREW_LIB_PREFIX}", --prefix=#{CREW_PREFIX} \
"--mandir=#{CREW_MAN_PREFIX}", --libdir=#{CREW_LIB_PREFIX} \
"--build=#{CREW_BUILD}", --mandir=#{CREW_MAN_PREFIX} \
"--host=#{CREW_BUILD}", --build=#{CREW_BUILD} \
"--target=#{CREW_BUILD}", --host=#{CREW_BUILD} \
"--enable-introspection=yes", --target=#{CREW_BUILD} \
"--enable-vala=yes", --enable-introspection=yes \
"--disable-static", --enable-vala=yes \
"--enable-pixbuf-loader", --disable-static \
"--disable-tools" --enable-pixbuf-loader \
--disable-tools"
system 'make' system 'make'
end end
def self.install def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}" system "make install DESTDIR=#{CREW_DEST_DIR}"
end end
def self.postinstall
# gdk_pixbuf should be setting the correct env variables
system "gdk-pixbuf-query-loaders"
end
end end
...@@ -2,31 +2,37 @@ require 'package' ...@@ -2,31 +2,37 @@ require 'package'
class Libsigcplusplus < Package class Libsigcplusplus < Package
description 'libsigc++ implements a typesafe callback system for standard C++.' description 'libsigc++ implements a typesafe callback system for standard C++.'
homepage 'http://libsigc.sourceforge.net/' homepage 'https://github.com/libsigcplusplus/libsigcplusplus/'
version '2.10.0' @_ver = '2.10.6'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.10/libsigc++-2.10.0.tar.xz' source_url "https://github.com/libsigcplusplus/libsigcplusplus/archive/#{@_ver}.tar.gz"
source_sha256 'f843d6346260bfcb4426259e314512b99e296e8ca241d771d21ac64f28298d81' source_sha256 '3458b027f44204571a3a7091ebb94e5b1b5ecc7fbab89ce2bada25543645993f'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.10.6-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '526748e3a15fcd316fefc8c0359880b5c89640ad89a01de8c3f6210251e229f4', aarch64: 'e94e9f2da752623773a8b832204ab57e814bfb3c9132942b079e87f84f3c0ba3',
armv7l: '526748e3a15fcd316fefc8c0359880b5c89640ad89a01de8c3f6210251e229f4', armv7l: 'e94e9f2da752623773a8b832204ab57e814bfb3c9132942b079e87f84f3c0ba3',
i686: 'cbdf640dbf2462b3b8f24bb5f7cd2345f1ff3f46c983191e7ee31482213d24cd', i686: '4fa4524d137e1d7a78b166808923fb1470664fd0523ea23320d951859f0bc5c4',
x86_64: 'c32ff29b0f4a8394b69502cd3dc030848f84c5c3df048beb88966f7b1b6c6935', x86_64: '5fca09ea7258aa2edfba573da8366f40ab5aae476b3df248fb556cfe4bcdd8a0',
}) })
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "meson #{CREW_MESON_LTO_OPTIONS} \
system "make" -Dmaintainer-mode=true \
-Dbuild-deprecated-api=true \
-Dbuild-examples=false \
builddir"
system "meson configure builddir"
system "ninja -C builddir"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
...@@ -2,35 +2,35 @@ require 'package' ...@@ -2,35 +2,35 @@ require 'package'
class Libsigcplusplus3 < Package class Libsigcplusplus3 < Package
description 'libsigc++ implements a typesafe callback system for standard C++.' description 'libsigc++ implements a typesafe callback system for standard C++.'
homepage 'http://libsigc.sourceforge.net/' homepage 'https://github.com/libsigcplusplus/libsigcplusplus/'
version '2.99.11' @_ver = '3.0.6'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.99/libsigc++-2.99.11.tar.xz' source_url "https://github.com/libsigcplusplus/libsigcplusplus/archive/#{@_ver}.tar.gz"
source_sha256 '177fb08df33da71780eef2ce4c5991a2b3b6d07d4ad1efbf6ad38f7964e4bb55' source_sha256 '25ff9bf59c28e185c3901963f11bbdac58ce866281c65c870145b119e59a0836'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-3.0.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-3.0.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-3.0.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-3.0.6-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '37cc07ba4469b7975214cf2bdb8fed2665962353318888386907f96f08dc9f95', aarch64: '30e2d139bec3e807e96ebee3047ec91fb080def2c0d45ca27aa2ba383e8fb9d6',
armv7l: '37cc07ba4469b7975214cf2bdb8fed2665962353318888386907f96f08dc9f95', armv7l: '30e2d139bec3e807e96ebee3047ec91fb080def2c0d45ca27aa2ba383e8fb9d6',
i686: '86a3fed7a036dbcfed62bfd4b83e903d3cc78f241a793546f07af00fc3855d2b', i686: '497f109d9d2c97bb13ce0df424cb8ec6eb7fa46e34b96e585b9831bb2d75f69c',
x86_64: 'e0fb98d028040eb6567a153c1314bd51fb044d4f7cf1c2cfaf4cb4d672a31130', x86_64: 'f5c843178b73298dc190a48f3dabdf5626121aeb436ba05b26a481160b909bb7',
}) })
def self.build def self.build
system './configure', system "meson #{CREW_MESON_LTO_OPTIONS} \
"CXX_FLAGS=' --std=c++14'", -Dbuild-examples=false \
"--prefix=#{CREW_PREFIX}", builddir"
"--libdir=#{CREW_LIB_PREFIX}", system "meson configure builddir"
'--disable-maintainer-mode' system "ninja -C builddir"
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
...@@ -3,32 +3,33 @@ require 'package' ...@@ -3,32 +3,33 @@ require 'package'
class Lvm2 < Package class Lvm2 < Package
description 'LVM2 refers to the userspace toolset that provide logical volume management facilities on linux.' description 'LVM2 refers to the userspace toolset that provide logical volume management facilities on linux.'
homepage 'https://sourceware.org/lvm2' homepage 'https://sourceware.org/lvm2'
version '2.02.176' @_ver = '2.03.11'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.176.tgz' source_url "https://www.sourceware.org/pub/lvm2/releases/LVM2.#{@_ver}.tgz"
source_sha256 'dece83628c2c78a267a126ce6046d506582185ae5d40fb8d59b56547fccea473' source_sha256 '842c4510d4653990927d4518a5bf2743126a37531671a05842cdaf8d54bb9dd4'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.02.176-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.03.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.02.176-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.03.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.02.176-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.03.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.02.176-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lvm2-2.03.11-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '10d5b009661b35da06702fe1cf767fff414acd934caa4824d72351f7f3dad95f', aarch64: 'a60be47b7f7011234587ebba6e28adb36d27138b4bb182aa88da8af7fc6a6079',
armv7l: '10d5b009661b35da06702fe1cf767fff414acd934caa4824d72351f7f3dad95f', armv7l: 'a60be47b7f7011234587ebba6e28adb36d27138b4bb182aa88da8af7fc6a6079',
i686: '81139a176ca219e7fa1b8a4bc6977a673c4225641d05009f3017ad563bf5ce4a', i686: '62fbf27d3a75a5bf043c02b24ecf4f55f428a14192a59289bb97fd14cd073d78',
x86_64: '62ae341a5d0120f03ec7d33db3fbe1a0e93d25717223c0f68f8f319bf9274da3', x86_64: 'd1b98a8b2c8ca75d78a4fd744a2d1aad44b0c23f102b588f8b5e7a7ed17d42c0',
}) })
depends_on 'readline' depends_on 'libaio'
def self.build def self.build
system "./configure \ system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
--disable-selinux \ ./configure \
--prefix=#{CREW_PREFIX} \ #{CREW_OPTIONS} \
--libdir=#{CREW_LIB_PREFIX} \ --disable-selinux \
--with-confdir=#{CREW_PREFIX}/etc" --with-confdir=#{CREW_PREFIX}/etc"
system "make" system "make"
end end
......
...@@ -3,34 +3,34 @@ require 'package' ...@@ -3,34 +3,34 @@ require 'package'
class Mm_common < Package class Mm_common < Package
description 'Common build files of the C++ bindings' description 'Common build files of the C++ bindings'
homepage 'http://www.gtkmm.org/' homepage 'http://www.gtkmm.org/'
version '0.9.11' @_ver = '1.0.2'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://github.com/GNOME/mm-common/archive/0.9.11.tar.gz' source_url "https://github.com/GNOME/mm-common/archive/#{@_ver}.tar.gz"
source_sha256 'dbc06ffe4645f13565f13a2d526a14095b21906a4a13db146062052dbd683887' source_sha256 'd4a85f5bc4ec160c6f4120fd31bcf37041271d7a699b506bc368df57b0e2434c'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-0.9.11-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-1.0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-0.9.11-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-1.0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-0.9.11-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-1.0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-0.9.11-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mm_common-1.0.2-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '11a1c1bcea2259ac1195c91d2ba0a11b755d5f078d3cd443496e9a22f267f5ef', aarch64: 'e8e8af7702962dac7efce6fa23945b47133906ad80fef928956fe986cf097508',
armv7l: '11a1c1bcea2259ac1195c91d2ba0a11b755d5f078d3cd443496e9a22f267f5ef', armv7l: 'e8e8af7702962dac7efce6fa23945b47133906ad80fef928956fe986cf097508',
i686: 'b0c118d1d1fbdf5d7c1e8b351d965aeb4c98fe227b145833151b2b82b667f997', i686: '9fdbcdebb0e44bfbafcb507b8ee86500d0d6a35b670e3ccb90ce5c98bc177d22',
x86_64: '441c5e007c75a82fbc8cf2335e1e591aa29902d6b6b0199b5f1da346eabb9a43', x86_64: 'cd1e88142f873f2f514fba24aa4cade988a4bf754d1e0a5b25c2c3833898714a',
}) })
def self.build def self.build
system "./autogen.sh" system "meson #{CREW_MESON_LTO_OPTIONS} \
system "./configure", -Duse-network=true \
"--prefix=#{CREW_PREFIX}", builddir"
"--libdir=#{CREW_LIB_PREFIX}", system "meson configure builddir"
"--enable-network" system "ninja -C builddir"
system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end
...@@ -3,26 +3,28 @@ require 'package' ...@@ -3,26 +3,28 @@ require 'package'
class Mtools < Package class Mtools < Package
description 'Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.' description 'Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.'
homepage 'https://www.gnu.org/software/mtools/' homepage 'https://www.gnu.org/software/mtools/'
version '4.0.18' @_ver = '4.0.26'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/mtools/mtools-4.0.18.tar.bz2' source_url "https://ftp.gnu.org/gnu/mtools/mtools-#{@_ver}.tar.lz"
source_sha256 '59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85' source_sha256 'd09cff66d7277ad36a7573fc3e9803bfa558cdda83baabaafbf7761317462283'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.18-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.26-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.18-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.26-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.18-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.26-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.18-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mtools-4.0.26-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'f4131e41594042d4cc3f1ce65fc19674a89df1c64a5da4915f1498d3339a5dc9', aarch64: 'b04897069248682f60fe685c66cb74b1da86cbb393d80eca88a4445623a7f267',
armv7l: 'f4131e41594042d4cc3f1ce65fc19674a89df1c64a5da4915f1498d3339a5dc9', armv7l: 'b04897069248682f60fe685c66cb74b1da86cbb393d80eca88a4445623a7f267',
i686: 'bf796d05c23244ef81bcf417a94194d7655c47df0a6dc21ecbf19d74e0476999', i686: '35492c72f9e99631a58d3ad83847c9b6beca88bcda5549e5ca782fc404e7480d',
x86_64: 'e94e6a2b813f8952451093fafe34e7205015486d3532631ba6384e6bd2989693', x86_64: 'f844076f5ac3d63daf9e0468b13de4c9d17f0b479b46a2fed44d30f618c9fccb',
}) })
def self.build def self.build
system './configure --without-x' system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
./configure --without-x #{CREW_OPTIONS}"
system 'make' system 'make'
end end
......
...@@ -3,42 +3,41 @@ require 'package' ...@@ -3,42 +3,41 @@ require 'package'
class Pangomm < Package class Pangomm < Package
description 'pangomm is the official C++ interface for the Pango font layout library.' description 'pangomm is the official C++ interface for the Pango font layout library.'
homepage 'https://developer.gnome.org/pangomm/stable/' homepage 'https://developer.gnome.org/pangomm/stable/'
version '2.40.1-1' @_ver = '2.42.2'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/pangomm/2.40/pangomm-2.40.1.tar.xz' source_url "https://github.com/GNOME/pangomm/archive/#{@_ver}.tar.gz"
source_sha256 '9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af' source_sha256 '51f0a8a60a80630ea008ca42b0c64fa1712c50ac2c56497ee0f59d740c19692f'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.40.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.42.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.40.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.42.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.40.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.42.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.40.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/pangomm-2.42.2-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '93a4e4b1c777485381bbc5c4500e168276a20431cfc801c890372523f632d68a', aarch64: '8b7cf6b5aa32027410cf52af25f7729b1ed7b5ef0304108128f87632a804c51c',
armv7l: '93a4e4b1c777485381bbc5c4500e168276a20431cfc801c890372523f632d68a', armv7l: '8b7cf6b5aa32027410cf52af25f7729b1ed7b5ef0304108128f87632a804c51c',
i686: 'c5f45b47f6945745525f4cc3d75686c7542bce777627765d97d3b3b2d5159887', i686: 'f35a2334b5576ab8ea16dde6506685605e15f1c06e20d107cba8e184dae15d2f',
x86_64: 'cbd631d55c635773fb18f1d1354dc2f1c13d339638ea2828a503b6cc03c4e191', x86_64: 'f3dafb0c75d0205ed574988498aa3407d422d621a226114924e4558054d5c38e',
}) })
depends_on 'glibmm' depends_on 'glibmm'
depends_on 'cairomm' depends_on 'cairomm'
depends_on 'pango' depends_on 'pango'
depends_on 'graphite'
depends_on 'mm_common'
def self.build def self.build
system "sed -e '/^libdocdir =/ s/$(book_name)/pangomm-2.40.1/' \ system "meson #{CREW_MESON_LTO_OPTIONS} \
-i docs/Makefile.in" -Dmaintainer-mode=true \
system "./configure", -Dbuild-documentation=false \
"--prefix=#{CREW_PREFIX}", builddir"
"--libdir=#{CREW_LIB_PREFIX}" system "meson configure builddir"
system "make" system "ninja -C builddir"
end end
def self.install def self.install
#system "pip install six" # for installation process system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
#system "pip uninstall --yes six"
end end
end end
...@@ -3,22 +3,23 @@ require 'package' ...@@ -3,22 +3,23 @@ require 'package'
class Parted < Package class Parted < Package
description 'Create, destroy, resize, check, copy partitions and file systems.' description 'Create, destroy, resize, check, copy partitions and file systems.'
homepage 'https://www.gnu.org/software/parted' homepage 'https://www.gnu.org/software/parted'
version '3.2' @_ver = '3.3'
version @_ver
compatibility 'all' compatibility 'all'
source_url 'https://ftpmirror.gnu.org/parted/parted-3.2.tar.xz' source_url "https://ftpmirror.gnu.org/parted/parted-#{@_ver}.tar.xz"
source_sha256 '858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4' source_sha256 '57e2b4bd87018625c515421d4524f6e3b55175b472302056391c5f7eccb83d44'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/parted-3.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'ee5ebf4d5ad94c8845253b6ad79d7c295918ec02532aa39af6e35552d119863b', aarch64: '98ed6e820c9c05fc359d47ff2eea255cb1b336f86db4b212c9382ca4c12ae580',
armv7l: 'ee5ebf4d5ad94c8845253b6ad79d7c295918ec02532aa39af6e35552d119863b', armv7l: '98ed6e820c9c05fc359d47ff2eea255cb1b336f86db4b212c9382ca4c12ae580',
i686: '60127a02617336101f252388725f3dc472432f7e6bdbb6c8b97344ab051cf08d', i686: 'ce9523de48e30a28c75f0c5651eb17030f02c78e47d2fd700456f44e2566557f',
x86_64: 'c5972a1b389e4a9454a6e6ea0e4eb2d30f5f294131d3bb97ccaff523fdbe08f9', x86_64: '7c80e009bb00704ddd43e79f18f1e1c9ade975590c1fa0d28fdedd8ebc679ef4',
}) })
depends_on 'lvm2' depends_on 'lvm2'
...@@ -26,12 +27,13 @@ class Parted < Package ...@@ -26,12 +27,13 @@ class Parted < Package
depends_on 'readline' depends_on 'readline'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
./configure #{CREW_OPTIONS}"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
require 'package'
class Xfsprogs < Package
description 'XFS filesystem utilities'
homepage 'https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/'
@_ver = '5.10.0'
version @_ver
compatibility 'all'
source_url "https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/snapshot/xfsprogs-dev-#{@_ver}.tar.gz"
source_sha256 'e807ca9fd8f01e45c9ec8ffb3c123bdb7dfcfd8e05340520d2ff1ddbc3bd7c88'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xfsprogs-5.10.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xfsprogs-5.10.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xfsprogs-5.10.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xfsprogs-5.10.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd2034b7ee2c95673d900aed424c04abe6f53cc721261ef3b5822c4d98ca720ef',
armv7l: 'd2034b7ee2c95673d900aed424c04abe6f53cc721261ef3b5822c4d98ca720ef',
i686: '98a742b31c4082d649150f22a9d58342f41f46d1f97d03e38d835bb1b3517583',
x86_64: 'bf575a97e5fbd3cfce4a0f7e547ccb4bcf99b9e05067b112813c8967c904f42e',
})
depends_on 'libinih'
def self.build
system "make configure"
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
DEBUG=-DNDEBUG ./configure #{CREW_OPTIONS} --sbindir=#{CREW_PREFIX}/bin"
system "make"
end
def self.install
system "make DIST_ROOT=#{CREW_DEST_DIR} PKG_ROOT_SBIN_DIR=#{CREW_PREFIX}/bin install install-dev"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment