mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
w3m: extract image support to w3m-img.
This commit is contained in:
parent
51812409da
commit
9fcec3b3f1
2 changed files with 15 additions and 2 deletions
1
srcpkgs/w3m-img
Symbolic link
1
srcpkgs/w3m-img
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
w3m
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'w3m'
|
# Template file for 'w3m'
|
||||||
pkgname=w3m
|
pkgname=w3m
|
||||||
version=0.5.3
|
version=0.5.3
|
||||||
revision=9
|
revision=10
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2
|
--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2
|
||||||
|
@ -17,7 +17,7 @@ checksum=e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
|
||||||
|
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
|
|
||||||
LDFLAGS="-lX11"
|
LDFLAGS="-Wl,--as-needed -lX11"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# build host mktable
|
# build host mktable
|
||||||
|
@ -29,3 +29,15 @@ pre_build() {
|
||||||
sed -e 's,./mktable$(EXT),./host-mktable$(EXT),g' -i Makefile
|
sed -e 's,./mktable$(EXT),./host-mktable$(EXT),g' -i Makefile
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -f ${DESTDIR}/usr/lib/w3m/xface2xpm
|
||||||
|
}
|
||||||
|
|
||||||
|
w3m-img_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" -- image display support"
|
||||||
|
pkg_install() {
|
||||||
|
vmove /usr/lib/w3m/w3mimgdisplay
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue