Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update KF5 Tier 3 frameworks (#4511)
... and add kbookmarks, kio, knewstuff, kparts and kwallet
- Loading branch information
Showing
11 changed files
with
284 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Maintainer (MSYS2): Michael Hansen <zrax0111@gmail.com> | ||
|
||
_variant=-${KF5_VARIANT:-shared} | ||
source "$(dirname ${BASH_SOURCE[0]})"/../mingw-w64-PKGBUILD-common/kde-frameworks5 | ||
_kde_f5_init_package "${_variant}" "kbookmarks" | ||
pkgver=5.50.0 | ||
pkgrel=1 | ||
arch=('any') | ||
pkgdesc="Support for bookmarks and the XBEL format (mingw-w64-qt5${_namesuff})" | ||
license=('LGPL') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-extra-cmake-modules>=${pkgver}") | ||
depends=() | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-qt5${_namesuff}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kxmlgui-qt5${_namesuff}>=${pkgver}" | ||
groups=('kf5') | ||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_basename}-${pkgver}.tar.xz") | ||
sha256sums=('c9ebb01a1f37c9791287ea90ed52defa879073ee53a5681709bd4ec959567ad3') | ||
|
||
prepare() { | ||
mkdir -p build-${CARCH}${_variant} | ||
} | ||
|
||
build() { | ||
local -a extra_config | ||
cd build-${CARCH}${_variant} | ||
if [ "${_variant}" = "-static" ]; then | ||
extra_config+=( -DBUILD_SHARED_LIBS=NO ) | ||
QT5_PREFIX=${MINGW_PREFIX}/qt5-static | ||
export PATH=${QT5_PREFIX}/bin:"$PATH" | ||
else | ||
QT5_PREFIX=${MINGW_PREFIX} | ||
fi | ||
|
||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DECM_MKSPECS_INSTALL_DIR=" \ | ||
cmake ../${_basename}-${pkgver} \ | ||
-DCMAKE_BUILD_TYPE=$(_kde_f5_CMAKE_BUILD_TYPE) \ | ||
-DCMAKE_INSTALL_PREFIX=${QT5_PREFIX} \ | ||
-DKDE_INSTALL_LIBDIR=lib \ | ||
-DECM_MKSPECS_INSTALL_DIR=${QT5_PREFIX}/share/qt5/mkspecs/modules \ | ||
-DBUILD_QCH=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DECM_DIR=${MINGW_PREFIX}/share/ECM \ | ||
"${extra_config[@]}" \ | ||
-G'MSYS Makefiles' | ||
make | ||
} | ||
|
||
package() { | ||
cd build-${CARCH}${_variant} | ||
make DESTDIR="${pkgdir}" install | ||
} |
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Maintainer (MSYS2): Michael Hansen <zrax0111@gmail.com> | ||
|
||
_variant=-${KF5_VARIANT:-shared} | ||
source "$(dirname ${BASH_SOURCE[0]})"/../mingw-w64-PKGBUILD-common/kde-frameworks5 | ||
_kde_f5_init_package "${_variant}" "kio" | ||
pkgver=5.50.0 | ||
pkgrel=1 | ||
arch=('any') | ||
pkgdesc="Resource and network access abstraction (mingw-w64-qt5${_namesuff})" | ||
license=('LGPL') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-extra-cmake-modules>=${pkgver}") | ||
depends=() | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-qt5${_namesuff}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-solid-qt5${_namesuff}>=${pkgver}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kjobwidgets-qt5${_namesuff}>=${pkgver}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kbookmarks-qt5${_namesuff}>=${pkgver}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kwallet-qt5${_namesuff}>=${pkgver}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-libxslt" | ||
groups=('kf5') | ||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_basename}-${pkgver}.tar.xz") | ||
sha256sums=('01423f94668756dc9f644c5ef93ace0b2e1624d7dd9483f9524bdf3c0855d2ae') | ||
|
||
prepare() { | ||
mkdir -p build-${CARCH}${_variant} | ||
} | ||
|
||
build() { | ||
local -a extra_config | ||
cd build-${CARCH}${_variant} | ||
if [ "${_variant}" = "-static" ]; then | ||
extra_config+=( -DBUILD_SHARED_LIBS=NO ) | ||
QT5_PREFIX=${MINGW_PREFIX}/qt5-static | ||
export PATH=${QT5_PREFIX}/bin:"$PATH" | ||
else | ||
QT5_PREFIX=${MINGW_PREFIX} | ||
fi | ||
|
||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DECM_MKSPECS_INSTALL_DIR=" \ | ||
cmake ../${_basename}-${pkgver} \ | ||
-DCMAKE_BUILD_TYPE=$(_kde_f5_CMAKE_BUILD_TYPE) \ | ||
-DCMAKE_INSTALL_PREFIX=${QT5_PREFIX} \ | ||
-DKDE_INSTALL_LIBDIR=lib \ | ||
-DECM_MKSPECS_INSTALL_DIR=${QT5_PREFIX}/share/qt5/mkspecs/modules \ | ||
-DBUILD_QCH=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DECM_DIR=${MINGW_PREFIX}/share/ECM \ | ||
"${extra_config[@]}" \ | ||
-G'MSYS Makefiles' | ||
make | ||
} | ||
|
||
package() { | ||
cd build-${CARCH}${_variant} | ||
make DESTDIR="${pkgdir}" install | ||
} |
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,51 @@ | ||
# Maintainer (MSYS2): Michael Hansen <zrax0111@gmail.com> | ||
|
||
_variant=-${KF5_VARIANT:-shared} | ||
source "$(dirname ${BASH_SOURCE[0]})"/../mingw-w64-PKGBUILD-common/kde-frameworks5 | ||
_kde_f5_init_package "${_variant}" "knewstuff" | ||
pkgver=5.50.0 | ||
pkgrel=1 | ||
arch=('any') | ||
pkgdesc="Support for downloading application assets from the network (mingw-w64-qt5${_namesuff})" | ||
license=('LGPL') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-extra-cmake-modules>=${pkgver}") | ||
depends=() | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-qt5${_namesuff}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kio-qt5${_namesuff}>=${pkgver}" | ||
groups=('kf5') | ||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_basename}-${pkgver}.tar.xz") | ||
sha256sums=('0df2264795d5ea017fc64d236ab28ea353c6c1466655da76ae179a022804b0c6') | ||
|
||
prepare() { | ||
mkdir -p build-${CARCH}${_variant} | ||
} | ||
|
||
build() { | ||
local -a extra_config | ||
cd build-${CARCH}${_variant} | ||
if [ "${_variant}" = "-static" ]; then | ||
extra_config+=( -DBUILD_SHARED_LIBS=NO ) | ||
QT5_PREFIX=${MINGW_PREFIX}/qt5-static | ||
export PATH=${QT5_PREFIX}/bin:"$PATH" | ||
else | ||
QT5_PREFIX=${MINGW_PREFIX} | ||
fi | ||
|
||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DECM_MKSPECS_INSTALL_DIR=" \ | ||
cmake ../${_basename}-${pkgver} \ | ||
-DCMAKE_BUILD_TYPE=$(_kde_f5_CMAKE_BUILD_TYPE) \ | ||
-DCMAKE_INSTALL_PREFIX=${QT5_PREFIX} \ | ||
-DKDE_INSTALL_LIBDIR=lib \ | ||
-DECM_MKSPECS_INSTALL_DIR=${QT5_PREFIX}/share/qt5/mkspecs/modules \ | ||
-DBUILD_QCH=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DECM_DIR=${MINGW_PREFIX}/share/ECM \ | ||
"${extra_config[@]}" \ | ||
-G'MSYS Makefiles' | ||
make | ||
} | ||
|
||
package() { | ||
cd build-${CARCH}${_variant} | ||
make DESTDIR="${pkgdir}" install | ||
} |
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,51 @@ | ||
# Maintainer (MSYS2): Michael Hansen <zrax0111@gmail.com> | ||
|
||
_variant=-${KF5_VARIANT:-shared} | ||
source "$(dirname ${BASH_SOURCE[0]})"/../mingw-w64-PKGBUILD-common/kde-frameworks5 | ||
_kde_f5_init_package "${_variant}" "kparts" | ||
pkgver=5.50.0 | ||
pkgrel=1 | ||
arch=('any') | ||
pkgdesc="Document centric plugin system (mingw-w64-qt5${_namesuff})" | ||
license=('LGPL') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-extra-cmake-modules>=${pkgver}") | ||
depends=() | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-qt5${_namesuff}" | ||
_kde_f5_add_depends "${_variant}" "${MINGW_PACKAGE_PREFIX}-kio-qt5${_namesuff}>=${pkgver}" | ||
groups=('kf5') | ||
source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${_basename}-${pkgver}.tar.xz") | ||
sha256sums=('41a05e792c844c75d6c9885a64fefe88a8d1df18f4bd963d904369e0fd058aff') | ||
|
||
prepare() { | ||
mkdir -p build-${CARCH}${_variant} | ||
} | ||
|
||
build() { | ||
local -a extra_config | ||
cd build-${CARCH}${_variant} | ||
if [ "${_variant}" = "-static" ]; then | ||
extra_config+=( -DBUILD_SHARED_LIBS=NO ) | ||
QT5_PREFIX=${MINGW_PREFIX}/qt5-static | ||
export PATH=${QT5_PREFIX}/bin:"$PATH" | ||
else | ||
QT5_PREFIX=${MINGW_PREFIX} | ||
fi | ||
|
||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=;-DECM_MKSPECS_INSTALL_DIR=" \ | ||
cmake ../${_basename}-${pkgver} \ | ||
-DCMAKE_BUILD_TYPE=$(_kde_f5_CMAKE_BUILD_TYPE) \ | ||
-DCMAKE_INSTALL_PREFIX=${QT5_PREFIX} \ | ||
-DKDE_INSTALL_LIBDIR=lib \ | ||
-DECM_MKSPECS_INSTALL_DIR=${QT5_PREFIX}/share/qt5/mkspecs/modules \ | ||
-DBUILD_QCH=OFF \ | ||
-DBUILD_TESTING=OFF \ | ||
-DECM_DIR=${MINGW_PREFIX}/share/ECM \ | ||
"${extra_config[@]}" \ | ||
-G'MSYS Makefiles' | ||
make | ||
} | ||
|
||
package() { | ||
cd build-${CARCH}${_variant} | ||
make DESTDIR="${pkgdir}" install | ||
} |
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
Oops, something went wrong.