adwaita-qt 0.4
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 3 Aug 2016 15:42:55 +0000 (10:42 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 3 Aug 2016 15:42:55 +0000 (10:42 -0500)
adwaita-qt.cygport [new file with mode: 0644]

diff --git a/adwaita-qt.cygport b/adwaita-qt.cygport
new file mode 100644 (file)
index 0000000..9054add
--- /dev/null
@@ -0,0 +1,37 @@
+inherit qt4-cmake qt5
+
+NAME="adwaita-qt"
+VERSION=0.4
+RELEASE=1
+CATEGORY="X11"
+SUMMARY="Adwaita theme for Qt"
+DESCRIPTION="A native style to bend Qt4 and Qt5 applications to look like they
+belong into the GNOME desktop."
+HOMEPAGE="https://github.com/MartinBriza/adwaita-qt"
+SRC_URI="${HOMEPAGE}/archive/${VERSION}/adwaita-qt-${VERSION}.tar.gz"
+
+PKG_NAMES="${NAME}4 ${NAME}5 ${NAME}-common"
+
+adwaita_qt4_REQUIRES="${NAME}-common adwaita-icon-theme cantarell-fonts"
+adwaita_qt4_SUMMARY="${SUMMARY}4"
+adwaita_qt4_CONTENTS="${QT4_PLUGINSDIR#/}/styles/adwaita.dll"
+adwaita_qt5_REQUIRES="${NAME}-common adwaita-icon-theme cantarell-fonts"
+adwaita_qt5_SUMMARY="${SUMMARY}5"
+adwaita_qt5_CONTENTS="${QT5_PLUGINSDIR#/}/styles/adwaita.dll"
+adwaita_qt_common_CONTENTS="usr/share/doc/adwaita-qt/ usr/share/themes/Adwaita/qt/"
+
+src_compile() {
+       mkdir -p ${B}/qt{4,5}
+       cd ${B}/qt4
+       qt4_cmake_compile -DUSE_QT4=ON
+       cd ${B}/qt5
+       cygcmake
+       cygmake
+}
+
+src_install() {
+       cd ${B}/qt4
+       cyginstall
+       cd ${B}/qt5
+       cyginstall
+}
This page took 0.020996 seconds and 5 git commands to generate.