-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from arcan1s/feature/plasma6
Migrate to plasma 6
- Loading branch information
Showing
176 changed files
with
2,581 additions
and
3,807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,30 @@ | ||
# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org> | ||
|
||
pkgname=plasma5-applet-awesome-widgets | ||
pkgname=plasma6-applet-awesome-widgets | ||
_pkgname=awesome-widgets | ||
pkgver=3.4.3 | ||
pkgver=4.0.0alpha2 | ||
pkgrel=1 | ||
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)" | ||
arch=('i686' 'x86_64') | ||
arch=('x86_64') | ||
url="https://arcanis.me/projects/awesome-widgets" | ||
license=('GPL3') | ||
depends=('ksysguard' 'plasma-framework') | ||
optdepends=("catalyst: for GPU monitor" | ||
"hddtemp: for HDD temperature monitor" | ||
"smartmontools: for HDD temperature monitor" | ||
"mpd: for music player monitor" | ||
"nvidia-utils: for GPU monitor") | ||
depends=('plasma-workspace') | ||
optdepends=("mpd: for music player monitor") | ||
makedepends=('cmake' 'extra-cmake-modules' 'python') | ||
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) | ||
install=${pkgname}.install | ||
md5sums=('5953ba518191bb6fff83cdb8633c735c') | ||
source=(https://github.com/arcan1s/awesome-widgets/releases/download/${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) | ||
install="$pkgname.install" | ||
backup=('etc/xdg/plasma-dataengine-extsysmon.conf') | ||
|
||
prepare() { | ||
rm -rf "${srcdir}/build" | ||
mkdir "${srcdir}/build" | ||
} | ||
|
||
build () { | ||
cd "${srcdir}/build" | ||
cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | ||
-DCMAKE_BUILD_TYPE=Optimization \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DBUILD_FUTURE=ON \ | ||
"../${_pkgname}" | ||
make | ||
cmake -B build -S "${_pkgname}" \ | ||
-DCMAKE_BUILD_TYPE=Optimization \ | ||
-DBUILD_FUTURE=ON \ | ||
-DBUILD_TESTING=OFF | ||
cmake --build build | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/build" | ||
make DESTDIR="${pkgdir}" install | ||
DESTDIR="$pkgdir" cmake --install build | ||
} | ||
|
||
sha256sums=('b2a7b07a1df6f710f4e0d6e5898933f4ddb131818b922dc4b8e48afe3e98a664') |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,9 @@ project(awesomewidgets) | |
set(PROJECT_AUTHOR "Evgeniy Alekseev") | ||
set(PROJECT_CONTACT "[email protected]") | ||
set(PROJECT_LICENSE "GPL3") | ||
set(PROJECT_VERSION_MAJOR "3") | ||
set(PROJECT_VERSION_MINOR "5") | ||
set(PROJECT_VERSION_PATCH "1") | ||
set(PROJECT_VERSION_MAJOR "4") | ||
set(PROJECT_VERSION_MINOR "0") | ||
set(PROJECT_VERSION_PATCH "0") | ||
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") | ||
# append git version if any | ||
set(PROJECT_COMMIT_SHA "Commit hash" CACHE INTERNAL "") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
set(SUBPROJECT plasma_applet_awesome-widget) | ||
message(STATUS "Subproject ${SUBPROJECT}") | ||
|
||
configure_file(metadata.desktop ${CMAKE_CURRENT_SOURCE_DIR}/package/metadata.desktop) | ||
configure_file(metadata.json ${CMAKE_CURRENT_SOURCE_DIR}/package/metadata.json) | ||
|
||
add_subdirectory(plugin) | ||
plasma_install_package(package org.kde.plasma.awesomewidget) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"KPackageStructure": "Plasma/Applet", | ||
"KPlugin": { | ||
"Authors": [ | ||
{ | ||
"Email": "[email protected]", | ||
"Name": "Evgeniy Alekseev aka arcanis" | ||
} | ||
], | ||
"Category": "System Information", | ||
"Description": "A minimalistic Plasmoid", | ||
"Description[en]": "A minimalistic Plasmoid", | ||
"Description[es]": "Un script Plasmoïde minimaliste", | ||
"Description[pt_BR]": "Um script Plasmoid", | ||
"Description[ru]": "Минималистичный плазмоид", | ||
"Description[uk]": "Мінімалістичний плазмоїд", | ||
"EnabledByDefault": true, | ||
"Icon": "utilities-system-monitor", | ||
"Id": "org.kde.plasma.awesomewidget", | ||
"License": "GPLv3", | ||
"Name": "Awesome Widget", | ||
"Version": "@PROJECT_VERSION@", | ||
"Website": "https://arcanis.me/projects/awesome-widgets/" | ||
}, | ||
"X-Plasma-API-Minimum-Version": "6.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.