summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 21:38:18 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-07 21:38:18 +0800
commit31aafe1e75404ec6675d016abcc77a3895f84d62 (patch)
tree267e2eb642bbe808c215144f1d5e3321e14a51ad
parentc17aa0224137b3b180bbe21faa4f6d4a11854f1e (diff)
downloadmarcuscom-ports-31aafe1e75404ec6675d016abcc77a3895f84d62.tar.gz
marcuscom-ports-31aafe1e75404ec6675d016abcc77a3895f84d62.tar.zst
marcuscom-ports-31aafe1e75404ec6675d016abcc77a3895f84d62.zip
Ok this works now, seems just driver error.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18522 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--ports-mgmt/packagekit-qt4/Makefile9
-rw-r--r--ports-mgmt/packagekit-qt4/files/patch-src_CMakeLists.txt11
-rw-r--r--ports-mgmt/packagekit-qt4/pkg-plist32
3 files changed, 22 insertions, 30 deletions
diff --git a/ports-mgmt/packagekit-qt4/Makefile b/ports-mgmt/packagekit-qt4/Makefile
index d874c7286..5064f6d7a 100644
--- a/ports-mgmt/packagekit-qt4/Makefile
+++ b/ports-mgmt/packagekit-qt4/Makefile
@@ -11,14 +11,13 @@ DISTNAME= PackageKit-Qt-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Qt4 bindings to packagekit
-BROKEN= doesn't install anything
-
BUILD_DEPENDS= PackageKit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
-# this may need lib_DEPENDS can't check currently
+RUN_DEPENDS= PackageKit>=0.8.8:${PORTSDIR}/ports-mgmt/packagekit
USE_XZ= yes
USE_LDCONFIG= yes
-USES= cmake:outsource
-USE_QT4= dbus sql qmake_build moc_build uic_build rcc_build
+USES= cmake:outsource pkgconfig
+USE_GNOME= glib20
+USE_QT4= dbus xml sql qmake_build moc_build uic_build rcc_build
.include <bsd.port.mk>
diff --git a/ports-mgmt/packagekit-qt4/files/patch-src_CMakeLists.txt b/ports-mgmt/packagekit-qt4/files/patch-src_CMakeLists.txt
new file mode 100644
index 000000000..a75bf400c
--- /dev/null
+++ b/ports-mgmt/packagekit-qt4/files/patch-src_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/CMakeLists.txt.orig 2013-06-07 12:55:10.000000000 +0000
++++ src/CMakeLists.txt 2013-06-07 12:56:34.000000000 +0000
+@@ -68,7 +68,7 @@
+
+ install(TARGETS packagekit-qt2 DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/packagekit-qt2.pc
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
++ DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig
+ )
+ install(FILES ${packagekitqt_HEADERS}
+ DESTINATION include/PackageKit/packagekit-qt2
diff --git a/ports-mgmt/packagekit-qt4/pkg-plist b/ports-mgmt/packagekit-qt4/pkg-plist
index 42389b6c5..15f37ec18 100644
--- a/ports-mgmt/packagekit-qt4/pkg-plist
+++ b/ports-mgmt/packagekit-qt4/pkg-plist
@@ -1,33 +1,15 @@
-include/PackageKit/packagekit-qt/QPackageKit
-include/PackageKit/packagekit-qt/bitfield.h
-include/PackageKit/packagekit-qt/client.h
-include/PackageKit/packagekit-qt/enum.h
-include/PackageKit/packagekit-qt/package.h
-include/PackageKit/packagekit-qt/transaction.h
include/PackageKit/packagekit-qt2/Daemon
-include/PackageKit/packagekit-qt2/Eula
-include/PackageKit/packagekit-qt2/Package
-include/PackageKit/packagekit-qt2/Signature
include/PackageKit/packagekit-qt2/Transaction
include/PackageKit/packagekit-qt2/bitfield.h
+include/PackageKit/packagekit-qt2/common.h
include/PackageKit/packagekit-qt2/daemon.h
-include/PackageKit/packagekit-qt2/eula.h
-include/PackageKit/packagekit-qt2/package.h
-include/PackageKit/packagekit-qt2/signature.h
include/PackageKit/packagekit-qt2/transaction.h
-lib/libpackagekit-qt.a
-lib/libpackagekit-qt.la
-lib/libpackagekit-qt.so
-lib/libpackagekit-qt.so.14
-lib/libpackagekit-qt2.a
-lib/libpackagekit-qt2.la
lib/libpackagekit-qt2.so
-lib/libpackagekit-qt2.so.2
-libdata/pkgconfig/packagekit-qt.pc
+lib/libpackagekit-qt2.so.0.8.8
+lib/libpackagekit-qt2.so.6
libdata/pkgconfig/packagekit-qt2.pc
-share/cmake/Modules/FindQPackageKit.cmake
-share/cmake/Modules/FindPackageKitQt2.cmake
-@dirrmtry share/cmake/Modules
-@dirrmtry share/cmake
+lib/cmake/packagekit-qt2/packagekit-qt2-config-version.cmake
+lib/cmake/packagekit-qt2/packagekit-qt2-config.cmake
+@dirrmtry lib/cmake/packagekit-qt2
+@dirrmtry lib/cmake
@dirrm include/PackageKit/packagekit-qt2
-@dirrm include/PackageKit/packagekit-qt