a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
36 lines
988 B
Bash
36 lines
988 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
|
|
patch_args=-Np0
|
|
|
|
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
|
|
}
|
|
}
|