[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2022-12-18 Thread Arthur Zamarin
commit: 76bf22deb84e06faf5533ebba8fd5b9d44d458f7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 18 19:11:19 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 18 19:11:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bf22de

sys-boot/unetbootin: Stabilize 702 amd64, #886793

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-boot/unetbootin/unetbootin-702.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-702.ebuild 
b/sys-boot/unetbootin/unetbootin-702.ebuild
index ebafe2c0c71e..400dd6cb5539 100644
--- a/sys-boot/unetbootin/unetbootin-702.ebuild
+++ b/sys-boot/unetbootin/unetbootin-702.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2022-12-18 Thread Sam James
commit: 0d1e39454e1edbcb9f896f356ad9d5b8e801fd7d
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 11:55:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 11:55:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1e3945

sys-boot/unetbootin: Stabilize 702 x86, #886793

Signed-off-by: Sam James  gentoo.org>

 sys-boot/unetbootin/unetbootin-702.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-702.ebuild 
b/sys-boot/unetbootin/unetbootin-702.ebuild
index d42e3c699212..ebafe2c0c71e 100644
--- a/sys-boot/unetbootin/unetbootin-702.ebuild
+++ b/sys-boot/unetbootin/unetbootin-702.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2022-02-10 Thread Jonas Stein
commit: 52c2f8b518e651417029a6a26835dff02aa4a328
Author: Jonas Stein  gentoo  org>
AuthorDate: Fri Feb 11 00:14:34 2022 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Fri Feb 11 00:14:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c2f8b5

sys-boot/unetbootin: bump to 702

Version bump to 702 and
EAPI=8

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Stein  gentoo.org>

 sys-boot/unetbootin/Manifest  |   1 +
 sys-boot/unetbootin/unetbootin-702.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index fd507164f4dd..cc43b7a722c9 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1 +1,2 @@
 DIST unetbootin-700.tar.gz 16694955 BLAKE2B 
d8c00b56c5ae2daac696b62ef207c62dc91f67699c8823e2a751eff536d03fd0a50a931e9a4598b05d99be968b7e895ab521f605b4e0080d591a34c9e67f685e
 SHA512 
0d1b23dddf0e0e3eca81f8ef07fe375f0867ee3fa631c3a3cfe33a846b8d704b36e0efe4c947d7c68e5c1bff370ba87c34aa52c5bf8fc414cd89777f9f1858b7
+DIST unetbootin-702.tar.gz 16694922 BLAKE2B 
4205b8e5a64ecbd95e3b5f3492a01333691768547e6dbe5f954982dfa35d0794bbf8b4bc7002ff62b13675e9beaa25caf83d999489c9fabd36acc8df171e5d05
 SHA512 
4794a1c5481a082ab589c213156501697a9c2262102e1d0ca882a6c757d388d0ca768ed9acff29aac89f17a4842a93ab25ecbfceaafa27ea91d578e16fabe153

diff --git a/sys-boot/unetbootin/unetbootin-702.ebuild 
b/sys-boot/unetbootin/unetbootin-702.ebuild
new file mode 100644
index ..d42e3c699212
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-702.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop flag-o-matic qmake-utils xdg-utils toolchain-funcs
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin;
+SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+BDEPEND="dev-qt/linguist-tools:5"
+DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-675-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 l10n_${lingua/_/-}; then
+   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+   rm ${PN}_${lingua}.ts || die
+   fi
+   done
+
+   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+   append-cflags -DNOSTATIC
+   append-cxxflags -DNOSTATIC
+}
+
+src_configure() {
+   export QMAKE_CXX="$(tc-getCXX)"
+
+   "$(qt5_get_bindir)/"lrelease ${PN}.pro || die
+
+   eqmake5
+}
+
+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 l10n_${lingua/_/-}; then
+   insinto /usr/share/${PN}
+   doins ${PN}_${lingua}.qm
+   fi
+   done
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/, sys-boot/unetbootin/files/

2020-11-18 Thread Andreas Sturmlechner
commit: 5d73cb5219d08cc8ee12ac103541fcd12eff8480
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 18 19:17:09 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 18 21:08:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d73cb52

sys-boot/unetbootin: Drop 661

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-boot/unetbootin/Manifest   |  2 -
 .../unetbootin/files/unetbootin-581-desktop.patch  | 24 --
 sys-boot/unetbootin/unetbootin-661.ebuild  | 99 --
 3 files changed, 125 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 583b45c47dc..fd507164f4d 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,3 +1 @@
-DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0367a1344866a6e8dea4b2677a85ea6ae0b5591480a3bcbbfc3a51d391b07adf0d5f370ee77e4c7e1d6f2b727aedf274cf0
 SHA512 
c1226575484fa63c94ca4da875a26c7bd64bcb27d8e07ea5b67bb3f2546f31d1360d10c363cd7301476811e332c9524c96d6ba482c894b86a5b28ca8a1c8b385
-DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a
 DIST unetbootin-700.tar.gz 16694955 BLAKE2B 
d8c00b56c5ae2daac696b62ef207c62dc91f67699c8823e2a751eff536d03fd0a50a931e9a4598b05d99be968b7e895ab521f605b4e0080d591a34c9e67f685e
 SHA512 
0d1b23dddf0e0e3eca81f8ef07fe375f0867ee3fa631c3a3cfe33a846b8d704b36e0efe4c947d7c68e5c1bff370ba87c34aa52c5bf8fc414cd89777f9f1858b7

diff --git a/sys-boot/unetbootin/files/unetbootin-581-desktop.patch 
b/sys-boot/unetbootin/files/unetbootin-581-desktop.patch
deleted file mode 100644
index ab1912b2e8a..000
--- a/sys-boot/unetbootin/files/unetbootin-581-desktop.patch
+++ /dev/null
@@ -1,24 +0,0 @@
- * 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/unetbootin-661.ebuild 
b/sys-boot/unetbootin/unetbootin-661.ebuild
deleted file mode 100644
index e91aabaaf4d..000
--- a/sys-boot/unetbootin/unetbootin-661.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PATCHSET="${P}-qt5.patch.tar.xz"
-inherit desktop qmake-utils
-
-DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
-HOMEPAGE="https://github.com/unetbootin/unetbootin;
-SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   https://dev.gentoo.org/~asturm/distfiles/${PATCHSET};
-
-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} l10n_${lingua/_/-}"
-done
-
-S=${WORKDIR}/${P}/src/${PN}
-
-COMMON_DEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-"
-DEPEND="${COMMON_DEPEND}
-   dev-qt/linguist-tools:5
-"
-RDEPEND="${COMMON_DEPEND}
-   app-arch/p7zip
-   sys-boot/syslinux
-   sys-fs/mtools
-"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-581-desktop.patch"
-   "${WORKDIR}"/${PATCHSET/.tar.xz/}
-)
-
-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 l10n_${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' 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-11-17 Thread Agostino Sarubbo
commit: 26361641f47fa302adafb5758248d628adf6e8f1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 18 06:52:12 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 18 06:52:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26361641

sys-boot/unetbootin: amd64 stable wrt bug #719832

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-boot/unetbootin/unetbootin-700.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-700.ebuild 
b/sys-boot/unetbootin/unetbootin-700.ebuild
index 8f28fc70455..59c833f0e6d 100644
--- a/sys-boot/unetbootin/unetbootin-700.ebuild
+++ b/sys-boot/unetbootin/unetbootin-700.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-11-13 Thread Thomas Deutschmann
commit: 3b787ad08eceb2ca7d873dedeb4fe9ef70e89efe
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 13 18:35:12 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 13 18:35:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b787ad0

sys-boot/unetbootin: x86 stable (bug #719832)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-boot/unetbootin/unetbootin-700.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-700.ebuild 
b/sys-boot/unetbootin/unetbootin-700.ebuild
index b5809cfc55d..8f28fc70455 100644
--- a/sys-boot/unetbootin/unetbootin-700.ebuild
+++ b/sys-boot/unetbootin/unetbootin-700.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> ${P}.t
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-11-11 Thread Andreas Sturmlechner
commit: 89e49f8543a0a5680d7b5950fea7bf552cc2132e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 11 17:56:22 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 11 18:30:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e49f85

sys-boot/unetbootin: Drop 675, 677-r1, 681

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-boot/unetbootin/Manifest |   4 -
 sys-boot/unetbootin/unetbootin-675.ebuild| 103 
 sys-boot/unetbootin/unetbootin-677-r1.ebuild | 111 --
 sys-boot/unetbootin/unetbootin-681.ebuild| 113 ---
 4 files changed, 331 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 948784c33dc..583b45c47dc 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,7 +1,3 @@
 DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0367a1344866a6e8dea4b2677a85ea6ae0b5591480a3bcbbfc3a51d391b07adf0d5f370ee77e4c7e1d6f2b727aedf274cf0
 SHA512 
c1226575484fa63c94ca4da875a26c7bd64bcb27d8e07ea5b67bb3f2546f31d1360d10c363cd7301476811e332c9524c96d6ba482c894b86a5b28ca8a1c8b385
 DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a
-DIST unetbootin-675-qt5.patch.xz 7636 BLAKE2B 
f8c475491e6cf0557a192380726376c1dadba2e52478139d42023e867de86c5c1727719fa123fb412dbb20fca5763a3192889618e75ef6d8bba2d20eb1cf9403
 SHA512 
da636a3f6cd6a45d6786d92e94741d74f6c5de7d74570af45eac08718a822cdef5baac6c62d7ed68a788e9518e050f3a48a46f8f374c07e0b4c0d90c3613185d
-DIST unetbootin-675.tar.gz 23221792 BLAKE2B 
fb3a6fce9d2a47b83e2e4c1a579d20594a637215b7c6456d6b0a59a592da660b13bdbea52aa5a4f902e410e9d0e2d447d085f040d321029a96b7ff957a59d11e
 SHA512 
7cb5da4a876125ff010fc6a5aab2b5bb6eeec0f1ac6f2dd86efa2c3eaebaedff8c2167f9dc77053936955703cd2a98dd11a84b8de930dcfc1c2b0f6aeaf7ee61
-DIST unetbootin-677.tar.gz 23479226 BLAKE2B 
b5a5b111c5f96cc603975f535b55dd8e6191cc92972f54591ae6673394abae15e2652f737b8dc02f8b26a1247a9663cbda3b0d2d7b8b8dfe9eb117711f08d053
 SHA512 
f86b25dabc27f12bdb65a590c4ffa25aa509a78aa29cecde73918d8bc36dc3e6597b2b7e1803f7fa86a884347506e9c25b361ce89c26e0f6449e0c1ef29355d1
-DIST unetbootin-681.tar.gz 23481527 BLAKE2B 
b8c75156539a07bdacf1185ed898867b1e3df91a87486b7291e4bffc0c754c1ea3fe8a13a2ade5507a886e05904daa90877d29bd72ae1c353cb20dd64264e391
 SHA512 
9ac8c51f3b65bd6f051caa0270c239ec8aaabb2d3b92bec7b18803d3dcfdbe2bbca4e25124477f4e7b83ee10ba2aa08cdf055e8c9bb042cbebcd3ff6a96315b9
 DIST unetbootin-700.tar.gz 16694955 BLAKE2B 
d8c00b56c5ae2daac696b62ef207c62dc91f67699c8823e2a751eff536d03fd0a50a931e9a4598b05d99be968b7e895ab521f605b4e0080d591a34c9e67f685e
 SHA512 
0d1b23dddf0e0e3eca81f8ef07fe375f0867ee3fa631c3a3cfe33a846b8d704b36e0efe4c947d7c68e5c1bff370ba87c34aa52c5bf8fc414cd89777f9f1858b7

diff --git a/sys-boot/unetbootin/unetbootin-675.ebuild 
b/sys-boot/unetbootin/unetbootin-675.ebuild
deleted file mode 100644
index 627b3c0182a..000
--- a/sys-boot/unetbootin/unetbootin-675.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit desktop flag-o-matic qmake-utils
-
-DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
-HOMEPAGE="https://github.com/unetbootin/unetbootin;
-SRC_URI="
-   https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   https://dev.gentoo.org/~jer/${P}-qt5.patch.xz
-"
-
-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} l10n_${lingua/_/-}"
-done
-
-S=${WORKDIR}/${P}/src/${PN}
-
-COMMON_DEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   dev-qt/linguist-tools:5
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   app-arch/p7zip
-   sys-boot/syslinux
-   sys-fs/mtools
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-675-desktop.patch
-   "${WORKDIR}"/${PN}-675-qt5.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 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-11-11 Thread Andreas Sturmlechner
commit: 47b470781ecebce0eaff91f6f057f10b98639537
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 11 17:54:46 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 11 18:30:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b47078

sys-boot/unetbootin: 700 version bump

Bug: https://bugs.gentoo.org/699312
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-boot/unetbootin/Manifest  |   1 +
 sys-boot/unetbootin/unetbootin-700.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 27e5e95bad9..948784c33dc 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -4,3 +4,4 @@ DIST unetbootin-675-qt5.patch.xz 7636 BLAKE2B 
f8c475491e6cf0557a192380726376c1da
 DIST unetbootin-675.tar.gz 23221792 BLAKE2B 
fb3a6fce9d2a47b83e2e4c1a579d20594a637215b7c6456d6b0a59a592da660b13bdbea52aa5a4f902e410e9d0e2d447d085f040d321029a96b7ff957a59d11e
 SHA512 
7cb5da4a876125ff010fc6a5aab2b5bb6eeec0f1ac6f2dd86efa2c3eaebaedff8c2167f9dc77053936955703cd2a98dd11a84b8de930dcfc1c2b0f6aeaf7ee61
 DIST unetbootin-677.tar.gz 23479226 BLAKE2B 
b5a5b111c5f96cc603975f535b55dd8e6191cc92972f54591ae6673394abae15e2652f737b8dc02f8b26a1247a9663cbda3b0d2d7b8b8dfe9eb117711f08d053
 SHA512 
f86b25dabc27f12bdb65a590c4ffa25aa509a78aa29cecde73918d8bc36dc3e6597b2b7e1803f7fa86a884347506e9c25b361ce89c26e0f6449e0c1ef29355d1
 DIST unetbootin-681.tar.gz 23481527 BLAKE2B 
b8c75156539a07bdacf1185ed898867b1e3df91a87486b7291e4bffc0c754c1ea3fe8a13a2ade5507a886e05904daa90877d29bd72ae1c353cb20dd64264e391
 SHA512 
9ac8c51f3b65bd6f051caa0270c239ec8aaabb2d3b92bec7b18803d3dcfdbe2bbca4e25124477f4e7b83ee10ba2aa08cdf055e8c9bb042cbebcd3ff6a96315b9
+DIST unetbootin-700.tar.gz 16694955 BLAKE2B 
d8c00b56c5ae2daac696b62ef207c62dc91f67699c8823e2a751eff536d03fd0a50a931e9a4598b05d99be968b7e895ab521f605b4e0080d591a34c9e67f685e
 SHA512 
0d1b23dddf0e0e3eca81f8ef07fe375f0867ee3fa631c3a3cfe33a846b8d704b36e0efe4c947d7c68e5c1bff370ba87c34aa52c5bf8fc414cd89777f9f1858b7

diff --git a/sys-boot/unetbootin/unetbootin-700.ebuild 
b/sys-boot/unetbootin/unetbootin-700.ebuild
new file mode 100644
index 000..b5809cfc55d
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-700.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop flag-o-matic qmake-utils xdg-utils toolchain-funcs
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin;
+SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+BDEPEND="dev-qt/linguist-tools:5"
+DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-675-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 l10n_${lingua/_/-}; then
+   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+   rm ${PN}_${lingua}.ts || die
+   fi
+   done
+
+   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+   append-cflags -DNOSTATIC
+   append-cxxflags -DNOSTATIC
+}
+
+src_configure() {
+   export QMAKE_CXX="$(tc-getCXX)"
+
+   "$(qt5_get_bindir)/"lrelease ${PN}.pro || die
+
+   eqmake5
+}
+
+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 l10n_${lingua/_/-}; then
+   insinto /usr/share/${PN}
+   doins ${PN}_${lingua}.qm
+   fi
+   done
+}
+
+pkg_postinst() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-06-11 Thread Jeroen Roovers
commit: 536cc39de519db5492585cc6d3423a6ac6116cdc
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jun 11 07:05:19 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jun 11 07:29:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=536cc39d

sys-boot/unetbootin: Version 681

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 sys-boot/unetbootin/Manifest  |   1 +
 sys-boot/unetbootin/unetbootin-681.ebuild | 113 ++
 2 files changed, 114 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index a32b84281cc..27e5e95bad9 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -3,3 +3,4 @@ DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159
 DIST unetbootin-675-qt5.patch.xz 7636 BLAKE2B 
f8c475491e6cf0557a192380726376c1dadba2e52478139d42023e867de86c5c1727719fa123fb412dbb20fca5763a3192889618e75ef6d8bba2d20eb1cf9403
 SHA512 
da636a3f6cd6a45d6786d92e94741d74f6c5de7d74570af45eac08718a822cdef5baac6c62d7ed68a788e9518e050f3a48a46f8f374c07e0b4c0d90c3613185d
 DIST unetbootin-675.tar.gz 23221792 BLAKE2B 
fb3a6fce9d2a47b83e2e4c1a579d20594a637215b7c6456d6b0a59a592da660b13bdbea52aa5a4f902e410e9d0e2d447d085f040d321029a96b7ff957a59d11e
 SHA512 
7cb5da4a876125ff010fc6a5aab2b5bb6eeec0f1ac6f2dd86efa2c3eaebaedff8c2167f9dc77053936955703cd2a98dd11a84b8de930dcfc1c2b0f6aeaf7ee61
 DIST unetbootin-677.tar.gz 23479226 BLAKE2B 
b5a5b111c5f96cc603975f535b55dd8e6191cc92972f54591ae6673394abae15e2652f737b8dc02f8b26a1247a9663cbda3b0d2d7b8b8dfe9eb117711f08d053
 SHA512 
f86b25dabc27f12bdb65a590c4ffa25aa509a78aa29cecde73918d8bc36dc3e6597b2b7e1803f7fa86a884347506e9c25b361ce89c26e0f6449e0c1ef29355d1
+DIST unetbootin-681.tar.gz 23481527 BLAKE2B 
b8c75156539a07bdacf1185ed898867b1e3df91a87486b7291e4bffc0c754c1ea3fe8a13a2ade5507a886e05904daa90877d29bd72ae1c353cb20dd64264e391
 SHA512 
9ac8c51f3b65bd6f051caa0270c239ec8aaabb2d3b92bec7b18803d3dcfdbe2bbca4e25124477f4e7b83ee10ba2aa08cdf055e8c9bb042cbebcd3ff6a96315b9

diff --git a/sys-boot/unetbootin/unetbootin-681.ebuild 
b/sys-boot/unetbootin/unetbootin-681.ebuild
new file mode 100644
index 000..4f0db3c3d74
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-681.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit desktop flag-o-matic qmake-utils xdg-utils toolchain-funcs
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin;
+SRC_URI="
+   https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   https://dev.gentoo.org/~jer/${PN}-675-qt5.patch.xz
+"
+
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+COMMON_DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-qt/linguist-tools:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-675-desktop.patch
+   "${WORKDIR}"/${PN}-675-qt5.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 l10n_${lingua/_/-}; then
+   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+   rm ${PN}_${lingua}.ts || die
+   fi
+   done
+   append-cflags -DNOSTATIC
+   append-cxxflags -DNOSTATIC
+}
+
+src_configure() {
+   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+   export QMAKE_CXX="$(tc-getCXX)"
+
+   UNBN_QTPATH="$(qt5_get_bindir)/"
+   "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+   eqmake5 ${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 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-01-21 Thread Jeroen Roovers
commit: 7228eca4c8afd6afd92b4bac2eea426357833302
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 21 12:13:18 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 21 12:13:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7228eca4

sys-boot/unetbootin: Call xdg_icon_cache_update

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../{unetbootin-677.ebuild => unetbootin-677-r1.ebuild}| 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-677.ebuild 
b/sys-boot/unetbootin/unetbootin-677-r1.ebuild
similarity index 93%
rename from sys-boot/unetbootin/unetbootin-677.ebuild
rename to sys-boot/unetbootin/unetbootin-677-r1.ebuild
index 9742705bd49..0a9a25ac467 100644
--- a/sys-boot/unetbootin/unetbootin-677.ebuild
+++ b/sys-boot/unetbootin/unetbootin-677-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit desktop flag-o-matic qmake-utils
+inherit desktop flag-o-matic qmake-utils xdg-utils
 
 DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
 HOMEPAGE="https://github.com/unetbootin/unetbootin;
@@ -101,3 +101,11 @@ src_install() {
fi
done
 }
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-01-21 Thread Jeroen Roovers
commit: 104f4750f17c41e4f9bc42ea4f80c96f4c535e9a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 21 11:00:44 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 21 11:00:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104f4750

sys-boot/unetbootin: Old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 sys-boot/unetbootin/unetbootin-661-r1.ebuild | 101 ---
 1 file changed, 101 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-661-r1.ebuild 
b/sys-boot/unetbootin/unetbootin-661-r1.ebuild
deleted file mode 100644
index 87fb185874e..000
--- a/sys-boot/unetbootin/unetbootin-661-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PATCHSET="${P}-qt5.patch.tar.xz"
-inherit desktop flag-o-matic qmake-utils
-
-DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
-HOMEPAGE="https://github.com/unetbootin/unetbootin;
-SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz
-   https://dev.gentoo.org/~asturm/distfiles/${PATCHSET};
-
-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} l10n_${lingua/_/-}"
-done
-
-S=${WORKDIR}/${P}/src/${PN}
-
-COMMON_DEPEND="
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtwidgets:5
-"
-BDEPEND="${COMMON_DEPEND}
-   dev-qt/linguist-tools:5
-"
-RDEPEND="${COMMON_DEPEND}
-   app-arch/p7zip
-   sys-boot/syslinux
-   sys-fs/mtools
-"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-581-desktop.patch"
-   "${WORKDIR}"/${PATCHSET/.tar.xz/}
-)
-
-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 l10n_${lingua/_/-}; then
-   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
-   rm ${PN}_${lingua}.ts || die
-   fi
-   done
-   append-cflags -DNOSTATIC
-   append-cxxflags -DNOSTATIC
-}
-
-src_configure() {
-   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
-
-   UNBN_QTPATH="$(qt5_get_bindir)/"
-   "${UNBN_QTPATH}"lrelease ${PN}.pro || die
-
-   eqmake5 ${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 l10n_${lingua/_/-}; then
-   insinto /usr/share/${PN}
-   doins ${PN}_${lingua}.qm
-   fi
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2020-01-21 Thread Jeroen Roovers
commit: 3ffac2b4fe2f1e05afd0c70536eaf083b1ccaaf9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 21 11:00:12 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 21 11:00:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffac2b4

sys-boot/unetbootin: Version 677

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 sys-boot/unetbootin/Manifest  |   1 +
 sys-boot/unetbootin/unetbootin-677.ebuild | 103 ++
 2 files changed, 104 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index a92b40cc63c..a32b84281cc 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -2,3 +2,4 @@ DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0
 DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a
 DIST unetbootin-675-qt5.patch.xz 7636 BLAKE2B 
f8c475491e6cf0557a192380726376c1dadba2e52478139d42023e867de86c5c1727719fa123fb412dbb20fca5763a3192889618e75ef6d8bba2d20eb1cf9403
 SHA512 
da636a3f6cd6a45d6786d92e94741d74f6c5de7d74570af45eac08718a822cdef5baac6c62d7ed68a788e9518e050f3a48a46f8f374c07e0b4c0d90c3613185d
 DIST unetbootin-675.tar.gz 23221792 BLAKE2B 
fb3a6fce9d2a47b83e2e4c1a579d20594a637215b7c6456d6b0a59a592da660b13bdbea52aa5a4f902e410e9d0e2d447d085f040d321029a96b7ff957a59d11e
 SHA512 
7cb5da4a876125ff010fc6a5aab2b5bb6eeec0f1ac6f2dd86efa2c3eaebaedff8c2167f9dc77053936955703cd2a98dd11a84b8de930dcfc1c2b0f6aeaf7ee61
+DIST unetbootin-677.tar.gz 23479226 BLAKE2B 
b5a5b111c5f96cc603975f535b55dd8e6191cc92972f54591ae6673394abae15e2652f737b8dc02f8b26a1247a9663cbda3b0d2d7b8b8dfe9eb117711f08d053
 SHA512 
f86b25dabc27f12bdb65a590c4ffa25aa509a78aa29cecde73918d8bc36dc3e6597b2b7e1803f7fa86a884347506e9c25b361ce89c26e0f6449e0c1ef29355d1

diff --git a/sys-boot/unetbootin/unetbootin-677.ebuild 
b/sys-boot/unetbootin/unetbootin-677.ebuild
new file mode 100644
index 000..9742705bd49
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-677.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit desktop flag-o-matic qmake-utils
+
+DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
+HOMEPAGE="https://github.com/unetbootin/unetbootin;
+SRC_URI="
+   https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> 
${P}.tar.gz
+   https://dev.gentoo.org/~jer/${PN}-675-qt5.patch.xz
+"
+
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+COMMON_DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-qt/linguist-tools:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-675-desktop.patch
+   "${WORKDIR}"/${PN}-675-qt5.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 l10n_${lingua/_/-}; then
+   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+   rm ${PN}_${lingua}.ts || die
+   fi
+   done
+   append-cflags -DNOSTATIC
+   append-cxxflags -DNOSTATIC
+}
+
+src_configure() {
+   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+   UNBN_QTPATH="$(qt5_get_bindir)/"
+   "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+   eqmake5 ${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 l10n_${lingua/_/-}; then
+   insinto /usr/share/${PN}
+   

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/files/, sys-boot/unetbootin/

2019-10-04 Thread Jeroen Roovers
commit: 2db6835d5b74ac3b7007d690c74d054605c738dc
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct  4 06:22:44 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct  4 06:23:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2db6835d

sys-boot/unetbootin: Version 675

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 sys-boot/unetbootin/Manifest   |   2 +
 .../unetbootin/files/unetbootin-675-desktop.patch  |  23 +
 sys-boot/unetbootin/unetbootin-675.ebuild  | 103 +
 3 files changed, 128 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 159bd8d25cf..a92b40cc63c 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,2 +1,4 @@
 DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0367a1344866a6e8dea4b2677a85ea6ae0b5591480a3bcbbfc3a51d391b07adf0d5f370ee77e4c7e1d6f2b727aedf274cf0
 SHA512 
c1226575484fa63c94ca4da875a26c7bd64bcb27d8e07ea5b67bb3f2546f31d1360d10c363cd7301476811e332c9524c96d6ba482c894b86a5b28ca8a1c8b385
 DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a
+DIST unetbootin-675-qt5.patch.xz 7636 BLAKE2B 
f8c475491e6cf0557a192380726376c1dadba2e52478139d42023e867de86c5c1727719fa123fb412dbb20fca5763a3192889618e75ef6d8bba2d20eb1cf9403
 SHA512 
da636a3f6cd6a45d6786d92e94741d74f6c5de7d74570af45eac08718a822cdef5baac6c62d7ed68a788e9518e050f3a48a46f8f374c07e0b4c0d90c3613185d
+DIST unetbootin-675.tar.gz 23221792 BLAKE2B 
fb3a6fce9d2a47b83e2e4c1a579d20594a637215b7c6456d6b0a59a592da660b13bdbea52aa5a4f902e410e9d0e2d447d085f040d321029a96b7ff957a59d11e
 SHA512 
7cb5da4a876125ff010fc6a5aab2b5bb6eeec0f1ac6f2dd86efa2c3eaebaedff8c2167f9dc77053936955703cd2a98dd11a84b8de930dcfc1c2b0f6aeaf7ee61

diff --git a/sys-boot/unetbootin/files/unetbootin-675-desktop.patch 
b/sys-boot/unetbootin/files/unetbootin-675-desktop.patch
new file mode 100644
index 000..b71907db38d
--- /dev/null
+++ b/sys-boot/unetbootin/files/unetbootin-675-desktop.patch
@@ -0,0 +1,23 @@
+ * 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,9 @@
+ Version=1.0
+ Name=UNetbootin
+ Comment=Tool for creating Live USB drives
+-Categories=Application;System;
+-Exec=/usr/bin/unetbootin_asroot
++Categories=System;
++Exec=/usr/bin/unetbootin
+ Terminal=false
+ Type=Application
+-Name[en_US]=UNetbootin
+-GenericName[en_US]=UNetbootin
+-Comment[en_US]=Tool for creating Live USB drives
++GenericName=UNetbootin
+ Icon=unetbootin

diff --git a/sys-boot/unetbootin/unetbootin-675.ebuild 
b/sys-boot/unetbootin/unetbootin-675.ebuild
new file mode 100644
index 000..cfc39c26a04
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-675.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit desktop flag-o-matic 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
+   https://dev.gentoo.org/~jer/${P}-qt5.patch.xz
+"
+
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+COMMON_DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-qt/linguist-tools:5
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-675-desktop.patch
+   "${WORKDIR}"/${PN}-675-qt5.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 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-12-21 Thread Jeroen Roovers
commit: 7c26355a62f1fb2109259931b8958358de4ed21c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Dec 21 15:45:13 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Dec 21 15:45:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c26355a

sys-boot/unetbootin: Fix finding syslinux

Patch by Samuel Bauer
Fixes: https://bugs.gentoo.org/604812
Package-Manager: Portage-2.3.52, Repoman-2.3.12

Signed-off-by: Jeroen Roovers  gentoo.org>

 sys-boot/unetbootin/unetbootin-661-r1.ebuild | 101 +++
 1 file changed, 101 insertions(+)

diff --git a/sys-boot/unetbootin/unetbootin-661-r1.ebuild 
b/sys-boot/unetbootin/unetbootin-661-r1.ebuild
new file mode 100644
index 000..5363afc4eec
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-661-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PATCHSET="${P}-qt5.patch.tar.xz"
+inherit desktop flag-o-matic 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
+   https://dev.gentoo.org/~asturm/distfiles/${PATCHSET};
+
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+COMMON_DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+BDEPEND="${COMMON_DEPEND}
+   dev-qt/linguist-tools:5
+"
+RDEPEND="${COMMON_DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-581-desktop.patch"
+   "${WORKDIR}"/${PATCHSET/.tar.xz/}
+)
+
+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 l10n_${lingua/_/-}; then
+   sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
+   rm ${PN}_${lingua}.ts || die
+   fi
+   done
+   append-cflags -DNOSTATIC
+   append-cxxflags -DNOSTATIC
+}
+
+src_configure() {
+   sed -i -e '/^RESOURCES/d' unetbootin.pro || die
+
+   UNBN_QTPATH="$(qt5_get_bindir)/"
+   "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+   eqmake5 ${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 l10n_${lingua/_/-}; then
+   insinto /usr/share/${PN}
+   doins ${PN}_${lingua}.qm
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-08-22 Thread Andreas Sturmlechner
commit: 32eea0aba4822e4c645086d0c6f078537d5008d8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug 22 07:50:03 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug 22 07:50:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32eea0ab

sys-boot/unetbootin: Add missing DEPEND

Closes: https://bugs.gentoo.org/664232
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sys-boot/unetbootin/unetbootin-661.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-661.ebuild 
b/sys-boot/unetbootin/unetbootin-661.ebuild
index cd4059f53eb..43b50f59cc7 100644
--- a/sys-boot/unetbootin/unetbootin-661.ebuild
+++ b/sys-boot/unetbootin/unetbootin-661.ebuild
@@ -27,14 +27,16 @@ done
 
 S=${WORKDIR}/${P}/src/${PN}
 
-DEPEND="
+COMMON_DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
 "
-RDEPEND="
-   ${DEPEND}
+DEPEND="${COMMON_DEPEND}
+   dev-qt/linguist-tools:5
+"
+RDEPEND="${COMMON_DEPEND}
app-arch/p7zip
sys-boot/syslinux
sys-fs/mtools



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-06-23 Thread Jeroen Roovers
commit: 7224a68f2bd6ddc65bd36b0bd7761626971bb9c1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jun 23 12:12:06 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jun 23 12:12:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7224a68f

sys-boot/unetbootin: Old.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-boot/unetbootin/Manifest  |  1 -
 sys-boot/unetbootin/unetbootin-657.ebuild | 88 ---
 2 files changed, 89 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 17aef8fed7e..159bd8d25cf 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,3 +1,2 @@
-DIST unetbootin-657.tar.gz 16258176 BLAKE2B 
7124e3a4cace41b1ca61ca468e37adc90ae7d3099f54dc5da200cc7b7d94567afa5b4a597ba7d7e3a1327951fd7e61f320bc676b72ba68c7255e9145e5791adc
 SHA512 
69ffdbc23f372c795e84267dfbed2221783a7efc9b1d5f589e7c308384cdfd0d9cf0950058f665e2c10bf6f17e0efd3eff81a1bedb98da316583f2462dfed2d9
 DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0367a1344866a6e8dea4b2677a85ea6ae0b5591480a3bcbbfc3a51d391b07adf0d5f370ee77e4c7e1d6f2b727aedf274cf0
 SHA512 
c1226575484fa63c94ca4da875a26c7bd64bcb27d8e07ea5b67bb3f2546f31d1360d10c363cd7301476811e332c9524c96d6ba482c894b86a5b28ca8a1c8b385
 DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild 
b/sys-boot/unetbootin/unetbootin-657.ebuild
deleted file mode 100644
index f675b358ca6..000
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2018 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} l10n_${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 l10n_${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 l10n_${lingua/_/-}; then
-   insinto /usr/share/${PN}
-   doins ${PN}_${lingua}.qm
-   fi
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-06-22 Thread Mikle Kolyada
commit: 99641303f9c3e9c96e9bce300a343063335f5121
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jun 22 07:18:00 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jun 22 07:18:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99641303

sys-boot/unetbootin: amd64 stable wrt bug #644360

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-boot/unetbootin/unetbootin-661.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-661.ebuild 
b/sys-boot/unetbootin/unetbootin-661.ebuild
index 32c69c68466..cd4059f53eb 100644
--- a/sys-boot/unetbootin/unetbootin-661.ebuild
+++ b/sys-boot/unetbootin/unetbootin-661.ebuild
@@ -13,7 +13,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-06-17 Thread Thomas Deutschmann
commit: e66a6d95c457170193febefde69e4964936182d5
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Jun 18 00:03:38 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Jun 18 00:12:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66a6d95

sys-boot/unetbootin: x86 stable (bug #644360)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-boot/unetbootin/unetbootin-661.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-661.ebuild 
b/sys-boot/unetbootin/unetbootin-661.ebuild
index 7f9aafaf7b2..32c69c68466 100644
--- a/sys-boot/unetbootin/unetbootin-661.ebuild
+++ b/sys-boot/unetbootin/unetbootin-661.ebuild
@@ -13,7 +13,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-05-29 Thread Andreas Sturmlechner
commit: 24d7224ac9e01b3da45520f9204d4d4393f5cb4b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue May 29 13:41:36 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue May 29 13:41:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d7224a

sys-boot/unetbootin: 661 version bump w/ Qt5 patch

Disabling FTP sources.

See also: https://github.com/unetbootin/unetbootin/pull/137

Bug: https://bugs.gentoo.org/644360
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 sys-boot/unetbootin/Manifest  |  2 +
 sys-boot/unetbootin/unetbootin-661.ebuild | 97 +++
 2 files changed, 99 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index b88b338d6af..17aef8fed7e 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1 +1,3 @@
 DIST unetbootin-657.tar.gz 16258176 BLAKE2B 
7124e3a4cace41b1ca61ca468e37adc90ae7d3099f54dc5da200cc7b7d94567afa5b4a597ba7d7e3a1327951fd7e61f320bc676b72ba68c7255e9145e5791adc
 SHA512 
69ffdbc23f372c795e84267dfbed2221783a7efc9b1d5f589e7c308384cdfd0d9cf0950058f665e2c10bf6f17e0efd3eff81a1bedb98da316583f2462dfed2d9
+DIST unetbootin-661-qt5.patch.tar.xz 8060 BLAKE2B 
58cb323166e344ecabf5d372e80ff0367a1344866a6e8dea4b2677a85ea6ae0b5591480a3bcbbfc3a51d391b07adf0d5f370ee77e4c7e1d6f2b727aedf274cf0
 SHA512 
c1226575484fa63c94ca4da875a26c7bd64bcb27d8e07ea5b67bb3f2546f31d1360d10c363cd7301476811e332c9524c96d6ba482c894b86a5b28ca8a1c8b385
+DIST unetbootin-661.tar.gz 16257579 BLAKE2B 
2f92cf286c8010a80d4d4cc48a7ece55e159af9f3729277d97eb99ef2ebe8945023d03c51d6e97d7101d8547240e3c2152004222ec4c825ef4ab954c4018e7b0
 SHA512 
bbf74a4c4ca9b52f4da672eb54524b7fcb796c65ba80700dc3c6f2677bde37574f42a11c213cc4d4eee38783aed650beee1e2894f60185745e509a2e9571f70a

diff --git a/sys-boot/unetbootin/unetbootin-661.ebuild 
b/sys-boot/unetbootin/unetbootin-661.ebuild
new file mode 100644
index 000..7f9aafaf7b2
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-661.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PATCHSET="${P}-qt5.patch.tar.xz"
+inherit desktop 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
+   https://dev.gentoo.org/~asturm/distfiles/${PATCHSET};
+
+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} l10n_${lingua/_/-}"
+done
+
+S=${WORKDIR}/${P}/src/${PN}
+
+DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtnetwork:5
+   dev-qt/qtwidgets:5
+"
+RDEPEND="
+   ${DEPEND}
+   app-arch/p7zip
+   sys-boot/syslinux
+   sys-fs/mtools
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-581-desktop.patch"
+   "${WORKDIR}"/${PATCHSET/.tar.xz/}
+)
+
+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 l10n_${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="$(qt5_get_bindir)/"
+   "${UNBN_QTPATH}"lrelease ${PN}.pro || die
+
+   eqmake5 ${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 l10n_${lingua/_/-}; then
+   insinto /usr/share/${PN}
+   doins ${PN}_${lingua}.qm
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/, sys-boot/unetbootin/files/

2018-04-10 Thread Jeroen Roovers
commit: 600a57f4789607fa35666d513ce4f2583fefe09c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Apr 10 12:35:33 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Apr 10 12:35:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600a57f4

sys-boot/unetbootin: Old.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-boot/unetbootin/Manifest   |  3 -
 .../files/unetbootin-647-frebootbutton.patch   | 10 ---
 sys-boot/unetbootin/unetbootin-625.ebuild  | 90 --
 sys-boot/unetbootin/unetbootin-647.ebuild  | 89 -
 sys-boot/unetbootin/unetbootin-655.ebuild  | 88 -
 5 files changed, 280 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 7dff3cc8609..b88b338d6af 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,4 +1 @@
-DIST unetbootin-625.tar.gz 22671470 BLAKE2B 
7420d804f1a490edd701646a3c228687316f0ec17005bf0832104858f9e46fbbf184b13c6aa5f8b6f30bf411e033cddfefece9b9ee6f6fcc7872440af9f88b48
 SHA512 
0dc672097eb857f8516208f8cbe5a0ec3229aa5dbe56108f64c415d2d9d4679a41e3f8a4b7279c511197303a2e020c95293a305de4df2dc63dc4522b3d13259b
-DIST unetbootin-647.tar.gz 16253287 BLAKE2B 
4095e2cc990de6a01d46e3861d20cbbd1dbb04ad90c929ea72034d935b82669e482032ca3289e717fa9d7cdd9a147bb19ce2e5c610f046f5ab9470a494a35d83
 SHA512 
487be195286dd1e7712afa86cb75f8a79a3acce77f5cbd2571ddad74533d84a90e17b96afecfd2c9831825975b6c562bfb218b583a042600c49a14179129e8bb
-DIST unetbootin-655.tar.gz 16258032 BLAKE2B 
2cdf307702851d87302aac3246118c13c5c2a99f1a3a3b98156c5e0ca905d8fe79c87ce90817fee696adf2572bf26a4684f56245ff1e3573a1b7f97a489da970
 SHA512 
723b4c1499b5c9afd93e5ee3803c9ca18ee5ef5f7731797eedc194a2bbcc2c5be93cc6cb1059f8514f93a8c9e6d650aec40513f649b41382ae27c2f92389d709
 DIST unetbootin-657.tar.gz 16258176 BLAKE2B 
7124e3a4cace41b1ca61ca468e37adc90ae7d3099f54dc5da200cc7b7d94567afa5b4a597ba7d7e3a1327951fd7e61f320bc676b72ba68c7255e9145e5791adc
 SHA512 
69ffdbc23f372c795e84267dfbed2221783a7efc9b1d5f589e7c308384cdfd0d9cf0950058f665e2c10bf6f17e0efd3eff81a1bedb98da316583f2462dfed2d9

diff --git a/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch 
b/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch
deleted file mode 100644
index d616d12c740..000
--- a/sys-boot/unetbootin/files/unetbootin-647-frebootbutton.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/unetbootin.ui
-+++ b/unetbootin.ui
-@@ -708,7 +708,6 @@
-   driveselect
-   okbutton
-   cancelbutton
--  frebootbutton
-   fexitbutton
-   intromessage
-   rebootmsgtext

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
deleted file mode 100644
index 49f0d802f76..000
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2018 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} l10n_${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 l10n_${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}_}"
-   

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-04-10 Thread Jeroen Roovers
commit: 6b61ce3c29bf0ad57b7559a065fa33719bfc3383
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Apr 10 12:34:06 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Apr 10 12:35:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b61ce3c

sys-boot/unetbootin: Stable for AMD64 x86 too.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --ignore-arches

 sys-boot/unetbootin/unetbootin-657.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild 
b/sys-boot/unetbootin/unetbootin-657.ebuild
index f615c0100f4..f675b358ca6 100644
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ b/sys-boot/unetbootin/unetbootin-657.ebuild
@@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-01-08 Thread Ulrich Müller
commit: 7914bb2e24db18f94e9d1848a865891f577b326d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Mon Jan  8 08:42:09 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Mon Jan  8 08:45:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7914bb2e

sys-boot/unetbootin: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-boot/unetbootin/unetbootin-625.ebuild | 8 ++--
 sys-boot/unetbootin/unetbootin-647.ebuild | 8 ++--
 sys-boot/unetbootin/unetbootin-655.ebuild | 8 ++--
 sys-boot/unetbootin/unetbootin-657.ebuild | 8 ++--
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
index aabc1aa868d..49f0d802f76 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+   IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -48,7 +52,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! has ${lingua} ${LINGUAS-${lingua}}; then
+   if ! use l10n_${lingua/_/-}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -78,7 +82,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if has ${lingua} ${LINGUAS-${lingua}}; then
+   if use l10n_${lingua/_/-}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild 
b/sys-boot/unetbootin/unetbootin-647.ebuild
index 0371e75f2c8..a8e28b868c2 100644
--- a/sys-boot/unetbootin/unetbootin-647.ebuild
+++ b/sys-boot/unetbootin/unetbootin-647.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+   IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -47,7 +51,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! has ${lingua} ${LINGUAS-${lingua}}; then
+   if ! use l10n_${lingua/_/-}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -77,7 +81,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if has ${lingua} ${LINGUAS-${lingua}}; then
+   if use l10n_${lingua/_/-}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild 
b/sys-boot/unetbootin/unetbootin-655.ebuild
index 1007cc620a1..f615c0100f4 100644
--- a/sys-boot/unetbootin/unetbootin-655.ebuild
+++ b/sys-boot/unetbootin/unetbootin-655.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+   IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -46,7 +50,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! has ${lingua} ${LINGUAS-${lingua}}; then
+   if ! use l10n_${lingua/_/-}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -76,7 +80,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if has ${lingua} ${LINGUAS-${lingua}}; then
+   if use l10n_${lingua/_/-}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild 
b/sys-boot/unetbootin/unetbootin-657.ebuild
index 1007cc620a1..f615c0100f4 100644
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ b/sys-boot/unetbootin/unetbootin-657.ebuild
@@ -19,6 +19,10 @@ UNBI_LINGUAS="
zh_CN zh_TW
 "
 
+for lingua in ${UNBI_LINGUAS}; do
+   IUSE="${IUSE} l10n_${lingua/_/-}"
+done
+
 S=${WORKDIR}/${P}/src/${PN}
 
 DEPEND="dev-qt/qtgui:4"
@@ -46,7 +50,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! has ${lingua} ${LINGUAS-${lingua}}; then
+   if ! use l10n_${lingua/_/-}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -76,7 +80,7 @@ src_install() {
 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2018-01-07 Thread Ulrich Müller
commit: db8c3313d3e87dae284b1d2032c989b6f956035b
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Jan  7 16:16:02 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Jan  7 16:22:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8c3313

sys-boot/unetbootin: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-boot/unetbootin/unetbootin-625.ebuild | 10 +++---
 sys-boot/unetbootin/unetbootin-647.ebuild | 10 +++---
 sys-boot/unetbootin/unetbootin-655.ebuild | 10 +++---
 sys-boot/unetbootin/unetbootin-657.ebuild | 10 +++---
 4 files changed, 12 insertions(+), 28 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
index f6884665740..aabc1aa868d 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
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"
@@ -52,7 +48,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! use linguas_${lingua}; then
+   if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -82,7 +78,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if use linguas_${lingua}; then
+   if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild 
b/sys-boot/unetbootin/unetbootin-647.ebuild
index e449aefee55..0371e75f2c8 100644
--- a/sys-boot/unetbootin/unetbootin-647.ebuild
+++ b/sys-boot/unetbootin/unetbootin-647.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
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"
@@ -51,7 +47,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! use linguas_${lingua}; then
+   if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -81,7 +77,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if use linguas_${lingua}; then
+   if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild 
b/sys-boot/unetbootin/unetbootin-655.ebuild
index 453496db667..1007cc620a1 100644
--- a/sys-boot/unetbootin/unetbootin-655.ebuild
+++ b/sys-boot/unetbootin/unetbootin-655.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,10 +19,6 @@ UNBI_LINGUAS="
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"
@@ -50,7 +46,7 @@ src_prepare() {
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if ! use linguas_${lingua}; then
+   if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
@@ -80,7 +76,7 @@ src_install() {
 
local lingua
for lingua in ${UNBI_LINGUAS}; do
-   if use linguas_${lingua}; then
+   if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild 
b/sys-boot/unetbootin/unetbootin-657.ebuild
index 453496db667..1007cc620a1 100644
--- a/sys-boot/unetbootin/unetbootin-657.ebuild
+++ b/sys-boot/unetbootin/unetbootin-657.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo 

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2017-10-29 Thread Jeroen Roovers
commit: 0431ba1ff977a584ee67643036f8b98e215ff313
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Oct 29 16:37:40 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Oct 29 16:41:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0431ba1f

sys-boot/unetbootin: Version bump.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-boot/unetbootin/Manifest  |  1 +
 sys-boot/unetbootin/unetbootin-657.ebuild | 88 +++
 2 files changed, 89 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index b3ad8115a7e..10818fdbb62 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,3 +1,4 @@
 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
+DIST unetbootin-657.tar.gz 16258176 SHA256 
e091904e455aebc7b3d22d6cb3363c51796b6b9bec59389c9d4ecad54c7febee SHA512 
69ffdbc23f372c795e84267dfbed2221783a7efc9b1d5f589e7c308384cdfd0d9cf0950058f665e2c10bf6f17e0efd3eff81a1bedb98da316583f2462dfed2d9
 WHIRLPOOL 
b6ee0146f97e9c115824d8763091319457e3343326cbb173dfb218e0727df84575e576c364d1a29db96a98cce8d30a6835adda4f1d7865d5551742e2ecbfe074

diff --git a/sys-boot/unetbootin/unetbootin-657.ebuild 
b/sys-boot/unetbootin/unetbootin-657.ebuild
new file mode 100644
index 000..453496db667
--- /dev/null
+++ b/sys-boot/unetbootin/unetbootin-657.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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2017-08-25 Thread Jeroen Roovers
commit: 254c550e811db62020732324b7cec0482bd4bfbd
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Aug 25 14:56:57 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Aug 25 14:57:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=254c550e

sys-boot/unetbootin: Version bump.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-boot/unetbootin/Manifest  |  1 +
 sys-boot/unetbootin/unetbootin-655.ebuild | 88 +++
 2 files changed, 89 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index fdc71835683..b3ad8115a7e 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/sys-boot/unetbootin/unetbootin-655.ebuild 
b/sys-boot/unetbootin/unetbootin-655.ebuild
new file mode 100644
index 000..453496db667
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/, sys-boot/unetbootin/files/

2017-06-30 Thread Jeroen Roovers
commit: 05e129e39182eeb2ec4c10f9e89ba6f7c6b36993
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun 30 10:42:59 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun 30 10:43:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e129e3

sys-boot/unetbootin: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-boot/unetbootin/Manifest   |  1 +
 .../files/unetbootin-647-frebootbutton.patch   | 10 +++
 sys-boot/unetbootin/unetbootin-647.ebuild  | 89 ++
 3 files changed, 100 insertions(+)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 1bfce670251..fdc71835683 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1 +1,2 @@
 DIST unetbootin-625.tar.gz 22671470 SHA256 
1c63265cbbeccfb0c45978e5235a35fcdb6f40fdd6a8b438539c1785703d05a1 SHA512 
0dc672097eb857f8516208f8cbe5a0ec3229aa5dbe56108f64c415d2d9d4679a41e3f8a4b7279c511197303a2e020c95293a305de4df2dc63dc4522b3d13259b
 WHIRLPOOL 
2444d5ca7be19d1747de641e92bb4c255c0298faac9d446eadbb3ce0b28ed7a57822c83fdebce2aaeacefa3ca0718250ca967d12e2b4fb0e4135d88f042bc93c
+DIST unetbootin-647.tar.gz 16253287 SHA256 
895e67366fa4b225037d7c74fc70f17932e4176fe0f784bdbb4062d5b838715f SHA512 
487be195286dd1e7712afa86cb75f8a79a3acce77f5cbd2571ddad74533d84a90e17b96afecfd2c9831825975b6c562bfb218b583a042600c49a14179129e8bb
 WHIRLPOOL 
72ab1d5598cdb4f1b456626d013bc27cd8871e301a8e36f5cfe01a3cadf6c94ccca37042641ae9fcb4a35287eed39f01a4f6e7ad115060efe279510eeaeafb41

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 000..d616d12c740
--- /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 @@
+   driveselect
+   okbutton
+   cancelbutton
+-  frebootbutton
+   fexitbutton
+   intromessage
+   rebootmsgtext

diff --git a/sys-boot/unetbootin/unetbootin-647.ebuild 
b/sys-boot/unetbootin/unetbootin-647.ebuild
new file mode 100644
index 000..e449aefee55
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2016-12-18 Thread Jeroen Roovers
commit: 045ae04965162021b23c83e4a4521a00c83bb1c5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Dec 18 19:20:08 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Dec 18 19:20:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045ae049

sys-boot/unetbootin: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-boot/unetbootin/Manifest  |  2 -
 sys-boot/unetbootin/unetbootin-608.ebuild | 89 --
 sys-boot/unetbootin/unetbootin-619.ebuild | 91 ---
 3 files changed, 182 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index 6165084..1bfce67 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,3 +1 @@
-DIST unetbootin-619.tar.gz 22669784 SHA256 
84bd5b29a46f61156868acf0d069c2c6b3ec13435dc11cc82f93e8c30523966f SHA512 
81a02c0b7866f878139133562db745538f1f22fb90231a228792dccd3c5ff0c1c7cefc435b34cc14302b0d2b20e97342295fb65c7f28c220a637b1d52fa77e3c
 WHIRLPOOL 
66a46933ea16b73f94d95080241103bac985694bc7b28e4213341aa9e6cb03f0fdf85bc19f9491b1ac97cba2ac83edfdba31965b9d138ef46bbf337bf03ded05
 DIST unetbootin-625.tar.gz 22671470 SHA256 
1c63265cbbeccfb0c45978e5235a35fcdb6f40fdd6a8b438539c1785703d05a1 SHA512 
0dc672097eb857f8516208f8cbe5a0ec3229aa5dbe56108f64c415d2d9d4679a41e3f8a4b7279c511197303a2e020c95293a305de4df2dc63dc4522b3d13259b
 WHIRLPOOL 
2444d5ca7be19d1747de641e92bb4c255c0298faac9d446eadbb3ce0b28ed7a57822c83fdebce2aaeacefa3ca0718250ca967d12e2b4fb0e4135d88f042bc93c
-DIST unetbootin-source-608.tar.gz 752043 SHA256 
ce99c5f60b1f66da0ceb41859ce9198d96b3061b949b167fc952d3951b632080 SHA512 
d164537c96845eb90ac5aae1fa0c553c9392d778696e4818760cb11f78341e6a3ea6a05f702678583c5d680dc8fb1348cdc2b2dfba9bebfdf793779c23611d16
 WHIRLPOOL 
56cc31e047c283b4f6ef639283c7e9a3e59332fb4f3b70baa279e973c19adc42a276074087b530a49cad41076cf29990c65323d805e0a7b4fccd37bdf1132649

diff --git a/sys-boot/unetbootin/unetbootin-608.ebuild 
b/sys-boot/unetbootin/unetbootin-608.ebuild
deleted file mode 100644
index 695548c..
--- a/sys-boot/unetbootin/unetbootin-608.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils qt4-r2
-
-DESCRIPTION="Universal Netboot Installer creates Live USB systems for various 
OS distributions"
-HOMEPAGE="http://unetbootin.sourceforge.net/;
-SRC_URI="mirror://sourceforge/${PN}/${PN}-source-${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-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}"
-
-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() {
-   lupdate ${PN}.pro || die
-   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-619.ebuild 
b/sys-boot/unetbootin/unetbootin-619.ebuild
deleted file mode 100644
index e9aa223..
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils qmake-utils
-

[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2016-12-18 Thread Agostino Sarubbo
commit: 7fedfd124df862055f55bcecc1e967e9d5e3519e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 18 15:56:24 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 18 15:56:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fedfd12

sys-boot/unetbootin: x86 stable wrt bug #596594

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-boot/unetbootin/unetbootin-625.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
index 136ac09..fc40a38 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2016-12-18 Thread Agostino Sarubbo
commit: 7225036a16bca4aa2f52979de9ac34b4e303fcf7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 18 15:43:21 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 18 15:44:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7225036a

sys-boot/unetbootin: amd64 stable wrt bug #596594

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-boot/unetbootin/unetbootin-625.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-boot/unetbootin/unetbootin-625.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
index e9aa223..136ac09 100644
--- a/sys-boot/unetbootin/unetbootin-625.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+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



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2016-05-19 Thread Jeroen Roovers
commit: ebfa0db1a18df12952320fa676e7b6f7854d620e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu May 19 16:15:20 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu May 19 16:15:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebfa0db1

sys-boot/unetbootin: Version bump.

Package-Manager: portage-2.3.0_rc1

 sys-boot/unetbootin/Manifest | 3 ++-
 sys-boot/unetbootin/unetbootin-619.ebuild| 4 ++--
 sys-boot/unetbootin/{unetbootin-619.ebuild => unetbootin-625.ebuild} | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest
index a8af19b..6165084 100644
--- a/sys-boot/unetbootin/Manifest
+++ b/sys-boot/unetbootin/Manifest
@@ -1,2 +1,3 @@
-DIST 619.tar.gz 22669784 SHA256 
84bd5b29a46f61156868acf0d069c2c6b3ec13435dc11cc82f93e8c30523966f SHA512 
81a02c0b7866f878139133562db745538f1f22fb90231a228792dccd3c5ff0c1c7cefc435b34cc14302b0d2b20e97342295fb65c7f28c220a637b1d52fa77e3c
 WHIRLPOOL 
66a46933ea16b73f94d95080241103bac985694bc7b28e4213341aa9e6cb03f0fdf85bc19f9491b1ac97cba2ac83edfdba31965b9d138ef46bbf337bf03ded05
+DIST unetbootin-619.tar.gz 22669784 SHA256 
84bd5b29a46f61156868acf0d069c2c6b3ec13435dc11cc82f93e8c30523966f SHA512 
81a02c0b7866f878139133562db745538f1f22fb90231a228792dccd3c5ff0c1c7cefc435b34cc14302b0d2b20e97342295fb65c7f28c220a637b1d52fa77e3c
 WHIRLPOOL 
66a46933ea16b73f94d95080241103bac985694bc7b28e4213341aa9e6cb03f0fdf85bc19f9491b1ac97cba2ac83edfdba31965b9d138ef46bbf337bf03ded05
+DIST unetbootin-625.tar.gz 22671470 SHA256 
1c63265cbbeccfb0c45978e5235a35fcdb6f40fdd6a8b438539c1785703d05a1 SHA512 
0dc672097eb857f8516208f8cbe5a0ec3229aa5dbe56108f64c415d2d9d4679a41e3f8a4b7279c511197303a2e020c95293a305de4df2dc63dc4522b3d13259b
 WHIRLPOOL 
2444d5ca7be19d1747de641e92bb4c255c0298faac9d446eadbb3ce0b28ed7a57822c83fdebce2aaeacefa3ca0718250ca967d12e2b4fb0e4135d88f042bc93c
 DIST unetbootin-source-608.tar.gz 752043 SHA256 
ce99c5f60b1f66da0ceb41859ce9198d96b3061b949b167fc952d3951b632080 SHA512 
d164537c96845eb90ac5aae1fa0c553c9392d778696e4818760cb11f78341e6a3ea6a05f702678583c5d680dc8fb1348cdc2b2dfba9bebfdf793779c23611d16
 WHIRLPOOL 
56cc31e047c283b4f6ef639283c7e9a3e59332fb4f3b70baa279e973c19adc42a276074087b530a49cad41076cf29990c65323d805e0a7b4fccd37bdf1132649

diff --git a/sys-boot/unetbootin/unetbootin-619.ebuild 
b/sys-boot/unetbootin/unetbootin-619.ebuild
index 740896e..e9aa223 100644
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ b/sys-boot/unetbootin/unetbootin-619.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,7 +8,7 @@ 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/619.tar.gz -> ${PV}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"

diff --git a/sys-boot/unetbootin/unetbootin-619.ebuild 
b/sys-boot/unetbootin/unetbootin-625.ebuild
similarity index 95%
copy from sys-boot/unetbootin/unetbootin-619.ebuild
copy to sys-boot/unetbootin/unetbootin-625.ebuild
index 740896e..e9aa223 100644
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ b/sys-boot/unetbootin/unetbootin-625.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,7 +8,7 @@ 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/619.tar.gz -> ${PV}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2015-08-23 Thread Jeroen Roovers
commit: 62121f75d62e6bf0c46f0154ac8c160bc4cb972d
Author: Jeroen Roovers jer AT gentoo DOT org
AuthorDate: Sun Aug 23 07:49:23 2015 +
Commit: Jeroen Roovers jer AT gentoo DOT org
CommitDate: Sun Aug 23 07:49:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62121f75

sys-boot/unetbootin: Do not run lupdate (bug #557142).

Package-Manager: portage-2.2.20.1

 sys-boot/unetbootin/unetbootin-619.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-619.ebuild 
b/sys-boot/unetbootin/unetbootin-619.ebuild
index 8a9b604..740896e 100644
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ b/sys-boot/unetbootin/unetbootin-619.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils qmake-utils qt4-r2
+inherit eutils qmake-utils
 
 DESCRIPTION=UNetbootin installs Linux/BSD distributions to a partition or USB 
drive
 HOMEPAGE=https://github.com/unetbootin/unetbootin;
@@ -64,8 +64,7 @@ src_configure() {
sed -i -e '/^RESOURCES/d' unetbootin.pro || die
 
UNBN_QTPATH=$(qt4_get_bindir)/
-   ${UNBN_QTPATH}lupdate ${PN}.pro || die
-   ${UNBN_QTPATH}lrelease ${PN}.pro || die
+   ${UNBN_QTPATH}lrelease ${PN}.pro || die
 
eqmake4 ${PN}.pro || die
 }



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2015-08-16 Thread Jeroen Roovers
commit: d1e2b8347c277c05486e0a530f70fb1cbedc137e
Author: Jeroen Roovers jer AT gentoo DOT org
AuthorDate: Sun Aug 16 07:39:25 2015 +
Commit: Jeroen Roovers jer AT gentoo DOT org
CommitDate: Sun Aug 16 07:39:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e2b834

sys-boot/unetbootin: Set and use path to Qt4 executables (maybe bug #557142).

Package-Manager: portage-2.2.20.1

 sys-boot/unetbootin/unetbootin-619.ebuild | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-619.ebuild 
b/sys-boot/unetbootin/unetbootin-619.ebuild
index 9fb9454..8a9b604 100644
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ b/sys-boot/unetbootin/unetbootin-619.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils qt4-r2
+inherit eutils qmake-utils qt4-r2
 
 DESCRIPTION=UNetbootin installs Linux/BSD distributions to a partition or USB 
drive
 HOMEPAGE=https://github.com/unetbootin/unetbootin;
@@ -62,8 +62,11 @@ src_prepare() {
 
 src_configure() {
sed -i -e '/^RESOURCES/d' unetbootin.pro || die
-   lupdate ${PN}.pro || die
-   lrelease ${PN}.pro || die
+
+   UNBN_QTPATH=$(qt4_get_bindir)/
+   ${UNBN_QTPATH}lupdate ${PN}.pro || die
+   ${UNBN_QTPATH}lrelease ${PN}.pro || die
+
eqmake4 ${PN}.pro || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-boot/unetbootin/

2015-08-09 Thread Justin Lecher
commit: 3bfabdd32c0c945d239ce570bb85da87f442015d
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Sun Aug  9 12:24:46 2015 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Sun Aug  9 12:29:08 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfabdd3

sys-boot/unetbootin: Updating remote-id in metadata.xml

Package-Manager: portage-2.2.20
Signed-off-by: Justin Lecher jlec AT gentoo.org

 sys-boot/unetbootin/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-boot/unetbootin/metadata.xml b/sys-boot/unetbootin/metadata.xml
index d15162d..2a21c88 100644
--- a/sys-boot/unetbootin/metadata.xml
+++ b/sys-boot/unetbootin/metadata.xml
@@ -7,5 +7,6 @@
/maintainer
upstream
remote-id type=sourceforgeunetbootin/remote-id
+   remote-id type=githubunetbootin/unetbootin/remote-id
/upstream
 /pkgmetadata