aboutsummaryrefslogblamecommitdiffstats
path: root/community/vte3/APKBUILD
blob: 7d6f8a406b28816096b2eac6d45379c1162ab927 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                   
             
        


                                           
                

                                                     
                                   
                                                                               

                                                   
                                                                                  


                                   










                                                             
                                   
 
 

                       
                                             



                                 
                                   
                                                

                                      
                                        
                           
                            




                                                  
 
 
                                                            

                                                             
                                                                                               

                                                                                             
                                                                                                                                                               

                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte3
pkgver=0.44.2
pkgrel=0
pkgdesc="Virtual Terminal Emulator library"
url="https://developer.gnome.org/vte/"
arch="all"
license="LGPL2+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="pango-dev gtk+3.0-dev"
makedepends="$depends_dev intltool python ncurses-dev gobject-introspection-dev
	vala gnutls-dev linux-headers libxml2-utils
	autoconf automake libtool"
source="http://ftp.gnome.org/pub/GNOME/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
	allow_alt_in_terminal.patch
	werror.patch
	"

_builddir="$srcdir"/vte-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch)
			patch -p1 -i "$srcdir"/$i || return 1
			;;
		esac
	done
	autoreconf -vif || return 1
}

build() {
	cd "$_builddir"
	export CFLAGS="$CFLAGS -D_GNU_SOURCE"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/$pkgname \
		--localstatedir=/var \
		--disable-static \
		--enable-introspection \
		|| return 1
	make V=1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="eca8f8a9d9f9bb8e9d592d0acfeec015  vte-0.44.2.tar.xz
6ae30139b7d7ca78b56a3b55426c83f2  allow_alt_in_terminal.patch
ba558bb881207c6c7fb4fd0451178aa1  werror.patch"
sha256sums="a1ea594814bb136a3a9a6c7656b46240571f6a198825c1111007fe99194b0949  vte-0.44.2.tar.xz
6e4488f9a60f52a2a7eeb09865bdc42f00c309eb4cf8d548b524b9c33fadcd8a  allow_alt_in_terminal.patch
013d44075ba179abb719a17470a0ae18995054e5fcef496dcb5933ec7bfa9e24  werror.patch"
sha512sums="98db3c1528d5f458164e2d30056cd816e5943d9c569551878119e79d4fbca1865e52667393bf298f32fd54710d1b268a5aac125222ecb29ce854522be3776356  vte-0.44.2.tar.xz
a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833  allow_alt_in_terminal.patch
ff199ede8e415d141d897e9c922db84d33c2c28d07958a5ec44b3688809809885f45275cc1aeed56fa2d8de46e9cc2527f5e9682a8ea28af7e39b275340c85c4  werror.patch"