diff --git a/dev/libs/kuserfeedback/ympbuild b/dev/libs/kuserfeedback/ympbuild new file mode 100644 index 00000000..fb29498f --- /dev/null +++ b/dev/libs/kuserfeedback/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='kuserfeedback' +release='1' +version='1.3.0' +url='https://kde.org/products/frameworks/' +description='Framework for collecting user feedback for applications via telemetry and surveys' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv3') +source=(https://download.kde.org/stable/kuserfeedback/kuserfeedback-${version}.tar.xz{,.sig}) +depends=(qt5-base) +makedepends=(clang extra-cmake-modules qt5-declarative qt5-svg qt5-tools) +md5sums=('d5e787de6cf0001f23133694dbffd96f' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + #CXXFLAGS += -Wno-deprecated-copy + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/dev/libs/libsass/ympbuild b/dev/libs/libsass/ympbuild new file mode 100644 index 00000000..b07b955b --- /dev/null +++ b/dev/libs/libsass/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='libsass' +release='1' +version='3.6.5' +url='https://sass-lang.com/libsass' +description='C/C++ implementation of a Sass compiler' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('MIT') +source=("https://github.com/sass/libsass/archive/${version}.tar.gz") +depends=() +makedepends=() +md5sums=('c49765b9b3824dcd4a7423225ca28bad') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build () { + make $jobs +} + +package () { + make DESTDIR="$DESTDIR" install $jobs +} + diff --git a/dev/qt/qt5-charts/ympbuild b/dev/qt/qt5-charts/ympbuild new file mode 100644 index 00000000..e1832c50 --- /dev/null +++ b/dev/qt/qt5-charts/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='qt5-charts' +release='1' +version='5.15.10' +url='https://www.qt.io/' +description='The Qt Sensors API provides access to sensor hardware via QML and C++' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('FDL' 'GPL3' 'LGPL3' 'custom') +source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtcharts-everywhere-opensource-src-${version}.tar.xz") +depends=(qt5-base) +makedepends=(qt5-declarative) +md5sums=('6b396418800c3c28b002432764e9eae8') +group=(dev.qt) +uses=() +arch=('x86_64') + +cd "qtcharts-everywhere-src-"${version} +export PATH=/usr/bin/qt5:$PATH + + +setup() { + qmake +} + + +build () { + make +} + +package () { + make INSTALL_ROOT="$DESTDIR" install +} + + diff --git a/dev/ruby/sassc/ympbuild b/dev/ruby/sassc/ympbuild new file mode 100644 index 00000000..b0470763 --- /dev/null +++ b/dev/ruby/sassc/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='sassc' +release='1' +version='3.6.2' +url='https://github.com/sass/sassc' +description='Libsass command line driver' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('MIT') +source=("https://github.com/sass/sassc/archive/refs/tags/${version}.tar.gz") +depends=() +makedepends=(libsass) +md5sums=('4c3b06ce2979f2a9f0a35093e501d8bb') +group=(dev.ruby) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build () { + make $jobs +} + +package () { + make DESTDIR="$DESTDIR" install $jobs +} + diff --git a/kde/apps/baloo-widgets/ympbuild b/kde/apps/baloo-widgets/ympbuild new file mode 100644 index 00000000..eedb1897 --- /dev/null +++ b/kde/apps/baloo-widgets/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='baloo-widgets' +release='1' +version='23.08.2' +url='https://www.kde.org/' +description='Widgets for Baloo' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/release-service/${version}/src/baloo-widgets-${version}.tar.xz") +depends=(baloo) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('1d093f638e4c685f546d885b8aaa1491') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/apps/dolphin/ympbuild b/kde/apps/dolphin/ympbuild new file mode 100644 index 00000000..3dc2ae3e --- /dev/null +++ b/kde/apps/dolphin/ympbuild @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +name='dolphin' +release='1' +version='23.08.3' +url='https://apps.kde.org/dolphin/' +description='KDE File Manager' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/release-service/${version}/src/dolphin-${version}.tar.xz") +depends=(baloo-widgets knewstuff kcmutils kparts kactivities kuserfeedback) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('82a60a035cae093a499df3a6bfb5f405') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build + rm -r "$DESTDIR"/usr/lib/systemd + + rm -f $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop + ln -s ../applications/org.kde.dolphin.desktop $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop + +} \ No newline at end of file diff --git a/kde/apps/konsole/ympbuild b/kde/apps/konsole/ympbuild new file mode 100644 index 00000000..daa4f041 --- /dev/null +++ b/kde/apps/konsole/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='konsole' +release='1' +version='23.08.2' +url='https://kde.org/applications/system/konsole' +description="KDE's terminal emulator" +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL' 'GPL' 'FDL') +source=("https://download.kde.org/stable/release-service/${version}/src/konsole-${version}.tar.xz") +depends=(kpty kparts knewstuff) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('5cd9724bc52d0a9c99035d3693452bcd') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DENABLE_PLUGIN_SSHMANAGER=ON \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/extra-cmake-modules/ympbuild b/kde/frameworks/extra-cmake-modules/ympbuild index 90a07472..c8e02d14 100644 --- a/kde/frameworks/extra-cmake-modules/ympbuild +++ b/kde/frameworks/extra-cmake-modules/ympbuild @@ -1,16 +1,16 @@ #!/usr/bin/env bash name='extra-cmake-modules' -release='3' -version='5.111.0' -url='https://download.kde.org/stable/frameworks/' -description='The Extra Cmake Modules package contains extra CMake modules used by KDE Frameworks 5 and other packages. ' -email='aliriza.keskin@pardus.org.tr' -maintainer='aliriza' -license=('GPLv3') -source=("https://download.kde.org/stable/frameworks/5.111/extra-cmake-modules-$version.zip") +release='2' +version='5.112.0' +url='https://community.kde.org/Frameworks' +description='Extra modules and scripts for CMake' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/extra-cmake-modules-${version}.tar.xz") depends=(cmake) makedepends=() -md5sums=('3cad7f0fa78803ef9e21da876bc01f5e') +md5sums=('40fa6d3c54ce18dccec1dac4ee23d7d6') group=(kde.frameworks) uses=() arch=('x86_64') @@ -18,19 +18,21 @@ arch=('x86_64') cd $name-$version setup () { - mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_HTML_DOCS=OFF \ + #mkdir build && cd build + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSphinx_BUILD_EXECUTABLE=/usr/bin/sphinx-build \ + -DBUILD_HTML_DOCS=ON \ -DBUILD_MAN_DOCS=OFF \ - -DBUILD_QTHELP_DOCS=OFF \ - .. + -DBUILD_QTHELP_DOCS=ON } build () { - make -C build $jobs + cmake --build build } package () { - make -C build install $jobs + DESTDIR="$DESTDIR" cmake --install build } + diff --git a/kde/frameworks/kdesignerplugin/ympbuild b/kde/frameworks/kdesignerplugin/ympbuild new file mode 100644 index 00000000..5e047112 --- /dev/null +++ b/kde/frameworks/kdesignerplugin/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='kdesignerplugin' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Integration of Frameworks widgets in Qt Designer/Creator' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/kdesignerplugin-${version}.tar.xz") +depends=(kconfig kcoreaddons) +makedepends=(extra-cmake-modules qt5-tools kdoctools) +md5sums=('f59cd2f11e1f9d7e6fec6dc1586409e1') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/knotifyconfig/ympbuild b/kde/frameworks/knotifyconfig/ympbuild new file mode 100644 index 00000000..fe95e67f --- /dev/null +++ b/kde/frameworks/knotifyconfig/ympbuild @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +name='knotifyconfig' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Core components for the KDE s Activities' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/knotifyconfig-${version}.tar.xz") +depends=(kio) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('2dc9cf6f8fce1d287eb336e958493f29') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/frameworks/networkmanager-qt5/ympbuild b/kde/frameworks/networkmanager-qt5/ympbuild new file mode 100644 index 00000000..fc56bb73 --- /dev/null +++ b/kde/frameworks/networkmanager-qt5/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='networkmanager-qt5' +release='1' +version='5.112.0' +url='https://community.kde.org/Frameworks' +description='Qt wrapper for NetworkManager API' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/frameworks/${version%.*}/networkmanager-qt-${version}.tar.xz") +depends=(networkmanager qt5-base) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('4b5901b5a65a1f33c17214d8b8d4334e') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd "networkmanager-qt"-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/bluedevil/ympbuild b/kde/plasma/bluedevil/ympbuild new file mode 100644 index 00000000..2022f99b --- /dev/null +++ b/kde/plasma/bluedevil/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='bluedevil' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Integrate the Bluetooth technology within KDE workspace and applications' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/bluedevil-${version}.tar.xz") +depends=(bluez-qt kdeclarative) +makedepends=(extra-cmake-modules plasma-framework kdoctools kcmutils) +md5sums=('4fca7af9df4e4a39e9b3b7e18e6e8836') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/plasma/breeze-gtk/ympbuild b/kde/plasma/breeze-gtk/ympbuild new file mode 100644 index 00000000..26ca0eb1 --- /dev/null +++ b/kde/plasma/breeze-gtk/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='breeze-gtk' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Artwork, styles and assets for the Breeze visual style for the Plasma Desktop' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/breeze-gtk-${version}.tar.xz") +depends=() +makedepends=(extra-cmake-modules sassc py3-cairo breeze) +md5sums=('9c1816279ddac1fe05cfb765ec77464b') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/breeze-plymouth/ympbuild b/kde/plasma/breeze-plymouth/ympbuild new file mode 100644 index 00000000..36035cc7 --- /dev/null +++ b/kde/plasma/breeze-plymouth/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='breeze-plymouth' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Breeze theme for Plymouth' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/breeze-plymouth-${version}.tar.xz") +depends=(plymouth) +makedepends=(extra-cmake-modules) +md5sums=('f1450b508f2390e3537c155e3f8cd53b') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/breeze/ympbuild b/kde/plasma/breeze/ympbuild new file mode 100644 index 00000000..68772438 --- /dev/null +++ b/kde/plasma/breeze/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='breeze' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Artwork, styles and assets for the Breeze visual style for the Plasma Desktop' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/breeze-${version}.tar.xz") +depends=(frameworkintegration kdecoration breeze-icons kirigami2 hicolor-icon-theme) +makedepends=(extra-cmake-modules kcmutils) +md5sums=('de7b4629697279e5f231751f1f68bce9') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/plasma/drkonqi/ympbuild b/kde/plasma/drkonqi/ympbuild new file mode 100644 index 00000000..43e914f0 --- /dev/null +++ b/kde/plasma/drkonqi/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='drkonqi' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='The KDE crash handler' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/drkonqi-${version}.tar.xz") +depends=(kidletime syntax-highlighting kirigami2 kitemmodels kuserfeedback kio py3-distro py3-psutil qt5-tools) +makedepends=(extra-cmake-modules) +md5sums=('119a1ef17f748a4a3d64b306f3e651a1') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/flatpak-kcm/ympbuild b/kde/plasma/flatpak-kcm/ympbuild new file mode 100644 index 00000000..6f2b53b3 --- /dev/null +++ b/kde/plasma/flatpak-kcm/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='flatpak-kcm' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Flatpak Permissions Management KCM' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/plasma/${version}/flatpak-kcm-${version}.tar.xz") +depends=(flatpak) +makedepends=(extra-cmake-modules) +md5sums=('1f6c592fcab06f8043c0dbd95f87633f') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/kactivitymanagerd/ympbuild b/kde/plasma/kactivitymanagerd/ympbuild new file mode 100644 index 00000000..69a2088b --- /dev/null +++ b/kde/plasma/kactivitymanagerd/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kactivitymanagerd' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description="System service to manage user's activities and track the usage patterns" +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kactivitymanagerd-${version}.tar.xz") +depends=(kio) +makedepends=(extra-cmake-modules boost) +md5sums=('e62bc1cd1eb1127007a77c674d5d7806') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/kde-gtk-config/ympbuild b/kde/plasma/kde-gtk-config/ympbuild new file mode 100644 index 00000000..6955821b --- /dev/null +++ b/kde/plasma/kde-gtk-config/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kde-gtk-config' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='GTK2 and GTK3 Configurator for KDE' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kde-gtk-config-${version}.tar.xz") +depends=(qt5-svg kdecoration kconfigwidgets kdbusaddons kwindowsystem) +makedepends=(extra-cmake-modules gtk3 sassc) +md5sums=('2f336708889452f4e841132e9a18258d') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/kdecoration/ympbuild b/kde/plasma/kdecoration/ympbuild new file mode 100644 index 00000000..a4e25fae --- /dev/null +++ b/kde/plasma/kdecoration/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kdecoration' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Plugin based library to create window decorations' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kdecoration-${version}.tar.xz") +depends=(ki18n) +makedepends=(extra-cmake-modules kcoreaddons) +md5sums=('382ea37b4c5e2599a3bfcc2a1ac3279b') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/kgamma/ympbuild b/kde/plasma/kgamma/ympbuild new file mode 100644 index 00000000..1cfc1120 --- /dev/null +++ b/kde/plasma/kgamma/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kgamma' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description="Adjust your monitor's gamma settings" +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kgamma5-${version}.tar.xz") +depends=() +makedepends=(extra-cmake-modules kdoctools) +md5sums=('2445a1c0a3d84c2ee96de07492ddce89') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name"5"-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/kinfocenter/ympbuild b/kde/plasma/kinfocenter/ympbuild new file mode 100644 index 00000000..594873ee --- /dev/null +++ b/kde/plasma/kinfocenter/ympbuild @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +name='kinfocenter' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='A utility that provides information about a computer system' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kinfocenter-${version}.tar.xz") +depends=() +makedepends=(extra-cmake-modules solid kio plasma-framework kdoctools) +md5sums=('ca83253ccce484f94a4c17a529ba0f82') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build + + rm -f $DESTDIR/usr/bin/kinfocenter + ln -s ../systemsettings5 $DESTDIR/usr/bin/kinfocenter +} +#usr/bin/kinfocenter => /usr/bin/systemsettings5 + + #rm -f $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop + #ln -s ../applications/org.kde.dolphin.desktop $DESTDIR/usr/share/kglobalaccel/org.kde.dolphin.desktop \ No newline at end of file diff --git a/kde/plasma/kmenuedit/ympbuild b/kde/plasma/kmenuedit/ympbuild new file mode 100644 index 00000000..8367b404 --- /dev/null +++ b/kde/plasma/kmenuedit/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kmenuedit' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='KDE menu editor' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kmenuedit-${version}.tar.xz") +depends=(kio) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('a4f7846f258c216aa0cce005b29cd23b') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/kpipewire/ympbuild b/kde/plasma/kpipewire/ympbuild new file mode 100644 index 00000000..96c42877 --- /dev/null +++ b/kde/plasma/kpipewire/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kpipewire' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Components relating to pipewire use in Plasma' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kpipewire-${version}.tar.xz") +depends=(ki18n kcoreaddons pipewire libepoxy ffmpeg) +makedepends=(extra-cmake-modules plasma-wayland-protocols kwayland) +md5sums=('65d0a123985bc901cbd2387767372110') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/kscreen/ympbuild b/kde/plasma/kscreen/ympbuild new file mode 100644 index 00000000..ae58a0fc --- /dev/null +++ b/kde/plasma/kscreen/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kscreen' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='KDE screen management software' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kscreen-${version}.tar.xz") +depends=(libkscreen plasma-framework qt5-sensors layer-shell-qt) +makedepends=(extra-cmake-modules kcmutils) +md5sums=('6c39b1b86423dc22a756bdafe4d07702') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/kscreenlocker/0001-Prevent-finishing-greeter-by-unhandled-signals.patch b/kde/plasma/kscreenlocker/0001-Prevent-finishing-greeter-by-unhandled-signals.patch new file mode 100644 index 00000000..20bccaae --- /dev/null +++ b/kde/plasma/kscreenlocker/0001-Prevent-finishing-greeter-by-unhandled-signals.patch @@ -0,0 +1,46 @@ +From b2a29a2537d11193546c5b85da9566c50c6e2af2 Mon Sep 17 00:00:00 2001 +From: Dmitriy Konev +Date: Sun, 18 Jun 2023 16:42:56 +0300 +Subject: [PATCH] Prevent finishing greeter by unhandled signals + +We have time gap between main() start and KSignalHandler registration +in which signals will close greeter + +First this bug tried to fix in commit c63287ca1250d60f61c4429cbeb0215f5c3bebde +but placing KSignalHandler registration at start of main() is bad idea +because it broke mechanism for handling signals at all +and this behaviour was fixed in commit 448df7517021b9c2e68de161008ebc180363abed +by moving handlers bellow +for this reason we have this time gap +--- + greeter/main.cpp | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/greeter/main.cpp b/greeter/main.cpp +index f5c3c05..10a6fcc 100644 +--- a/greeter/main.cpp ++++ b/greeter/main.cpp +@@ -56,6 +56,12 @@ static void signalHandler(int signum) + + int main(int argc, char *argv[]) + { ++ sigset_t blockedSignals; ++ sigemptyset(&blockedSignals); ++ sigaddset(&blockedSignals, SIGTERM); ++ sigaddset(&blockedSignals, SIGUSR1); ++ pthread_sigmask(SIG_BLOCK, &blockedSignals, NULL); ++ + LayerShellQt::Shell::useLayerShell(); + + // disable ptrace on the greeter +@@ -94,6 +100,8 @@ int main(int argc, char *argv[]) + // only connect signal handler once we can actual handle the signal properly + QObject::connect(KSignalHandler::self(), &KSignalHandler::signalReceived, &app, &signalHandler); + ++ pthread_sigmask(SIG_UNBLOCK, &blockedSignals, NULL); ++ + app.setQuitOnLastWindowClosed(false); + QCoreApplication::setApplicationName(QStringLiteral("kscreenlocker_greet")); + QCoreApplication::setApplicationVersion(QStringLiteral("0.1")); +-- +2.41.0 \ No newline at end of file diff --git a/kde/plasma/kscreenlocker/kde-np.pam b/kde/plasma/kscreenlocker/kde-np.pam new file mode 100644 index 00000000..07b7861e --- /dev/null +++ b/kde/plasma/kscreenlocker/kde-np.pam @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth required pam_nologin.so +auth required pam_permit.so + +account include base-account + +password include base-password + +session include base-session-noninteractive diff --git a/kde/plasma/kscreenlocker/kde.pam b/kde/plasma/kscreenlocker/kde.pam new file mode 100644 index 00000000..6a8ab187 --- /dev/null +++ b/kde/plasma/kscreenlocker/kde.pam @@ -0,0 +1,11 @@ +#%PAM-1.0 + +auth required pam_nologin.so + +auth include base-auth + +account include base-account + +password include base-password + +session include base-session-noninteractive \ No newline at end of file diff --git a/kde/plasma/kscreenlocker/ympbuild b/kde/plasma/kscreenlocker/ympbuild new file mode 100644 index 00000000..c70f6bc1 --- /dev/null +++ b/kde/plasma/kscreenlocker/ympbuild @@ -0,0 +1,44 @@ +#!/usr/bin/env bash +name='kscreenlocker' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Library and components for secure lock screen architecture' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/kscreenlocker-${version}.tar.xz" +"kde.pam" +"kde-np.pam" +"0001-Prevent-finishing-greeter-by-unhandled-signals.patch") +depends=(layer-shell-qt kidletime kdeclarative libkscreen perl) +makedepends=(extra-cmake-modules kdoctools kcmutils libXcursor) +md5sums=('a7cce889af2d79290bcb1b1499630536' 'SKIP' 'SKIP' 'SKIP') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +prepare(){ + patch -Np1 -i ../0001-Prevent-finishing-greeter-by-unhandled-signals.patch + +} + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build + + install -D -m644 ../kde.pam "$DESTDIR"/etc/pam.d/kde + install -m644 ../kde-np.pam "$DESTDIR"/etc/pam.d/kde-np +} \ No newline at end of file diff --git a/kde/plasma/ksshaskpass/ympbuild b/kde/plasma/ksshaskpass/ympbuild new file mode 100644 index 00000000..2b714872 --- /dev/null +++ b/kde/plasma/ksshaskpass/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='ksshaskpass' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='ssh-add helper that uses kwallet and kpassworddialog' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/ksshaskpass-${version}.tar.xz") +depends=(kwallet) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('91d2157906d3b877339bd89bb59c2fe5') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/plasma/layer-shell-qt/ympbuild b/kde/plasma/layer-shell-qt/ympbuild new file mode 100644 index 00000000..3f552a83 --- /dev/null +++ b/kde/plasma/layer-shell-qt/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='layer-shell-qt' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='Qt component to allow applications to make use of the Wayland wl-layer-shell protocol' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/layer-shell-qt-${version}.tar.xz") +depends=(qt5-wayland) +makedepends=(extra-cmake-modules wayland-protocols) +md5sums=('8d746089d2fa97a87e76e4b5c820971d') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/plasma/libkscreen/ympbuild b/kde/plasma/libkscreen/ympbuild new file mode 100644 index 00000000..45f30ed7 --- /dev/null +++ b/kde/plasma/libkscreen/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='libkscreen' +release='1' +version='5.27.9' +url='https://kde.org/plasma-desktop' +description='KDE screen management software' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://download.kde.org/stable/plasma/${version}/libkscreen-${version}.tar.xz") +depends=(qt5-x11extras kwayland kconfig) +makedepends=(extra-cmake-modules doxygen qt5-tools plasma-wayland-protocols) +md5sums=('5be369e023867db462926ea20dc47d94') +group=(kde.plasma) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/sys/boot/plymouth/plymouth.initcpio_hook b/sys/boot/plymouth/plymouth.initcpio_hook new file mode 100644 index 00000000..bdb9b6e7 --- /dev/null +++ b/sys/boot/plymouth/plymouth.initcpio_hook @@ -0,0 +1,16 @@ +#!/usr/bin/ash + +run_hook() { + mkdir -m755 -p /dev/pts + mount -t devpts devpts /dev/pts -o nosuid,noexec,gid=5,mode=620 + plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session + plymouth show-splash +} + +run_latehook(){ + plymouth update-root-fs --new-root-dir=/new_root +} + +run_emergencyhook(){ + plymouth --wait quit +} diff --git a/sys/boot/plymouth/plymouth.install b/sys/boot/plymouth/plymouth.install new file mode 100644 index 00000000..560ee371 --- /dev/null +++ b/sys/boot/plymouth/plymouth.install @@ -0,0 +1,6 @@ +post_upgrade() { + # Show warning for users of the old package from AUR + if (( $(vercmp $2 '22.02.122-5') < 0 )); then + echo "WARNING: The 'plymouth-encrypt' and 'sd-plymouth' hooks are no longer exist in the package. You should replace them with 'encrypt' and 'plymouth' hooks in your 'mkinitcpio.conf'. The 'lxdm-plymouth.service', 'lightdm-plymouth.service' and 'sddm-plymouth.service' systemd service files are no longer exist in the package. You should enable 'lxdm.service', 'lightdm.service' or 'sddm.service' instead." + fi +} diff --git a/sys/boot/plymouth/ympbuild b/sys/boot/plymouth/ympbuild new file mode 100644 index 00000000..11b81234 --- /dev/null +++ b/sys/boot/plymouth/ympbuild @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +name='plymouth' +release='1' +version='22.02.122' +url='https://www.freedesktop.org/wiki/Software/Plymouth/' +description='Graphical boot splash screen' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://gitlab.freedesktop.org/plymouth/plymouth/-/archive/${version}/plymouth-${version}.tar.gz" +"plymouth.initcpio_hook" +"plymouth.initcpio_install" +) +#source=("https://www.freedesktop.org/software/plymouth/releases/plymouth-${version}.tar.xz") +depends=(cairo cantarell-fonts libdrm libpng pango) +makedepends=(gtk3 docbook-xsl) +md5sums=('a468a1178eacdd2f83818b5c3e113b73' 'SKIP' 'SKIP') +group=(sys.boot) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --with-system-root-install \ + --disable-systemd-integration +} + +build () { + make $jobs +} + +package () { + make DESTDIR="$DESTDIR" install $jobs + + rm -f "$DESTDIR"/usr/lib/plymouth/*.la + + # Install mkinitcpio hook + install -Dm644 ../plymouth.initcpio_hook "$DESTDIR/usr/lib/initcpio/hooks/$name" + install -Dm644 ../plymouth.initcpio_install "$DESTDIR/usr/lib/initcpio/install/$name" + + rm -f $DESTDIR/usr/share/plymouth/themes/spinfinity/header-image.png + #ln -s ../../plymouth/bizcom.png $DESTDIR/usr/share/plymouth/themes/spinfinity/header-image.png +} +