mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
imv: update to 3.0.0. (#452)
This commit is contained in:
parent
2739c66207
commit
beb04136ee
1 changed files with 13 additions and 5 deletions
|
@ -1,18 +1,26 @@
|
||||||
# Template file for 'imv'
|
# Template file for 'imv'
|
||||||
pkgname=imv
|
pkgname=imv
|
||||||
version=2.1.3
|
version=3.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="V=1"
|
make_build_args="V=1"
|
||||||
makedepends="SDL2_ttf-devel freeimage-devel fontconfig-devel"
|
hostmakedepends="asciidoc pkg-config"
|
||||||
|
makedepends="SDL2_ttf-devel cmocka-devel fontconfig-devel freeimage-devel"
|
||||||
|
depends="desktop-file-utils"
|
||||||
|
conf_files="/etc/imv_config"
|
||||||
short_desc="Image viewer for X11/Wayland"
|
short_desc="Image viewer for X11/Wayland"
|
||||||
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later, MIT"
|
||||||
homepage="https://github.com/eXeC64/imv"
|
homepage="https://github.com/eXeC64/imv"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/eXeC64/imv/archive/v${version}.tar.gz"
|
||||||
checksum=f0b9acd7cff1d2f7301cb5cffb261ace4d0af2003dc4a293d9a37e73074978b7
|
checksum=51c3fc49b4db8b13f55816a502b68f4f660a8dfccd109cdea5af23cc9f613fad
|
||||||
|
conflicts="renameutils>=0"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
export CFLAGS+=" $(${XBPS_CROSS_BASE}/usr/bin/sdl2-config --cflags) -DIMV_VERSION='\"${version}\"'"
|
export CFLAGS+=" $(${XBPS_CROSS_BASE}/usr/bin/sdl2-config --cflags) -DIMV_VERSION='\"${version}\"'"
|
||||||
export LDFLAGS+=" $(${XBPS_CROSS_BASE}/usr/bin/sdl2-config --libs) -lfreeimage -lSDL2_ttf -lfontconfig -lpthread"
|
export LDFLAGS+=" $(${XBPS_CROSS_BASE}/usr/bin/sdl2-config --libs) -lfreeimage -lSDL2_ttf -lfontconfig -lpthread"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.MIT
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue