nestopia: update to 1.48.

This commit is contained in:
Michael Gehring 2017-09-17 08:45:51 +00:00
parent e7d7496057
commit 1d120b28ed
2 changed files with 5 additions and 30 deletions

View File

@ -1,17 +0,0 @@
--- Makefile 2013-01-20 20:10:25.000000000 +0400
+++ Makefile 2013-01-21 15:18:54.727577673 +0400
@@ -197,11 +197,11 @@
install -m 0644 NstDatabase.xml $(DATADIR)
install -m 0644 source/unix/icons/*.png $(DATADIR)/icons
install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons
- install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps
- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
+ install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps/nestopia.svg
+ install -Dm0644 $(DATADIR)/nestopia.desktop $(PREFIX)/share/applications/nestopia.desktop
uninstall:
- xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
+ rm $(PREFIX)/share/applications/nestopia.desktop
rm $(PREFIX)/share/pixmaps/nestopia.svg
rm $(BINDIR)/$(BIN)
rm -rf $(DATADIR)

View File

@ -1,8 +1,9 @@
# Template file for 'nestopia'
pkgname=nestopia
version=1.47
revision=3
wrksrc="rdanbrook-nestopia-549c072"
version=1.48
revision=1
wrksrc="rdanbrook-nestopia-f0540f9"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="SDL2-devel gtk+3-devel glu-devel libarchive-devel libao-devel"
depends="desktop-file-utils"
@ -11,13 +12,4 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://nestopia.sourceforge.net/"
distfiles="https://github.com/rdanbrook/nestopia/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=d6d374430a39d00ad0075f1253c82fce577f51241560c0e06ba805a6a1cbb1e7
do_build() {
sed -i Makefile -e "s;^LDFLAGS =.*;LDFLAGS = $LDFLAGS;"
make CC=$CC CXX=$CXX PREFIX=/usr ${makejobs}
}
do_install() {
mkdir -p ${DESTDIR}/usr/{bin,share/$pkgname}
make PREFIX=${DESTDIR}/usr install
}
checksum=ee14b9476748669ac1af73116beb2a6e3dd6b41c0b1d2f7149fb8716bb02d749