2018-01-23 02:15:19 +00:00
|
|
|
# Template file for 'imv'
|
|
|
|
pkgname=imv
|
2018-06-27 08:07:31 +00:00
|
|
|
version=3.0.0
|
2018-01-23 02:15:19 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_args="V=1"
|
2018-06-27 08:07:31 +00:00
|
|
|
hostmakedepends="asciidoc pkg-config"
|
|
|
|
makedepends="SDL2_ttf-devel cmocka-devel fontconfig-devel freeimage-devel"
|
|
|
|
depends="desktop-file-utils"
|
|
|
|
conf_files="/etc/imv_config"
|
2018-01-23 02:15:19 +00:00
|
|
|
short_desc="Image viewer for X11/Wayland"
|
|
|
|
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
2018-06-27 08:07:31 +00:00
|
|
|
license="GPL-2.0-or-later, MIT"
|
2018-01-23 02:15:19 +00:00
|
|
|
homepage="https://github.com/eXeC64/imv"
|
2018-06-27 08:07:31 +00:00
|
|
|
distfiles="https://github.com/eXeC64/imv/archive/v${version}.tar.gz"
|
|
|
|
checksum=51c3fc49b4db8b13f55816a502b68f4f660a8dfccd109cdea5af23cc9f613fad
|
|
|
|
conflicts="renameutils>=0"
|
2018-01-23 02:15:19 +00:00
|
|
|
|
|
|
|
pre_build() {
|
2018-01-30 19:34:57 +00:00
|
|
|
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"
|
2018-01-23 02:15:19 +00:00
|
|
|
}
|
2018-06-27 08:07:31 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.MIT
|
|
|
|
}
|