blob: 1faa28fb132505f2b8d6df1909f8f5dc32759d87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#!/bin/bash
#
# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
source /usr/src/ports/Build/build.sh
NAME=dolphin
VERSION=3.5
BUILD=1
DEPENDS=('wxgtk >= 2.8.12-1' 'cg_toolkit >= 3.1-1' 'ffmpeg >= 0.10.3-1' 'bluetooth >= 4.101-1' 'sound >= 1.0.26-1' 'libopenal >= 1.13-1')
# Description
cat > ${PKG}/install/slack-desc <<EOF
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
$(padd)|-----handy-ruler------------------------------------------------------|
${NAME}: dolphin (Nintendo Wii & Gamecube emulator)
${NAME}:
${NAME}: A Wii and Gamecube emulator which runs most games perfectly or with
${NAME}: minor bugs. Games are playable at HD quality, up to 1080p. This is a
${NAME}: remarkable feature the actual Wii or Gamecube consoles are not
${NAME}: capable of.
${NAME}:
${NAME}: Homepage: http://code.google.com/p/dolphin-emu
${NAME}:
${NAME}:
${NAME}:
EOF
# Sources
SRCNAME[0]=${NAME}
SRCVERS[0]=${VERSION}
SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}-src.zip
SRCCOPY[0]="GPL2"
build0()
{
cmake \
-DCMAKE_C_FLAGS:STRING="${FLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-Ddatadir:STRING="${SYS_DIR[share]}/application-data/dolphin" \
.
make ${JOBS}
make install DESTDIR="${PKG}"
install.dir ${PKG}${SYS_DIR[share]}/applications
install.dat dolphin.desktop ${PKG}${SYS_DIR[share]}/applications
install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps
install.dat dolphin.png ${PKG}${SYS_DIR[share]}/icons/hicolor/128x128/apps
}
|