summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-13 10:52:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-13 10:52:33 +0000
commit2baf1e0352ede89642e590df6246e34b1bf6e649 (patch)
treeaf33bffeab55ed644a78dd36736f05525524c4d3 /games
parent- Update to 0.5.0 (diff)
- Update to 0.5.0
Notes
Notes: svn path=/head/; revision=426031
Diffstat (limited to 'games')
-rw-r--r--games/easyrpg-player/Makefile11
-rw-r--r--games/easyrpg-player/distinfo6
-rw-r--r--games/easyrpg-player/files/patch-src_font.cpp20
-rw-r--r--games/easyrpg-player/pkg-plist1
4 files changed, 13 insertions, 25 deletions
diff --git a/games/easyrpg-player/Makefile b/games/easyrpg-player/Makefile
index dfb47469ff62..1a68a450ebb2 100644
--- a/games/easyrpg-player/Makefile
+++ b/games/easyrpg-player/Makefile
@@ -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
diff --git a/games/easyrpg-player/distinfo b/games/easyrpg-player/distinfo
index e82ae0e83164..9de430cc2546 100644
--- a/games/easyrpg-player/distinfo
+++ b/games/easyrpg-player/distinfo
@@ -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
diff --git a/games/easyrpg-player/files/patch-src_font.cpp b/games/easyrpg-player/files/patch-src_font.cpp
deleted file mode 100644
index 508f1c616feb..000000000000
--- a/games/easyrpg-player/files/patch-src_font.cpp
+++ /dev/null
@@ -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();
-
diff --git a/games/easyrpg-player/pkg-plist b/games/easyrpg-player/pkg-plist
index 4a84760d2030..a0a91d699dcb 100644
--- a/games/easyrpg-player/pkg-plist
+++ b/games/easyrpg-player/pkg-plist
@@ -1,2 +1,3 @@
bin/easyrpg-player
man/man6/easyrpg-player.6.gz
+share/bash-completion/completions/easyrpg-player