summaryrefslogtreecommitdiff
path: root/sys-boot/unetbootin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-boot/unetbootin
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-boot/unetbootin')
-rw-r--r--sys-boot/unetbootin/Manifest11
-rw-r--r--sys-boot/unetbootin/files/unetbootin-581-desktop.patch24
-rw-r--r--sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch10
-rw-r--r--sys-boot/unetbootin/metadata.xml12
-rw-r--r--sys-boot/unetbootin/unetbootin-625.ebuild90
-rw-r--r--sys-boot/unetbootin/unetbootin-647.ebuild89
-rw-r--r--sys-boot/unetbootin/unetbootin-655.ebuild88
7 files changed, 324 insertions, 0 deletions
diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
new file mode 100644
index 000000000000..803f772c1776
--- /dev/null
+++ b/sys-boot/unetbootin/Manifest
@@ -0,0 +1,11 @@
+AUX unetbootin-581-desktop.patch 707 SHA256 f0baf1835aa8ae51d0c81a2a1a9bc9a6e77ee2f7b443931f525d9fff1bd56124 SHA512 036f887c7fb4209cd08710be88ef25671e8c1e481e3d82bc78cc1e3b1480224573cbbbf8c290846373937863400ee108b72521c1d6a9a883e01209c1da33cae2 WHIRLPOOL be30f248621adb6432c08821fbeb31d5605313a93ccfc397517e8a11c232c931a04affe2ed82aad6d8172a724ed8784465b99e0fdeb8b828b89a210511085070
+AUX unetbootin-647-frebootbutton.patch 301 SHA256 ac20c9974d8ba63855c6c6f8595ec37228986c08d4e8b6bcc08243236a676c69 SHA512 21a452adc3a4c157d99a785d65550e2dba4add3fe9ce8545d7e0588d1884d768a2557d5bedd025c592b5e6d40c038eaff64706ebf95e84df6c1c5355c06fcf0d WHIRLPOOL d5099df591ae9098bae4bafd4c661b032e5a2d90d7e1b1a909d6a2d607de10bf51beaa1f2ebe5d510f1c926783a06cb86b4cd36c0ded3680aa5319980a330df3
+DIST unetbootin-625.tar.gz 22671470 SHA256 1c63265cbbeccfb0c45978e5235a35fcdb6f40fdd6a8b438539c1785703d05a1 SHA512 0dc672097eb857f8516208f8cbe5a0ec3229aa5dbe56108f64c415d2d9d4679a41e3f8a4b7279c511197303a2e020c95293a305de4df2dc63dc4522b3d13259b WHIRLPOOL 2444d5ca7be19d1747de641e92bb4c255c0298faac9d446eadbb3ce0b28ed7a57822c83fdebce2aaeacefa3ca0718250ca967d12e2b4fb0e4135d88f042bc93c
+DIST unetbootin-647.tar.gz 16253287 SHA256 895e67366fa4b225037d7c74fc70f17932e4176fe0f784bdbb4062d5b838715f SHA512 487be195286dd1e7712afa86cb75f8a79a3acce77f5cbd2571ddad74533d84a90e17b96afecfd2c9831825975b6c562bfb218b583a042600c49a14179129e8bb WHIRLPOOL 72ab1d5598cdb4f1b456626d013bc27cd8871e301a8e36f5cfe01a3cadf6c94ccca37042641ae9fcb4a35287eed39f01a4f6e7ad115060efe279510eeaeafb41
+DIST unetbootin-655.tar.gz 16258032 SHA256 4b8b565933111c5ecea84b443b40e861f828ef10e5f6bb2342ea69b77703d705 SHA512 723b4c1499b5c9afd93e5ee3803c9ca18ee5ef5f7731797eedc194a2bbcc2c5be93cc6cb1059f8514f93a8c9e6d650aec40513f649b41382ae27c2f92389d709 WHIRLPOOL fa593fddc1407ae610cca0b76e2c723481a4c6bf8e5d2e85fc73ce431504cb151488bec41815eaddbd8eb90a3e50d604d483f86d12769bf36de646aa66c7b761
+EBUILD unetbootin-625.ebuild 1959 SHA256 10b5aa8cc535997358943a4dba656c61a4cb6846a966cdfec5676d952b5bf2e4 SHA512 afb27adbe35f5f0086dc7e36e51ea0ef1750d878fe34fce70feaa768ec78d28b1f40f0a2c2926977451869e9c8c60798d46402826252cd8a5edde87a2eba1be0 WHIRLPOOL a7fe684248245e05a877b168bd29e8b5ad9c5f91c0d2d0d1fb637ad52e4eb04456260db5cae8703e5cacf66c06840b96fa37758ff490eefbe1856d5f14a7f48b
+EBUILD unetbootin-647.ebuild 1885 SHA256 edf01efb0069829b71a3272d5cddd0a3366af82337359492cb91c54194afc56c SHA512 3468235ed6b64ec3075c771360b993669478844db1fec6184397b6adbf7f98b4933885de7ea370c02cf47c38dcb4250b0f99e1e619e34822ce21ddc32ac25b8f WHIRLPOOL 785a21e82564421ec6012213c90dff930f42e9eaaa40763997b639f402af2819da5c67e20af1d235a2ab46eb3d4cb8e759558b9d371d5dddb66cacd23c8e9da0
+EBUILD unetbootin-655.ebuild 1840 SHA256 c394d8e2f5f443271359fceec2574273a968fc124f8a6aae094554e3da75a06e SHA512 63377a246ad1e402bdee0b5f8e18a758263031edd241b0a71dbdf0c1676610acc012b823f6c588123d03caf77c6beb43ef955f342cf3d7fefe2ca2319423f278 WHIRLPOOL 94651045f2a0d86e93a39360755d09180a17a4d98338043e5ad8e86b2d0691a601b7a88b9a908d25c83b157685e60c3553c7ff335885adbcf8354bfb600cbe93
+MISC ChangeLog 3566 SHA256 8e5bf06a0e5afa92ad13d12d2d9c71532547759965426134d5748e62095b3056 SHA512 15c47f20a80ea5db6ffd59bcefbdf36f118b3cfec117c6a5f96141b7665d4bb0abd5fc681ec8f9e565569f62166f22057f7a396760cf526b92d94ec82d4a3d3a WHIRLPOOL 998da8ee021dfa24351d20112c08e34dfbcc4c02fc2a9341936a948195fab4fd3130e850e9e6d90939a57cd87566f19d989158801491f885cd5a2e6dd1a32cd8
+MISC ChangeLog-2015 13986 SHA256 12329fc1af8be2e6d566b47236b9076f5ee50046f8e8842debcc05f8f9f6011e SHA512 0934a896faae95865ec2723336de079ebd339f22c723ff26525a8a4b25fcb353d45b0b6cc22775af2d28916acfd1a14be9f43d1a331b8a3ad8dc28f63e2ae8d2 WHIRLPOOL de865f2c926e681d0f2d3124333bc736d1fb3c0b91d6ed4e4469440710a215eb6381cd43df33cae8eedddca366717202e502c57fe71dc4d17c5f63389db625ab
+MISC metadata.xml 385 SHA256 447ae7b425037b230a5c5e19e0487d1e6f19104e183f29df8a59f47583617b83 SHA512 9676e393ac2d18489433f0e658340a3eec0e01e0b35ca786540b07a6466f0b572f5d5bf115e6dc0b5c4898c00f630b9f5023f62f8e8f3a96c105bc74f918eb21 WHIRLPOOL cedbea9e98b3d83fadd5d045c0ab42432fe1d550334d36648bf4d0d395b6ba5abe3cdc0a82321bb60c763943e97ad207d333f37460c82f8c5264816b1404064b
diff --git a/sys-boot/unetbootin/files/unetbootin-581-desktop.patch b/sys-boot/unetbootin/files/unetbootin-581-desktop.patch
new file mode 100644
index 000000000000..ab1912b2e8a0
--- /dev/null
+++ b/sys-boot/unetbootin/files/unetbootin-581-desktop.patch
@@ -0,0 +1,24 @@
+ * unetbootin.desktop: error: key "GenericName[en_US]" in group "Desktop Entry"
+ is a localized key, but there is no non-localized key "GenericName"
+ * unetbootin.desktop: warning: value "Application;System;" for key
+ "Categories" in group "Desktop Entry" contains a deprecated value
+ * "Application"
+
+
+
+--- a/unetbootin.desktop
++++ b/unetbootin.desktop
+@@ -2,11 +2,11 @@
+ Version=1.0
+ Name=UNetbootin
+ Comment=Tool for creating Live USB drives
+-Categories=Application;System;
++Categories=System;
+ Exec=/usr/bin/unetbootin
+ Terminal=false
+ Type=Application
+ Name[en_US]=UNetbootin
+-GenericName[en_US]=UNetbootin
++GenericName=UNetbootin
+ Comment[en_US]=Tool for creating Live USB drives
+ Icon=unetbootin
diff --git a/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch b/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch
new file mode 100644
index 000000000000..d616d12c7406
--- /dev/null
+++ b/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch
@@ -0,0 +1,10 @@
+--- a/unetbootin.ui
++++ b/unetbootin.ui
+@@ -708,7 +708,6 @@
+ <tabstop>driveselect</tabstop>
+ <tabstop>okbutton</tabstop>
+ <tabstop>cancelbutton</tabstop>
+- <tabstop>frebootbutton</tabstop>
+ <tabstop>fexitbutton</tabstop>
+ <tabstop>intromessage</tabstop>
+ <tabstop>rebootmsgtext</tabstop>
diff --git a/sys-boot/unetbootin/metadata.xml b/sys-boot/unetbootin/metadata.xml
new file mode 100644
index 000000000000..91ac65507330
--- /dev/null
+++ b/sys-boot/unetbootin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">unetbootin</remote-id>
+ <remote-id type="github">unetbootin/unetbootin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild b/sys-boot/unetbootin/unetbootin-625.ebuild
new file mode 100644
index 000000000000..f6884665740b
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils qmake-utils
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+
+UNBI_LINGUAS="
+ am ar ast be bg bn ca cs da de el eo es et eu fa fi fo fr gl he hr hu id it
+ ja lt lv ml ms nan nb nl nn pl pt_BR pt ro ru si sk sl sr sv sw tr uk ur vi
+ zh_CN zh_TW
+"
+
+for lingua in ${UNBI_LINGUAS}; do
+ IUSE="${IUSE} linguas_${lingua}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="
+ ${DEPEND}
+ app-arch/p7zip
+ sys-boot/syslinux
+ sys-fs/mtools
+"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-581-desktop.patch"
+
+ # QA check in case linguas are added or removed
+ enum() {
+ echo ${#}
+ }
+ [[ $(enum ${UNBI_LINGUAS}) -eq $(( $(enum $(echo ${PN}_*.ts) ) -1 )) ]] \
+ || die "Numbers of recorded and actual linguas do not match"
+ unset enum
+
+ # Make room between the last line of TRANSLATIONS and the next definition
+ sed -i \
+ -e '/^DEFINES/s|.*|\n&|g' \
+ ${PN}.pro || die
+
+ # Remove localisations
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if ! use linguas_${lingua}; then
+ sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+ rm ${PN}_${lingua}.ts || die
+ fi
+ done
+}
+
+src_configure() {
+ sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+ UNBN_QTPATH="$(qt4_get_bindir)/"
+ "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+ eqmake4 ${PN}.pro || die
+}
+
+src_install() {
+ dobin ${PN}
+
+ domenu ${PN}.desktop
+
+ for file in ${PN}*.png; do
+ size="${file/${PN}_}"
+ size="${size/.png}x${size/.png}"
+ insinto /usr/share/icons/hicolor/${size}/apps
+ newins ${file} ${PN}.png
+ done
+
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if use linguas_${lingua}; then
+ insinto /usr/share/${PN}
+ doins ${PN}_${lingua}.qm
+ fi
+ done
+}
diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild b/sys-boot/unetbootin/unetbootin-647.ebuild
new file mode 100644
index 000000000000..e449aefee55a
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-647.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+UNBI_LINGUAS="
+ am ar ast be bg bn ca cs da de el eo es et eu fa fi fo fr gl he hr hu id it
+ ja lt lv ml ms nan nb nl nn pl pt_BR pt ro ru si sk sl sr sv sw tr uk ur vi
+ zh_CN zh_TW
+"
+
+for lingua in ${UNBI_LINGUAS}; do
+ IUSE="${IUSE} linguas_${lingua}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="
+ ${DEPEND}
+ app-arch/p7zip
+ sys-boot/syslinux
+ sys-fs/mtools
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-581-desktop.patch"
+ "${FILESDIR}/${PN}-647-frebootbutton.patch"
+)
+
+src_prepare() {
+ default
+
+ # QA check in case linguas are added or removed
+ enum() {
+ echo ${#}
+ }
+ [[ $(enum ${UNBI_LINGUAS}) -eq $(( $(enum $(echo ${PN}_*.ts) ) -1 )) ]] \
+ || die "Numbers of recorded and actual linguas do not match"
+ unset enum
+
+ # Remove localisations
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if ! use linguas_${lingua}; then
+ sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+ rm ${PN}_${lingua}.ts || die
+ fi
+ done
+}
+
+src_configure() {
+ sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+ UNBN_QTPATH="$(qt4_get_bindir)/"
+ "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+ eqmake4 ${PN}.pro || die
+}
+
+src_install() {
+ dobin ${PN}
+
+ domenu ${PN}.desktop
+
+ for file in ${PN}*.png; do
+ size="${file/${PN}_}"
+ size="${size/.png}x${size/.png}"
+ insinto /usr/share/icons/hicolor/${size}/apps
+ newins ${file} ${PN}.png
+ done
+
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if use linguas_${lingua}; then
+ insinto /usr/share/${PN}
+ doins ${PN}_${lingua}.qm
+ fi
+ done
+}
diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild b/sys-boot/unetbootin/unetbootin-655.ebuild
new file mode 100644
index 000000000000..453496db6670
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-655.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+UNBI_LINGUAS="
+ am ar ast be bg bn ca cs da de el eo es et eu fa fi fo fr gl he hr hu id it
+ ja lt lv ml ms nan nb nl nn pl pt_BR pt ro ru si sk sl sr sv sw tr uk ur vi
+ zh_CN zh_TW
+"
+
+for lingua in ${UNBI_LINGUAS}; do
+ IUSE="${IUSE} linguas_${lingua}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="
+ ${DEPEND}
+ app-arch/p7zip
+ sys-boot/syslinux
+ sys-fs/mtools
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-581-desktop.patch"
+)
+
+src_prepare() {
+ default
+
+ # QA check in case linguas are added or removed
+ enum() {
+ echo ${#}
+ }
+ [[ $(enum ${UNBI_LINGUAS}) -eq $(( $(enum $(echo ${PN}_*.ts) ) -1 )) ]] \
+ || die "Numbers of recorded and actual linguas do not match"
+ unset enum
+
+ # Remove localisations
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if ! use linguas_${lingua}; then
+ sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+ rm ${PN}_${lingua}.ts || die
+ fi
+ done
+}
+
+src_configure() {
+ sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+ UNBN_QTPATH="$(qt4_get_bindir)/"
+ "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+ eqmake4 ${PN}.pro || die
+}
+
+src_install() {
+ dobin ${PN}
+
+ domenu ${PN}.desktop
+
+ for file in ${PN}*.png; do
+ size="${file/${PN}_}"
+ size="${size/.png}x${size/.png}"
+ insinto /usr/share/icons/hicolor/${size}/apps
+ newins ${file} ${PN}.png
+ done
+
+ local lingua
+ for lingua in ${UNBI_LINGUAS}; do
+ if use linguas_${lingua}; then
+ insinto /usr/share/${PN}
+ doins ${PN}_${lingua}.qm
+ fi
+ done
+}