blob: f103a43a6aa0dcc3cd1aae6a7cac54d2c92a9855 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
# Maintainer: ars <asav1410 at gmail dot com>
# Contributer: kaptoxic <kaptoxic@yahoo.com>
# Contributor: dhamp <dhamp@ya.ru>
pkgbase="eiskaltdcpp"
pkgname=("${pkgbase}-core"
"${pkgbase}-qt"
"${pkgbase}-gtk"
"${pkgbase}-daemon"
"${pkgbase}-cli"
"${pkgbase}-data"
)
pkgver=2.4.2
pkgrel=2
pkgdesc="EiskaltDC++ is a cross-platform program that uses the Direct Connect (DC aka NMDC) and Advanced Direct Connect (ADC) protocols. It is compatible with DC++, AirDC++, FlylinkDC++ and other DC clients. EiskaltDC++ also interoperates with all common DC hub software."
license=('GPL3')
arch=('x86_64')
url="https://github.com/eiskaltdcpp/eiskaltdcpp/"
conflicts=('eiskaltdcpp-git')
options=(!emptydirs)
source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/v${pkgver}.tar.gz")
sha256sums=('2ed853a57c57aab0e87fdea273a01707184ee425a2aaf9fcd2e0a32c57a2de2c')
makedepends=('cmake'
'lua'
'libidn'
'aspell'
'attr'
'pcre'
'bash'
'miniupnpc'
'jsoncpp'
'qt5-multimedia'
'qt5-tools'
'qt5-xmlpatterns'
'gtk3'
'libnotify'
'perl-json'
'perl-json-rpc'
)
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../eiskaltdcpp-"${pkgver}" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_QT5=ON \
-DUSE_QT_QML=OFF \
-DUSE_QT_SQLITE=ON \
-DUSE_GTK3=ON \
-DLUA_SCRIPT=ON \
-DUSE_MINIUPNP=ON \
-DUSE_ASPELL=ON \
-DUSE_LIBNOTIFY=ON \
-DWITH_LUASCRIPTS=ON \
-DWITH_SOUNDS=ON \
-DWITH_DEV_FILES=ON \
-DUSE_JS=ON \
-DXMLRPC_DAEMON=OFF \
-DPERL_REGEX=ON \
-DENABLE_STACKTRACE=ON \
-DJSONRPC_DAEMON=ON \
-DUSE_CLI_XMLRPC=OFF \
-DUSE_CLI_JSONRPC=ON \
-DLOCAL_JSONCPP=OFF \
-DLOCAL_BOOST=OFF
make
}
package_eiskaltdcpp-core() {
pkgdesc="EiskaltDC++ Core"
depends=('openssl'
'lua'
'libidn'
'attr'
'miniupnpc'
'pcre'
)
provides=("${pkgbase}-core=${pkgver}"
"${pkgbase}"
)
conflicts=("${pkgbase}-core-git")
opdepends=("${pkgbase}-qt: EiskaltDC++ QT interface"
"${pkgbase}-gtk: EiskaltDC++ GTK interface"
"${pkgbase}-cli: EiskaltDC++ CLI interface"
"${pkgbase}-daemon: EiskaltDC++ Daemon"
)
make -C build/dcpp DESTDIR="${pkgdir}" install
}
package_eiskaltdcpp-qt() {
pkgdesc="Qt5-based DC and ADC client for EiskaltDC++ core."
depends=("${pkgbase}-core=${pkgver}"
"${pkgbase}-data=${pkgver}"
'aspell'
'qt5-script'
'qt5-multimedia'
'desktop-file-utils'
)
optdepends=('php: needed for some scripts')
provides=("${pkgbase}-qt")
conflicts=("${pkgbase}-qt-git")
make -C build/eiskaltdcpp-qt DESTDIR="${pkgdir}" install
}
package_eiskaltdcpp-gtk() {
pkgdesc="GTK3-based DC and ADC client for EiskaldDC++ core."
depends=("${pkgbase}-core=${pkgver}"
"${pkgbase}-data=${pkgver}"
'gtk3'
'libnotify'
)
provides=("${pkgbase}-gtk")
conflicts=("${pkgbase}-gtk-git")
make -C build/eiskaltdcpp-gtk DESTDIR="${pkgdir}" install
}
package_eiskaltdcpp-daemon() {
pkgdesc="DC and ADC daemon for EiskaltDC++ core."
depends=("${pkgbase}-core=${pkgver}"
'jsoncpp'
)
provides=("${pkgbase}-daemon")
conflicts=("${pkgbase}-daemon-git")
make -C build/eiskaltdcpp-daemon DESTDIR="${pkgdir}" install
}
package_eiskaltdcpp-cli() {
arch=('any')
pkgdesc="CLI interface for EiskaltDC++ Daemon."
depends=("${pkgbase}-daemon=${pkgver}"
'perl-json'
'perl-json-rpc'
)
provides=("${pkgbase}-cli")
conflicts=("${pkgbase}-cli-git")
make -C build/eiskaltdcpp-cli DESTDIR="${pkgdir}" install
}
package_eiskaltdcpp-data() {
arch=('any')
pkgdesc="EiskaltDC++ common data files."
depends=('bash'
'hicolor-icon-theme'
)
optdepends=('php: needed for some optional scripts'
'python: test http server'
)
provides=("${pkgbase}-data")
conflicts=("${pkgbase}-data-git")
make -C build/data DESTDIR="${pkgdir}" install
}
|