From 050d4cca21e09957eeabcf850225bc9e36f71544 Mon Sep 17 00:00:00 2001 From: toadwastoast Date: Wed, 18 Sep 2024 23:33:43 -0300 Subject: [PATCH 1/2] New package: haruna-1.2.0 --- srcpkgs/haruna/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/haruna/template diff --git a/srcpkgs/haruna/template b/srcpkgs/haruna/template new file mode 100644 index 00000000000000..acbfe25c050714 --- /dev/null +++ b/srcpkgs/haruna/template @@ -0,0 +1,19 @@ +# Template file for 'haruna' +pkgname=haruna +version=1.2.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF -DKDE_INSTALL_QMLDIR=lib/qt6/qml" +hostmakedepends="extra-cmake-modules qt6-base qt6-declarative + kf6-kcoreaddons kf6-kconfig pkg-config gettext mpvqt" +makedepends="mpv-devel mpvqt-devel ffmpeg6-devel qt6-base-devel + qt6-declarative-devel kf6-qqc2-desktop-style-devel kf6-kconfig-devel + kf6-kcoreaddons-devel kf6-kfilemetadata-devel kf6-ki18n-devel + kf6-kio-devel kf6-kirigami-devel gettext-devel" +depends="breeze-qt6 kf6-sonnet kf6-qqc2-desktop-style yt-dlp" +short_desc="Open source media player built with Qt/QML and libmpv" +maintainer="toadwastoast " +license="GPL-3.0-or-later" +homepage="https://apps.kde.org/haruna/" +distfiles="${KDE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz" +checksum=4a9fd360d66e00d0f8d7a11e73dd9bfc55e486c0135e8d133de8abeb2ca09d88 From 0a817e283dfdbd8eb060d82b6956eabb666c03f6 Mon Sep 17 00:00:00 2001 From: toadwastoast Date: Wed, 18 Sep 2024 23:46:48 -0300 Subject: [PATCH 2/2] New package: mpvqt-1.0.1 --- common/shlibs | 1 + srcpkgs/mpvqt-devel | 1 + srcpkgs/mpvqt/template | 24 ++++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 120000 srcpkgs/mpvqt-devel create mode 100644 srcpkgs/mpvqt/template diff --git a/common/shlibs b/common/shlibs index 1e27ac5df0d58c..91e65010d32f58 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4528,3 +4528,4 @@ libhwy.so.1 highway-1.2.0_1 libscenefx.so.1 scenefx-0.1_1 libnng.so.1 nng-1.5.2_1 libsentry.so sentry-native-0.7.7_1 +libMpvQt.so.1 mpvqt-1.0.1_1 diff --git a/srcpkgs/mpvqt-devel b/srcpkgs/mpvqt-devel new file mode 120000 index 00000000000000..d4c21961ab1d5d --- /dev/null +++ b/srcpkgs/mpvqt-devel @@ -0,0 +1 @@ +mpvqt \ No newline at end of file diff --git a/srcpkgs/mpvqt/template b/srcpkgs/mpvqt/template new file mode 100644 index 00000000000000..ac529bc8a9433e --- /dev/null +++ b/srcpkgs/mpvqt/template @@ -0,0 +1,24 @@ +# Template file for 'mpvqt' +pkgname=mpvqt +version=1.0.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-declarative" +makedepends="mpv-devel libglvnd-devel qt6-base-devel qt6-declarative-devel" +short_desc="Libmpv wrapper for Qt Quick2/Qml" +maintainer="toadwastoast " +license="LGPL-2.1-only, LGPL-3.0-only" +homepage="https://invent.kde.org/libraries/mpvqt" +distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=9f37b85f319c27f6244743c4259402b0aa2474ed851f0d833d9bd2a0731c178c + +mpvqt-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/lib/cmake + vmove usr/include + vmove "usr/lib/*.so" + } +}