Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Exclude bpm archives
|
||||
*.bpm
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Ignore this package
|
||||
echo "ignore"
|
||||
@@ -0,0 +1,28 @@
|
||||
name: glade
|
||||
description: RAD tool to enable quick & easy development of user interfaces for the GTK toolkit and the GNOME desktop environment
|
||||
version: 3.40.0
|
||||
revision: 1
|
||||
url: https://glade.gnome.org/
|
||||
license: GPL2-or-later,LGPL2.1-or-later
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
- gtk3
|
||||
- libxml2
|
||||
optional_depends:
|
||||
- python-pygobject
|
||||
- webkitgtk3
|
||||
make_depends:
|
||||
- docbook-xsl-nons
|
||||
- glib
|
||||
- gobject-introspection
|
||||
- itstool
|
||||
- meson
|
||||
- python-pygobject
|
||||
- python-setuptools
|
||||
- webkitgtk3
|
||||
downloads:
|
||||
- url: https://download.gnome.org/sources/glade/${BPM_PKG_VERSION%.*}/glade-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to_bpm_source: true
|
||||
extract_strip_components: 1
|
||||
checksum: 31c9adaea849972ab9517b564e19ac19977ca97758b109edc3167008f53e3d9c
|
||||
@@ -0,0 +1,25 @@
|
||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
prepare() {
|
||||
cd "$BPM_SOURCE"
|
||||
# Fix building with webkit2gtk-4.1
|
||||
sed -i 's/webkit2gtk-4.0/webkit2gtk-4.1/' meson.build
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
meson setup build --prefix=/usr -Dintrospection=true -Dwebkit2gtk=enabled
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/glade/
|
||||
}
|
||||
Reference in New Issue
Block a user