Skip to content
Snippets Groups Projects
Commit fa2504fc authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo
Browse files

testing/latte-dock: new aport

parent a73130da
No related merge requests found
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=latte-dock
pkgver=0.8.8
pkgrel=0
arch="all !ppc64le !s390x" # Limited by libksysguard -> qt5-qtwebengine
url="https://store.kde.org/p/1169519/"
pkgdesc="A powerful BitTorrent client for KDE"
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev libksysguard-dev
kactivities-dev karchive-dev kcoreaddons-dev kguiaddons-dev kcrash-dev
kdbusaddons-dev kdeclarative-dev kglobalaccel-dev ki18n-dev kiconthemes-dev
knewstuff-dev knotifications-dev plasma-framework-dev kwayland-dev
kwindowsystem-dev kxmlgui-dev xcb-util-dev plasma-desktop-dev"
source="https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz
fix-build.patch"
subpackages="$pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="916503ac844d32bca1533dd6101c783eae9d3f6261ba2de9cc9658b1ab7ab65267de5f1b6d8b6e3de77098aae9736e935cc3b83ac2118795bbc5f2457cf5d18a latte-dock-0.8.8.tar.xz
3b15da899f736e11ae136f47a4813a45a11d3ed74fb015653db50029a875cff884a30763333a6bf2fce077b08199be0330d8441e6628d66162baf4ab89a9dca5 fix-build.patch"
diff --git a/CMakeLists.txt b/CMakeLists.txt
index deadb48..fcf6d67 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,7 +76,5 @@ add_subdirectory(icons)
add_subdirectory(plasmoid)
add_subdirectory(shell)
-ki18n_install(${CMAKE_CURRENT_BINARY_DIR}/po)
-
find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(po)
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