diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/qtemu |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/qtemu')
-rw-r--r-- | app-emulation/qtemu/Manifest | 6 | ||||
-rw-r--r-- | app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch | 63 | ||||
-rw-r--r-- | app-emulation/qtemu/metadata.xml | 8 | ||||
-rw-r--r-- | app-emulation/qtemu/qtemu-1.0.5.ebuild | 31 |
4 files changed, 108 insertions, 0 deletions
diff --git a/app-emulation/qtemu/Manifest b/app-emulation/qtemu/Manifest new file mode 100644 index 000000000000..d8e196b47cf5 --- /dev/null +++ b/app-emulation/qtemu/Manifest @@ -0,0 +1,6 @@ +AUX 1.0.5-help_and_translation_paths.patch 2730 SHA256 ac25bfb7e2eaa0ff4bccdc2d21ad14f73c1e246fb069ef5b4dcca2d20270abf7 SHA512 f9e83597f05717196b1fa3eedd951aaa12e69cf5a66b296481463a96877e556f61fcab247e2cf3e476aec96e6dcfb70f3968b4458e95b288985f68f3d85a8aaa WHIRLPOOL 93958103ccb092fbaa17feba928dbcbc7c71720c38410f80b16d4c39157b10c8b367b9defe38357e5b5870545cd436177d467e24c11468d1bdbbc69a600e0271 +DIST qtemu-1.0.5.tar.bz2 555872 SHA256 752942fae239996c826580fd0b32986cf96a92a0982710f726947ddf791dc921 SHA512 c8380acea500453053d8d2a9cc3eecb51c766d5743a22a7fbe13d3bd5d543ab63ab715ac2ffbd2389f24c699ea81ca3e0584c7578a9799300cef514886d1cee8 WHIRLPOOL 7ca11b4da2961385511b830e397bc63a1a648bc5fe37c4eca1d658623a15ad6a5346ae06ce39ed168421cdcdbe12de32019fbd7c1e9a8afc9ff0509199d57fa5 +EBUILD qtemu-1.0.5.ebuild 697 SHA256 83d85de58276662b88d0ef0a943fa3708ea09b0ff6894af7f7fb0b46a3562d08 SHA512 a523434e18e5e8a483a6544d50d8090c4a71607ded0ebd30d8c976e87d9c83a0d939d4676b3ed7a30aa6b3df0fba247df8125a316ca2e406d40348a85c842c4e WHIRLPOOL 2d2a6270786737bb1f7edf6669d74fcf8a98d8bf9976a575d35eab368b2261ba68f1114a260eebe3bc626cf2f05576ed3b2bfb865104b8e068c55fbe7fb83e7f +MISC ChangeLog 2570 SHA256 c13f3981aacf4c9ebf7fdeaf6e4c3bbb9bd45606c939adedd05a5ef7ddd328e4 SHA512 13577ee893ee5b91f5e257ed2933216a3d00ef1fd7a2f03390481ba83080d46c98b3967402724868aa9c18628619b54a164d929ef1a5a40a6a9a2448fbf36653 WHIRLPOOL e796940dd04d47e50584e19e1346f6ff3adfede2e3cd65bdc2f8d99a22cdb6223915dbd98f3428737b76119e97e20b686b4925265f388cf2bf55c60d3a3045ae +MISC ChangeLog-2015 1680 SHA256 266bdfca9cd72e5932187125be2de4f02098ca80c3d502981073c48fb5e88833 SHA512 264064b4bbd473d105d1fb144007270cdf51abdf381073124f0bcb9fbf5c6fb9ea48de98e3e99eb5e5f15c4b83cf2f6e213eac293a26006b8f61c3e4bb9613ce WHIRLPOOL 4802b1ecb6696b2935e19cfc10c48b64207b56ac5f01ae3b9aee4953ed831c4f39e9d69dfde3c30e0b8df70f4deb488a573132e0b6626355376eb1b171c24e46 +MISC metadata.xml 242 SHA256 4e59cb57c02f9faf5e7824d5c812cf425c56e2ad518c28af5035741baf1d6878 SHA512 fc51131611752aad3076c1c9708e486471670e5c726f341f8f9c13b001282fb5972305accddeba1a7b3affbab60a8b91f0f7320a85dcfc9631f8c81140ab186b WHIRLPOOL 0bce8d0ad4e4d4eb535c72b2387cdc154e7d0f2af4318291bca9ce0f1decbdf42100852a8726c3d83e3260f70992bd4e0cc9c783fea529e6434b85d84e99c6ca diff --git a/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch b/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch new file mode 100644 index 000000000000..8fc1680aacb0 --- /dev/null +++ b/app-emulation/qtemu/files/1.0.5-help_and_translation_paths.patch @@ -0,0 +1,63 @@ +diff -Naur qtemu-1.0.5.orig/CMakeLists.txt qtemu-1.0.5/CMakeLists.txt +--- qtemu-1.0.5.orig/CMakeLists.txt 2008-02-22 19:32:43.000000000 +0100 ++++ qtemu-1.0.5/CMakeLists.txt 2008-02-22 19:35:29.000000000 +0100 +@@ -114,7 +114,7 @@ + DEPENDS ${QM_FILES}) + + INSTALL (FILES ${QM_FILES} +- DESTINATION translations) ++ DESTINATION share/qtemu/translations) + # translation end + + SET(QT_USE_QTXML) +@@ -146,13 +146,13 @@ + ) + + FILE(GLOB helpfiles "${CMAKE_CURRENT_SOURCE_DIR}/help/*.png") +-INSTALL(FILES ${helpfiles} DESTINATION help) ++INSTALL(FILES ${helpfiles} DESTINATION share/qtemu/help) + +-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION help) ++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/main.htm DESTINATION share/qtemu/help) + + FILE(GLOB helpfiles_de "${CMAKE_CURRENT_SOURCE_DIR}/help/de/*.png") +-INSTALL(FILES ${helpfiles_de} DESTINATION help/de) ++INSTALL(FILES ${helpfiles_de} DESTINATION share/qtemu/help/de) + +-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION help/de) ++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/help/de/main.htm DESTINATION share/qtemu/help/de) + + INSTALL(TARGETS qtemu DESTINATION bin) +diff -Naur qtemu-1.0.5.orig/helpwindow.cpp qtemu-1.0.5/helpwindow.cpp +--- qtemu-1.0.5.orig/helpwindow.cpp 2008-02-22 19:32:44.000000000 +0100 ++++ qtemu-1.0.5/helpwindow.cpp 2008-02-22 19:33:26.000000000 +0100 +@@ -80,7 +80,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/" + locale + "/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/qtemu/help/" + locale + "/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + } +@@ -96,7 +96,7 @@ + return testUrl; + + //check for case when qtemu executable is in bin/ (installed on linux) +- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/main.htm"); ++ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/qtemu/help/main.htm"); + if (QFile::exists(testUrl.toString())) + return testUrl; + +diff -Naur qtemu-1.0.5.orig/main.cpp qtemu-1.0.5/main.cpp +--- qtemu-1.0.5.orig/main.cpp 2008-02-22 19:32:43.000000000 +0100 ++++ qtemu-1.0.5/main.cpp 2008-02-22 19:36:32.000000000 +0100 +@@ -45,7 +45,7 @@ + translator.load(path); + else + { +- path = QCoreApplication::applicationDirPath()+"/../translations/qtemu_" + locale + ".qm"; ++ path = QCoreApplication::applicationDirPath()+"/../share/qtemu/translations/qtemu_" + locale + ".qm"; + if (QFile::exists(path)) + translator.load(path); + } diff --git a/app-emulation/qtemu/metadata.xml b/app-emulation/qtemu/metadata.xml new file mode 100644 index 000000000000..e2c549e0585f --- /dev/null +++ b/app-emulation/qtemu/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">qtemu</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emulation/qtemu/qtemu-1.0.5.ebuild b/app-emulation/qtemu/qtemu-1.0.5.ebuild new file mode 100644 index 000000000000..41282431fae0 --- /dev/null +++ b/app-emulation/qtemu/qtemu-1.0.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils cmake-utils + +DESCRIPTION="A graphical user interface for QEMU written in Qt4" +HOMEPAGE="http://qtemu.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1 CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND} + app-emulation/qemu" + +DOCS=( ChangeLog README ) +PATCHES=( + "${FILESDIR}/${PV}-help_and_translation_paths.patch" +) + +src_install() { + cmake-utils_src_install + doicon "${S}/images/${PN}.ico" + make_desktop_entry "qtemu" "QtEmu" "${PN}.ico" "Qt;Utility;Emulator" +} |