New package: dde-qt-dbus-factory-1.0.2
This commit is contained in:
parent
80be258b1c
commit
208fb8568f
|
@ -3389,3 +3389,9 @@ libw2xc.so waifu2x-converter-cpp-5.2_1
|
|||
libnova-0.15.so.0 libnova-0.15.0_1
|
||||
libgsettings-qt.so.1 gsettings-qt-0.1.20160329_1
|
||||
libdtkcore.so.2 dtkcore-2.0.6_1
|
||||
libdtksettings.so.1 dtksettings-0.1.7_1
|
||||
libdtksettingsview.so.1 dtksettings-0.1.7_1
|
||||
libdframeworkdbus.so.2 dde-qt-dbus-factory-1.0.1_1
|
||||
libdtkwidget.so.2 dtkwidget-2.0.6.1_1
|
||||
libcue.so.2 libcue-2.2.0_1
|
||||
libdtkwm.so.2 dtkwm-2.0.6_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
dde-qt-dbus-factory
|
|
@ -0,0 +1,36 @@
|
|||
# Template file for 'dde-qt-dbus-factory'
|
||||
pkgname=dde-qt-dbus-factory
|
||||
version=1.0.2
|
||||
revision=1
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake python"
|
||||
makedepends="qt5-devel"
|
||||
short_desc="Auto-generated Qt5 D-Bus code used by DDE"
|
||||
maintainer="John <johnz@posteo.net>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/linuxdeepin/dde-qt-dbus-factory"
|
||||
changelog="https://github.com/linuxdeepin/dde-qt-dbus-factory/blob/${version}/CHANGELOG.md"
|
||||
distfiles="https://github.com/linuxdeepin/dde-qt-dbus-factory/archive/${version}.tar.gz"
|
||||
checksum=f8df3040f366fac105d1affaa1af5db8c38b2db4e3b089b8b403e622cf62125c
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-devel dde-qt-dbus-factory-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i -e 's/os.path.join(project_root, "bin", "qdbusxml2cpp-fix")/os.path.join("\/usr", "bin", "qdbusxml2cpp-fix")/' libdframeworkdbus/generate_code.py
|
||||
fi
|
||||
}
|
||||
|
||||
dde-qt-dbus-factory-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vbin bin/qdbusxml2cpp-fix
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue