From f4b08bf6d8a20d906e6046d6d88978686977459e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 13 May 2024 10:16:36 +0700 Subject: [PATCH] New package: mimetreeparser-24.02.2 --- common/shlibs | 2 ++ srcpkgs/mimetreeparser-devel | 1 + srcpkgs/mimetreeparser/template | 30 ++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/mimetreeparser-devel create mode 100644 srcpkgs/mimetreeparser/template diff --git a/common/shlibs b/common/shlibs index 52181c09554..a433865e964 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4433,3 +4433,5 @@ libmsgraph-0.so.1 msgraph-0.2.1_1 libgtk-session-lock.so.0 gtk-session-lock-0.2.0_1 libcamera.so.0.2 libcamera-0.2.0_1 libcamera-base.so.0.2 libcamera-0.2.0_1 +libKPim6MimeTreeParserCore.so.6 mimetreeparser-24.02.0_1 +libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1 diff --git a/srcpkgs/mimetreeparser-devel b/srcpkgs/mimetreeparser-devel new file mode 120000 index 00000000000..e06f1f4203c --- /dev/null +++ b/srcpkgs/mimetreeparser-devel @@ -0,0 +1 @@ +mimetreeparser \ No newline at end of file diff --git a/srcpkgs/mimetreeparser/template b/srcpkgs/mimetreeparser/template new file mode 100644 index 00000000000..6d5208ba0db --- /dev/null +++ b/srcpkgs/mimetreeparser/template @@ -0,0 +1,30 @@ +# Template file for 'mimetreeparser' +pkgname=mimetreeparser +version=24.02.2 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake + -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins + -DKDE_INSTALL_QMLDIR=lib/qt6/qml + -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules" +hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext + qt6-declarative-host-tools" +makedepends="kf6-kcalendarcore-devel kf6-kcodecs-devel kf6-ki18n-devel + kf6-kwidgetsaddons-devel kmbox-devel kmime6-devel libkleo-devel + qt6-qt5compat-devel qt6-base-devel qt6-declarative-devel qt6-tools-devel" +short_desc="Parser for MIME trees" +maintainer="Luciogi " +license="GPL-3.0-or-later" +homepage="https://invent.kde.org/pim/mimetreeparser" +distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" +checksum=1ba88ad1ff444a32c2e9195c1c917c1d516a8b9e032e49b7e81021b3841d3ded + +mimetreeparser-devel_package() { + depends="${makepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/qt6/mkspecs + vmove "usr/lib/*.so" + } +}