aboutsummaryrefslogtreecommitdiff
path: root/emulators/q4wine
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-11-26 22:32:54 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-11-26 22:32:54 +0000
commitd959829a2579336e87642c342e4a3a24125d76bf (patch)
treefc2a43dc2acaac9da1dd008a3911af3024e45ada /emulators/q4wine
parentc65c74a5b56a8eaf4842fb68074c57e1109d818e (diff)
downloadports-d959829a2579336e87642c342e4a3a24125d76bf.tar.gz
ports-d959829a2579336e87642c342e4a3a24125d76bf.zip
Notes
Diffstat (limited to 'emulators/q4wine')
-rw-r--r--emulators/q4wine/Makefile67
-rw-r--r--emulators/q4wine/distinfo2
-rw-r--r--emulators/q4wine/files/patch-src__q4wine-gui__process.h10
-rw-r--r--emulators/q4wine/pkg-descr16
-rw-r--r--emulators/q4wine/pkg-message31
-rw-r--r--emulators/q4wine/pkg-plist71
6 files changed, 197 insertions, 0 deletions
diff --git a/emulators/q4wine/Makefile b/emulators/q4wine/Makefile
new file mode 100644
index 000000000000..598dea47eb18
--- /dev/null
+++ b/emulators/q4wine/Makefile
@@ -0,0 +1,67 @@
+# Created by: Sergey V. Dyatko <sergey.dyatko@gmail.com>
+# $FreeBSD$
+
+PORTNAME= q4wine
+PORTVERSION= 1.1
+CATEGORIES= emulators deskutils
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20$${PORTVERSION:S/r/-r/}/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-r/}
+
+MAINTAINER= nemysis@FreeBSD.org
+COMMENT= QT4 front-end for WINE
+
+LICENSE= GPLv3
+
+BUILD_DEPENDS= icotool:${PORTSDIR}/graphics/icoutils
+RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo \
+ wget:${PORTSDIR}/ftp/wget \
+ cabextract:${PORTSDIR}/archivers/cabextract \
+ icotool:${PORTSDIR}/graphics/icoutils
+
+USES= cmake desktop-file-utils
+CMAKE_ARGS+= -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man
+USE_LDCONFIG= yes
+INSTALLS_ICONS= yes
+USE_QT4= qmake_build rcc_build moc_build uic_build \
+ linguist_build corelib gui sql network
+ONLY_FOR_ARCHS= i386 amd64
+
+PORTDOCS= AUTHORS ChangeLog README TODO
+
+OPTIONS_DEFINE= DOCS NLS DBUS
+OPTIONS_DEFAULT= DBUS
+
+OPTIONS_SUB= yes
+
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
+
+DBUS_CMAKE_ON= -DWITH_DBUS:BOOL=ON
+DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == "i386"
+RUN_DEPENDS+= wine:${PORTSDIR}/emulators/wine-devel
+.endif
+
+.if ${PORT_OPTIONS:MDBUS}
+USE_QT4+= dbus
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/share/man|/man|' \
+ ${WRKSRC}/src/CMakeLists.txt
+ @${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Qt;System;Emulator;Utility;Game;|' \
+ ${WRKSRC}/${PORTNAME}.desktop
+
+.if ! ${PORT_OPTIONS:MNLS}
+ @${REINPLACE_CMD} -e 's|install(FILES|#install(FILES|' \
+ ${WRKSRC}/src/i18n/CMakeLists.txt
+.endif
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/emulators/q4wine/distinfo b/emulators/q4wine/distinfo
new file mode 100644
index 000000000000..9f122f733482
--- /dev/null
+++ b/emulators/q4wine/distinfo
@@ -0,0 +1,2 @@
+SHA256 (q4wine-1.1.tar.gz) = 2a08d9283ba861bb53e5ad3bfb1fc9d052af77006b89512fc04bdfe42c2eb210
+SIZE (q4wine-1.1.tar.gz) = 1113549
diff --git a/emulators/q4wine/files/patch-src__q4wine-gui__process.h b/emulators/q4wine/files/patch-src__q4wine-gui__process.h
new file mode 100644
index 000000000000..1ac0566742e8
--- /dev/null
+++ b/emulators/q4wine/files/patch-src__q4wine-gui__process.h
@@ -0,0 +1,10 @@
+--- ./src/q4wine-gui/process.h.orig 2013-11-10 13:35:22.000000000 +0100
++++ ./src/q4wine-gui/process.h 2013-11-14 00:37:10.000000000 +0100
+@@ -31,6 +31,7 @@
+ #include <QLibrary>
+ #include <QTextCodec>
+ #include <QTextStream>
++#include <locale.h>
+
+ #ifdef DEBUG
+ #include <QDebug>
diff --git a/emulators/q4wine/pkg-descr b/emulators/q4wine/pkg-descr
new file mode 100644
index 000000000000..235d5e71aecf
--- /dev/null
+++ b/emulators/q4wine/pkg-descr
@@ -0,0 +1,16 @@
+Q4wine is an Qt4 (http://www.qtsoftware.com/) GUI for wine (http://winehq.org/).
+It will help you to manage wine prefixes and installed applications.
+
+General features:
+ - Exports QT color theme into wine colors settings
+ - Works with different wine versions at same time
+ - Creates, deletes and manages prefixes (WINEPREFIX)
+ - Easy controlling wine process
+ - Autostart icons support
+ - Easy CD image usage
+ - Supports extraction of icons from PE files (.exe, .dll)
+ - Easy backup and restore for managed prefixes
+ - Winetricks support
+ - More
+
+WWW: http://q4wine.brezblock.org.ua/
diff --git a/emulators/q4wine/pkg-message b/emulators/q4wine/pkg-message
new file mode 100644
index 000000000000..c74bb837a121
--- /dev/null
+++ b/emulators/q4wine/pkg-message
@@ -0,0 +1,31 @@
+################################################################################
+
+Q4Wine has been installed.
+
+
+For more info about running wine on FreeBSD please see:
+
+http://wiki.freebsd.org/Wine
+
+
+FreeBSD/amd64 users:
+You need to manually install Wine 32bit binary from:
+
+https://wiki.freebsd.org/i386-Wine
+
+
+This program will attempt to obtain some system information by accessing files
+in procfs. You must mount procfs filesystem for this to work correctly.
+This can be accomplished by adding the following line to your /etc/fstab file:
+
+# Device Mountpoint FStype Options Dump Pass#
+proc /proc procfs rw 0 0
+
+and then, as root, executing the command:
+
+mount /proc
+
+Also you need passwordless sudo for mdconfig, mount_cd9660, umount commands for
+work with ISO images.
+
+################################################################################
diff --git a/emulators/q4wine/pkg-plist b/emulators/q4wine/pkg-plist
new file mode 100644
index 000000000000..49e98801157c
--- /dev/null
+++ b/emulators/q4wine/pkg-plist
@@ -0,0 +1,71 @@
+bin/q4wine
+bin/q4wine-cli
+bin/q4wine-helper
+lib/q4wine/libq4wine-core.so
+man/man1/q4wine-cli.1.gz
+man/man1/q4wine-helper.1.gz
+man/man1/q4wine.1.gz
+share/applications/q4wine.desktop
+share/icons/hicolor/128x128/apps/q4wine.png
+share/icons/hicolor/16x16/apps/q4wine.png
+share/icons/hicolor/192x192/apps/q4wine.png
+share/icons/hicolor/22x22/apps/q4wine.png
+share/icons/hicolor/256x256/apps/q4wine.png
+share/icons/hicolor/32x32/apps/q4wine.png
+share/icons/hicolor/48x48/apps/q4wine.png
+share/icons/hicolor/64x64/apps/q4wine.png
+share/icons/hicolor/96x96/apps/q4wine.png
+share/icons/hicolor/scalable/apps/q4wine.svg
+%%NLS%%%%DATADIR%%/i18n/q4wine_af_za.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_cs_cz.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_de_de.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_en_us.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_es_es.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_fa_ir.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_he_il.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_it_it.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_pl_pl.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_pt_br.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_ru_ru.qm
+%%NLS%%%%DATADIR%%/i18n/q4wine_uk_ua.qm
+%%DATADIR%%/icons/control.png
+%%DATADIR%%/icons/eject.png
+%%DATADIR%%/icons/exec_wine.png
+%%DATADIR%%/icons/explorer.png
+%%DATADIR%%/icons/iexplore.png
+%%DATADIR%%/icons/notepad.png
+%%DATADIR%%/icons/oleview.png
+%%DATADIR%%/icons/regedit.png
+%%DATADIR%%/icons/taskmgr.png
+%%DATADIR%%/icons/uninstaller.png
+%%DATADIR%%/icons/winecfg.png
+%%DATADIR%%/icons/wineconsole.png
+%%DATADIR%%/icons/winemine.png
+%%DATADIR%%/icons/wordpad.png
+%%DATADIR%%/scripts/mount_image.sh
+%%DATADIR%%/scripts/umount.sh
+%%DATADIR%%/theme/nuvola/data/configure.png
+%%DATADIR%%/theme/nuvola/data/down.png
+%%DATADIR%%/theme/nuvola/data/edit.png
+%%DATADIR%%/theme/nuvola/data/exec.png
+%%DATADIR%%/theme/nuvola/data/exec_wine.png
+%%DATADIR%%/theme/nuvola/data/exit.png
+%%DATADIR%%/theme/nuvola/data/folder.png
+%%DATADIR%%/theme/nuvola/data/folder_open.png
+%%DATADIR%%/theme/nuvola/data/kill.png
+%%DATADIR%%/theme/nuvola/data/power.png
+%%DATADIR%%/theme/nuvola/data/prefix.png
+%%DATADIR%%/theme/nuvola/data/rebuild.png
+%%DATADIR%%/theme/nuvola/data/reload.png
+%%DATADIR%%/theme/nuvola/data/stop.png
+%%DATADIR%%/theme/nuvola/data/up.png
+%%DATADIR%%/theme/nuvola/data/wine.png
+%%DATADIR%%/theme/nuvola/data/wizard.png
+@dirrm %%DATADIR%%/theme/nuvola/data
+@dirrm %%DATADIR%%/theme/nuvola
+@dirrm %%DATADIR%%/theme
+@dirrm %%DATADIR%%/scripts
+@dirrm %%DATADIR%%/icons
+%%NLS%%@dirrm %%DATADIR%%/i18n
+@dirrm %%DATADIR%%
+@dirrm lib/q4wine