Rebase of #6306 (package functions) (#8401)

* Add Autotools buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

* Add CMake buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

* Add Meson buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

* Convert findutils to Autotools buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

* Convert libgit2 to CMake buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

* Convert xorg_proto to Meson buildsystem

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>

---------

Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>
This commit is contained in:
Maximilian Downey Twiss
2023-06-23 03:30:09 +10:00
committed by GitHub
parent af1b3a3c3f
commit a833795056
6 changed files with 102 additions and 47 deletions

View File

@@ -1,6 +1,6 @@
require 'package'
require 'buildsystems/meson'
class Xorg_proto < Package
class Xorg_proto < Meson
description 'The xorgproto package provides the header files required to build the X Window system, and to allow other applications to build against the installed X Window system.'
homepage 'https://www.x.org/'
version '2022.2'
@@ -21,15 +21,4 @@ class Xorg_proto < Package
i686: '0592845ac3053d91b8158bd186c629d2a0b372a95b5d0e30c06b71a5fffe4e95',
x86_64: '21802c99d382be50f69e613dee68e25821b6a09ba4b6833309899c76dce9789f'
})
def self.build
system "meson setup #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end