- Update to 0.5.0

This commit is contained in:
Dmitry Marakasov 2016-11-13 10:52:33 +00:00
parent 300aef18b5
commit 2baf1e0352
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426031
4 changed files with 13 additions and 25 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= easyrpg-player
PORTVERSION= 0.4.1
PORTVERSION= 0.5.0
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@ -13,7 +13,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpng.so:graphics/png \
liblcf.so:games/liblcf
liblcf.so:games/liblcf \
libharfbuzz.so:print/harfbuzz \
libmpg123.so:audio/mpg123 \
libvorbis.so:audio/libvorbis \
libsndfile.so:audio/libsndfile \
libxmp.so:audio/libxmp \
libspeexdsp.so:audio/speexdsp
BUILD_DEPENDS= asciidoc:textproc/asciidoc \
${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
@ -25,6 +31,7 @@ GH_PROJECT= Player
USES= autoreconf compiler:c++11-lib gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bash-completion-dir=${PREFIX}/share/bash-completion/completions
USE_XORG= pixman
USE_SDL= sdl2 mixer2

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1473693529
SHA256 (EasyRPG-Player-0.4.1_GH0.tar.gz) = 04f5c91ec083425bef778380f42d691f2edaa5e5a694623e4a3f21e754e6b932
SIZE (EasyRPG-Player-0.4.1_GH0.tar.gz) = 1611207
TIMESTAMP = 1477649272
SHA256 (EasyRPG-Player-0.5.0_GH0.tar.gz) = 5cf8cf5c4383b2b9c28c8dbbf15ccef601b1c66af30f783c41b98c06a8a61977
SIZE (EasyRPG-Player-0.5.0_GH0.tar.gz) = 2420778

View file

@ -1,20 +0,0 @@
--- src/font.cpp.orig 2015-09-14 09:52:35 UTC
+++ src/font.cpp
@@ -145,7 +145,7 @@ BitmapRef ShinonomeFont::Glyph(unsigned
assert(glyph);
size_t const width = glyph->is_full? FULL_WIDTH : HALF_WIDTH;
- BitmapRef bm = Bitmap::Create(reinterpret_cast<void*>(NULL), width, HEIGHT, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
+ BitmapRef bm = Bitmap::Create(nullptr, width, HEIGHT, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
uint8_t* data = reinterpret_cast<uint8_t*>(bm->pixels());
int pitch = bm->pitch();
for(size_t y_ = 0; y_ < HEIGHT; ++y_)
@@ -194,7 +194,7 @@ BitmapRef FTFont::Glyph(unsigned glyph)
int const width = ft_bitmap.width;
int const height = ft_bitmap.rows;
- BitmapRef bm = Bitmap::Create(reinterpret_cast<void*>(NULL), width, height, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
+ BitmapRef bm = Bitmap::Create(nullptr, width, height, 0, DynamicFormat(8,8,0,8,0,8,0,8,0,PF::Alpha));
uint8_t* data = reinterpret_cast<uint8_t*>(bm->pixels());
int dst_pitch = bm->pitch();

View file

@ -1,2 +1,3 @@
bin/easyrpg-player
man/man6/easyrpg-player.6.gz
share/bash-completion/completions/easyrpg-player