rxvt-unicode: add gdk_pixbuf to build_options_default= (resolves #2244)
This commit is contained in:
parent
a5b1ff0cb5
commit
dbd94f578b
1 changed files with 16 additions and 36 deletions
|
@ -1,21 +1,29 @@
|
||||||
# Template build file for 'rxvt-unicode'.
|
# Template file for 'rxvt-unicode'
|
||||||
pkgname=rxvt-unicode
|
pkgname=rxvt-unicode
|
||||||
version=9.22
|
version=9.22
|
||||||
revision=8
|
revision=9
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--with-terminfo=/usr/share/terminfo --enable-256-color
|
--with-terminfo=/usr/share/terminfo --enable-256-color
|
||||||
--enable-font-styles --enable-xim --enable-keepscrolling
|
--enable-font-styles --enable-xim --enable-keepscrolling
|
||||||
--enable-selectionscrolling --enable-smart-resize --enable-transparency
|
--enable-selectionscrolling --enable-smart-resize --enable-transparency
|
||||||
--disable-utmp --disable-wtmp --disable-lastlog --disable-frills
|
--disable-utmp --disable-wtmp --disable-lastlog --disable-frills
|
||||||
--enable-combining --with-term=rxvt-unicode-256color"
|
--enable-combining --with-term=rxvt-unicode-256color
|
||||||
hostmakedepends="pkg-config"
|
$(vopt_if gdk_pixbuf '--enable-pixbuf' '--disable-pixbuf')
|
||||||
makedepends="xorgproto fontconfig-devel libXrender-devel libXft-devel libSM-devel"
|
$(vopt_if perl '--enable-perl' '--disable-perl')
|
||||||
|
$(vopt_if startup_notification '--enable-startup-notification' '--disable-startup-notification')
|
||||||
|
$(vopt_if unicode3 '--enable-unicode3' '--disable-unicode3')"
|
||||||
|
hostmakedepends="pkg-config $(vopt_if perl 'perl autoconf')"
|
||||||
|
makedepends="xorgproto fontconfig-devel libXrender-devel libXft-devel libSM-devel
|
||||||
|
$(vopt_if gdk_pixbuf gdk-pixbuf-devel)
|
||||||
|
$(vopt_if perl perl)
|
||||||
|
$(vopt_if startup_notification startup-notification-devel)
|
||||||
|
$(vopt_if unicode3 libbluetooth-devel)"
|
||||||
depends="ncurses rxvt-unicode-terminfo-${version}_${revision}"
|
depends="ncurses rxvt-unicode-terminfo-${version}_${revision}"
|
||||||
short_desc="Terminal emulator supporting Xft fonts and Unicode"
|
short_desc="Terminal emulator supporting Xft fonts and Unicode"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://software.schmorp.de/pkg/rxvt-unicode.html"
|
homepage="http://software.schmorp.de/pkg/rxvt-unicode.html"
|
||||||
license="GPL-2"
|
|
||||||
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
|
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd
|
checksum=e94628e9bcfa0adb1115d83649f898d6edb4baced44f5d5b769c2eeb8b95addd
|
||||||
|
|
||||||
|
@ -33,36 +41,8 @@ post_install() {
|
||||||
build_options="gdk_pixbuf perl startup_notification unicode3"
|
build_options="gdk_pixbuf perl startup_notification unicode3"
|
||||||
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
|
desc_option_unicode3="Use 21 instead of 16 bits to represent unicode chars"
|
||||||
|
|
||||||
# Enable startup-notification by default.
|
# Enable gdk_pixbuf & startup-notification by default.
|
||||||
build_options_default="perl startup_notification unicode3"
|
build_options_default="gdk_pixbuf perl startup_notification unicode3"
|
||||||
|
|
||||||
if [ "$build_option_gdk_pixbuf" ]; then
|
|
||||||
configure_args+=" --enable-pixbuf"
|
|
||||||
makedepends+=" gdk-pixbuf-devel"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-pixbuf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$build_option_perl" ]; then
|
|
||||||
configure_args+=" --enable-perl"
|
|
||||||
hostmakedepends+=" perl autoconf"
|
|
||||||
makedepends+=" perl"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-perl"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$build_option_startup_notification" ]; then
|
|
||||||
configure_args+=" --enable-startup-notification"
|
|
||||||
makedepends+=" startup-notification-devel"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-startup-notification"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$build_option_unicode3" ]; then
|
|
||||||
configure_args+=" --enable-unicode3"
|
|
||||||
else
|
|
||||||
configure_args+=" --disable-unicode3"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_cross_perl() {
|
_cross_perl() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Reference in a new issue