35 lines
972 B
Bash
35 lines
972 B
Bash
# Template file for 'gtkglext'
|
|
pkgname=gtkglext
|
|
version=1.2.0
|
|
revision=8
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config glib-devel automake libtool gtk+-devel"
|
|
makedepends="libXt-devel gtk+-devel glu-devel"
|
|
short_desc="OpenGL extension to GTK+"
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://projects.gnome.org/gtkglext"
|
|
distfiles="${SOURCEFORGE_SITE}/gtkglext/gtkglext/${version}/gtkglext-${version}.tar.gz"
|
|
checksum=e5073f3c6b816e7fa67d359d9745a5bb5de94a628ac85f624c992925a46844f9
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_patch() {
|
|
rm -f gdk/x11/gdkglfont-x11.c
|
|
}
|
|
|
|
gtkglext-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/gtkglext-1.0
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/aclocal
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|