qtcurve-kde3 stable port information

Package: qtcurve-kde3
Version: 0.59.5
Revision: 1
Description: Unified widget style (KDE 3 version)
License: GPL
Maintainer: Benjamin Reed

Depends: kdelibs3-unified-shlibs (>= %v-1)
BuildDepends: <<
arts-dev (>= 1.5.9-1),
cmake (>= 2.6.2-1),
expat1,
fink (>= 0.28.0-1),
freetype219 (>= 2.3.7-7),
kdelibs3-unified-dev (>= 3.5.3-1),
libart2 (>= 2.3.19-1),
libiconv-dev,
libidn,
libpng3 (>= 1.2.5-4),
pcre,
pkgconfig (>= 0.22-3),
qt3 (>= 3.3.5-3),
x11-dev
<<
Recommends: kdebase3-ssl (>= %v-1) | kdebase3 (>= %v-1)
GCC: 4.0

Source: http://home.freeuk.com/cpdrummond/QtCurve-KDE3-%v.tar.bz2
Source-MD5: e6e721a38650c4c453c686c5d871862d
PatchFile: %n.patch
PatchFile-MD5: cb6b94aed5de064467fb18c2eaceeb12

CompileScript: <<
#!/bin/sh -ev

mkdir build
pushd build
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:%p/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
cmake -DCMAKE_INSTALL_PREFIX="%p" ..
make
popd
<<

InstallScript: cd build; make -j1 install DESTDIR="%d"
DocFiles: COPYING ChangeLog README TODO

PostInstScript: <<
env KDEDIR= KDEDIRS= HOME=/tmp XDG_CACHE_HOME=/tmp/kb/cache XDG_CONFIG_HOME=/tmp/kb/config \
XDG_DATA_HOME=/tmp/kb/share HISTFILE=/tmp/kb/.bash_history USER=root LOGNAME=root \
%p/bin/kbuildsycoca --global --noincremental --nosignal >/dev/null 2>&1 || :
<<

DescDetail: <<
This is a set of widget styles for KDE, GTK1, and GTK2 based apps.
The underlying code is based upon Blue/FreeCurve - however,
*extensive* modifications have been made.

This package contains the Qt3/KDE3 version.
<<
DescUsage: <<
To enable this style in KDE, start KControl (Control Center),
go to the Look'N'Feel section, enter the Style sub-section,
and choose "QtCurve".
<<

qtcurve-kde3 stable port .patch

diff -Nurd QtCurve-KDE3-0.59.5/config/CMakeLists.txt QtCurve-KDE3-0.59.5-new/config/CMakeLists.txt
--- QtCurve-KDE3-0.59.5/config/CMakeLists.txt 2008-07-30 15:18:18.000000000 -0400
+++ QtCurve-KDE3-0.59.5-new/config/CMakeLists.txt 2008-10-24 10:19:17.000000000 -0400
@@ -3,5 +3,5 @@
kde3_add_ui_files(kstyle_qtcurve_config_PART_SRCS qtcurveconfigbase.ui)
kde3_add_kpart(kstyle_qtcurve_config ${kstyle_qtcurve_config_PART_SRCS})
kde3_automoc(${kstyle_qtcurve_config_PART_SRCS})
-target_link_libraries(kstyle_qtcurve_config ${KDE3_KDEUI_LIBS} ${KDE3_KIO_LIBS} ${KDE3_KDECORE_LIBS} ${QT_QTGUI_LIBRARY})
+target_link_libraries(kstyle_qtcurve_config kdeui kio ${KDE3_KDECORE_LIBRARY} ${QT_QT_LIBRARY})
install(TARGETS kstyle_qtcurve_config DESTINATION ${KDE3_LIB_DIR}/kde3)
diff -Nurd QtCurve-KDE3-0.59.5/style/CMakeLists.txt QtCurve-KDE3-0.59.5-new/style/CMakeLists.txt
--- QtCurve-KDE3-0.59.5/style/CMakeLists.txt 2008-07-30 15:18:18.000000000 -0400
+++ QtCurve-KDE3-0.59.5-new/style/CMakeLists.txt 2008-10-24 10:18:34.000000000 -0400
@@ -5,6 +5,6 @@
kde3_automoc(${qtcurve_SRCS})
add_library(qtcurve SHARED ${qtcurve_SRCS})
set_target_properties(qtcurve PROPERTIES PREFIX "")
-target_link_libraries(qtcurve ${QT_QTGUI_LIBRARY} kdefx)
+target_link_libraries(qtcurve ${QT_QT_LIBRARY} ${X11_X11_LIB} kdefx)
install(TARGETS qtcurve LIBRARY DESTINATION ${KDE3_LIB_DIR}/kde3/plugins/styles)
install(FILES qtcurve.themerc DESTINATION ${KDE3PREFIX}/share/apps/kstyle/themes)

qtcurve-kde3 _unstable_ port .patch