mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
zsnes: build with new sdl12-compat library
This commit is contained in:
parent
188ec1ea89
commit
93467d3899
1 changed files with 9 additions and 2 deletions
|
@ -3,13 +3,13 @@
|
||||||
# 32bit
|
# 32bit
|
||||||
pkgname=zsnes
|
pkgname=zsnes
|
||||||
version=1.51
|
version=1.51
|
||||||
revision=4
|
revision=5
|
||||||
archs="i686"
|
archs="i686"
|
||||||
build_wrksrc="src"
|
build_wrksrc="src"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="force_arch=i686"
|
configure_args="force_arch=i686"
|
||||||
hostmakedepends="nasm pkg-config"
|
hostmakedepends="nasm pkg-config"
|
||||||
makedepends="MesaLib-devel SDL-devel libpng-devel ncurses-devel"
|
makedepends="MesaLib-devel sdl12-compat-devel libpng-devel ncurses-devel"
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="Super Nintendo emulator"
|
short_desc="Super Nintendo emulator"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -20,6 +20,13 @@ checksum=2856dedba272e9eed66cbf68dd4a9ae56797c373686c57371a65c7df35264623
|
||||||
lib32mode="full"
|
lib32mode="full"
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
CXXFLAGS="-fcommon"
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
# The build system fails to honor -std=c++14 in CXXFLAGS,
|
||||||
|
# so we'll force it in the compiler executable name
|
||||||
|
CXX="${CXX} -std=c++14" ./configure ${configure_args}
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/share
|
vmkdir usr/share
|
||||||
|
|
Loading…
Add table
Reference in a new issue