1 |
mr_bones_ 15/03/31 18:34:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: performous-1.0.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.18 games-arcade/performous/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/performous/ChangeLog?rev=1.18&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/performous/ChangeLog?rev=1.18&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/performous/ChangeLog?r1=1.17&r2=1.18 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v |
20 |
retrieving revision 1.17 |
21 |
retrieving revision 1.18 |
22 |
diff -u -r1.17 -r1.18 |
23 |
--- ChangeLog 14 Jul 2014 12:54:24 -0000 1.17 |
24 |
+++ ChangeLog 31 Mar 2015 18:34:46 -0000 1.18 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for games-arcade/performous |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.17 2014/07/14 12:54:24 tupone Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/ChangeLog,v 1.18 2015/03/31 18:34:46 mr_bones_ Exp $ |
31 |
+ |
32 |
+*performous-1.0 (31 Mar 2015) |
33 |
+ |
34 |
+ 31 Mar 2015; Michael Sterrett <mr_bones_@g.o> |
35 |
+ +files/performous-1.0-gentoo.patch, +files/performous-1.0-include.patch, |
36 |
+ +files/performous-1.0-libav.patch, +files/performous-1.0-linguas.patch, |
37 |
+ +performous-1.0.ebuild: |
38 |
+ version bump |
39 |
|
40 |
14 Jul 2014; Alfredo Tupone <tupone@g.o> performous-0.7.0-r1.ebuild, |
41 |
+files/performous-0.7.0-freetype.patch: |
42 |
|
43 |
|
44 |
|
45 |
1.1 games-arcade/performous/performous-1.0.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/performous/performous-1.0.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/performous/performous-1.0.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: performous-1.0.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2015 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/games-arcade/performous/performous-1.0.ebuild,v 1.1 2015/03/31 18:34:46 mr_bones_ Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
CMAKE_REMOVE_MODULES="yes" |
58 |
CMAKE_REMOVE_MODULES_LIST="FindALSA FindBoost FindFreetype FindGettext FindJpeg FindPng FindTiff FindZ" |
59 |
inherit eutils cmake-utils gnome2-utils games |
60 |
|
61 |
MY_PN=Performous |
62 |
MY_P=${MY_PN}-${PV} |
63 |
SONGS_PN=ultrastar-songs |
64 |
|
65 |
DESCRIPTION="SingStar GPL clone" |
66 |
HOMEPAGE="http://sourceforge.net/projects/performous/" |
67 |
SRC_URI="https://github.com/performous/performous/archive/1.0.tar.gz -> ${P}.tar.gz |
68 |
songs? ( |
69 |
mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip |
70 |
mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip |
71 |
mirror://sourceforge/performous/${SONGS_PN}-libre-3.zip |
72 |
mirror://sourceforge/performous/${SONGS_PN}-shearer-1.zip |
73 |
)" |
74 |
|
75 |
LICENSE="GPL-2 |
76 |
songs? ( |
77 |
CC-BY-NC-SA-2.5 |
78 |
CC-BY-NC-ND-2.5 |
79 |
)" |
80 |
SLOT="0" |
81 |
KEYWORDS="~amd64 ~x86" |
82 |
IUSE="midi songs tools webcam" |
83 |
|
84 |
RDEPEND="dev-cpp/glibmm |
85 |
dev-cpp/libxmlpp |
86 |
media-libs/portaudio |
87 |
dev-libs/boost[threads(+)] |
88 |
dev-libs/glib |
89 |
dev-libs/libxml2 |
90 |
gnome-base/librsvg |
91 |
media-gfx/imagemagick |
92 |
virtual/jpeg |
93 |
media-libs/libpng:0 |
94 |
media-libs/libsdl2[joystick,video] |
95 |
virtual/ffmpeg |
96 |
virtual/opengl |
97 |
virtual/glu |
98 |
sys-libs/zlib |
99 |
virtual/libintl |
100 |
x11-libs/cairo |
101 |
x11-libs/gdk-pixbuf |
102 |
x11-libs/pango |
103 |
media-libs/glew |
104 |
midi? ( media-libs/portmidi ) |
105 |
webcam? ( media-libs/opencv )" |
106 |
DEPEND="${RDEPEND} |
107 |
sys-apps/help2man |
108 |
sys-devel/gettext" |
109 |
|
110 |
src_prepare() { |
111 |
epatch \ |
112 |
"${FILESDIR}"/${P}-libav.patch \ |
113 |
"${FILESDIR}"/${P}-gentoo.patch \ |
114 |
"${FILESDIR}"/${P}-linguas.patch \ |
115 |
"${FILESDIR}"/${P}-include.patch |
116 |
sed -i \ |
117 |
-e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \ |
118 |
-e '/ Z /s/ Z / ZLIB /' \ |
119 |
-e 's/Jpeg/JPEG/' \ |
120 |
-e 's/Png/PNG/' \ |
121 |
game/CMakeLists.txt || die |
122 |
|
123 |
strip-linguas -u lang |
124 |
} |
125 |
|
126 |
src_configure() { |
127 |
local mycmakeargs=( |
128 |
$(cmake-utils_use_enable tools TOOLS) |
129 |
$(cmake-utils_use_enable webcam WEBCAM) |
130 |
$(cmake-utils_use_enable midi MIDI) |
131 |
-DCMAKE_VERBOSE_MAKEFILE=TRUE |
132 |
-DSHARE_INSTALL="${GAMES_DATADIR}"/${PN} |
133 |
) |
134 |
cmake-utils_src_configure |
135 |
} |
136 |
|
137 |
src_compile() { |
138 |
cmake-utils_src_compile |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
cmake-utils_src_install |
143 |
if use songs ; then |
144 |
insinto "${GAMES_DATADIR}"/${PN} |
145 |
doins -r "${WORKDIR}/songs" |
146 |
fi |
147 |
dodoc docs/{Authors,instruments}.txt |
148 |
newicon -s scalable data/themes/default/icon.svg ${PN}.svg |
149 |
prepgamesdirs |
150 |
} |
151 |
|
152 |
pkg_preinst() { |
153 |
games_pkg_preinst |
154 |
gnome2_icon_savelist |
155 |
} |
156 |
|
157 |
pkg_postinst() { |
158 |
games_pkg_postinst |
159 |
gnome2_icon_cache_update |
160 |
} |
161 |
|
162 |
pkg_postrm() { |
163 |
gnome2_icon_cache_update |
164 |
} |