parent
625491f945
commit
ac60a5b1f0
1 changed files with 18 additions and 0 deletions
18
srcpkgs/imv/template
Normal file
18
srcpkgs/imv/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'imv'
|
||||||
|
pkgname=imv
|
||||||
|
version=2.1.3
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_build_args="V=1"
|
||||||
|
makedepends="SDL2_ttf-devel freeimage-devel fontconfig-devel"
|
||||||
|
short_desc="Image viewer for X11/Wayland"
|
||||||
|
maintainer="Arvin Ignaci <arvin.ignaci@gmail.com>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://github.com/eXeC64/imv"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=f0b9acd7cff1d2f7301cb5cffb261ace4d0af2003dc4a293d9a37e73074978b7
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
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"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue