43 lines
998 B
Bash
43 lines
998 B
Bash
#!/usr/bin/env bash
|
|
name='gtk3'
|
|
release='1'
|
|
version='3.24.37'
|
|
url='https://example.org'
|
|
description='Package description missing'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-${version}.tar.xz")
|
|
depends=(cairo libXi libXext libXfixes libXcursor libXdamage librsvg
|
|
shared-mime-info gdk-pixbuf libxkbcommon libepoxy colord libcloudproviders
|
|
dconf cantarell-fonts libpng)
|
|
makedepends=()
|
|
md5sums=('3649dd48556ead2d909467c1f0751956')
|
|
group=()
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd gtk+-$version
|
|
export XDG_DATA_DIRS=/usr/share
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
-Dman=false \
|
|
-D installed_tests=false \
|
|
-D tests=false \
|
|
-D broadway_backend=true \
|
|
-D cloudproviders=true \
|
|
-D colord=yes \
|
|
-D introspection=true \
|
|
-D tracker3=false
|
|
}
|
|
|
|
build(){
|
|
ninja -C build
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install
|
|
}
|
|
|