Skip to content
Snippets Groups Projects
Commit d2272dc5 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

upgpkg: 2:2.10.0-2

parent efc014ba
No related branches found
No related tags found
No related merge requests found
Pipeline #2224 passed
......@@ -8,17 +8,17 @@
_name=FreeRDP
pkgname=freerdp
pkgver=2.9.0
pkgver=2.10.0
pkgrel=2
epoch=2
pkgdesc="Free implementation of the Remote Desktop Protocol (RDP)"
url='https://github.com/freerdp/freerdp'
track=$pkgname/$pkgname/archive
target=${pkgver/_/-}
track=$pkgname/$pkgname/archive/${pkgver}
target=${pkgname}-${pkgver}
source=(
$pkgname-$pkgver.tar.gz::https://github.com/$track/$target.tar.gz
https://github.com/$track/$target.tar.gz
$pkgname-2.0.0-manpage_formatting.patch
)
......@@ -97,8 +97,10 @@ _path=(
)
_flags=(
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_BUILD_TYPE=None
-DCMAKE_SKIP_INSTALL_RPATH=ON
-DPROXY_PLUGINDIR=/usr/lib/freerdp2/server/proxy/plugins
-DWITH_DSP_FFMPEG=ON
-DWITH_FFMPEG=ON
......@@ -123,7 +125,14 @@ _flags=(
build() {
cmake "${_path[@]}" "${_flags[@]}" -B build -S $_name-$pkgver
make VERBOSE=1 -C build
cmake --build build --verbose
}
#--------
# CHECK ]
check() {
ctest --test-dir build --output-on-failure
}
#----------
......@@ -141,8 +150,8 @@ package() {
pam libpam.so
)
make DESTDIR="$pkgdir" install -C build
install -vDm 644 $_name-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname"
DESTDIR="$pkgdir" cmake --install build
install -vDm 644 $_name-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
#-------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment