1 |
commit: 104f4750f17c41e4f9bc42ea4f80c96f4c535e9a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 11:00:44 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 11:00:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104f4750 |
7 |
|
8 |
sys-boot/unetbootin: Old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
sys-boot/unetbootin/unetbootin-661-r1.ebuild | 101 --------------------------- |
14 |
1 file changed, 101 deletions(-) |
15 |
|
16 |
diff --git a/sys-boot/unetbootin/unetbootin-661-r1.ebuild b/sys-boot/unetbootin/unetbootin-661-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 87fb185874e..00000000000 |
19 |
--- a/sys-boot/unetbootin/unetbootin-661-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,101 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-PATCHSET="${P}-qt5.patch.tar.xz" |
28 |
-inherit desktop flag-o-matic qmake-utils |
29 |
- |
30 |
-DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB drive" |
31 |
-HOMEPAGE="https://github.com/unetbootin/unetbootin" |
32 |
-SRC_URI="https://github.com/unetbootin/unetbootin/archive/${PV}.tar.gz -> ${P}.tar.gz |
33 |
- https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}" |
34 |
- |
35 |
-SLOT="0" |
36 |
-LICENSE="GPL-2" |
37 |
-KEYWORDS="~amd64 ~x86" |
38 |
- |
39 |
-UNBI_LINGUAS=" |
40 |
- 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 |
41 |
- 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 |
42 |
- zh_CN zh_TW |
43 |
-" |
44 |
- |
45 |
-for lingua in ${UNBI_LINGUAS}; do |
46 |
- IUSE="${IUSE} l10n_${lingua/_/-}" |
47 |
-done |
48 |
- |
49 |
-S=${WORKDIR}/${P}/src/${PN} |
50 |
- |
51 |
-COMMON_DEPEND=" |
52 |
- dev-qt/qtcore:5 |
53 |
- dev-qt/qtgui:5 |
54 |
- dev-qt/qtnetwork:5 |
55 |
- dev-qt/qtwidgets:5 |
56 |
-" |
57 |
-BDEPEND="${COMMON_DEPEND} |
58 |
- dev-qt/linguist-tools:5 |
59 |
-" |
60 |
-RDEPEND="${COMMON_DEPEND} |
61 |
- app-arch/p7zip |
62 |
- sys-boot/syslinux |
63 |
- sys-fs/mtools |
64 |
-" |
65 |
- |
66 |
-PATCHES=( |
67 |
- "${FILESDIR}/${PN}-581-desktop.patch" |
68 |
- "${WORKDIR}"/${PATCHSET/.tar.xz/} |
69 |
-) |
70 |
- |
71 |
-src_prepare() { |
72 |
- default |
73 |
- |
74 |
- # QA check in case linguas are added or removed |
75 |
- enum() { |
76 |
- echo ${#} |
77 |
- } |
78 |
- [[ $(enum ${UNBI_LINGUAS}) -eq $(( $(enum $(echo ${PN}_*.ts) ) -1 )) ]] \ |
79 |
- || die "Numbers of recorded and actual linguas do not match" |
80 |
- unset enum |
81 |
- |
82 |
- # Remove localisations |
83 |
- local lingua |
84 |
- for lingua in ${UNBI_LINGUAS}; do |
85 |
- if ! use l10n_${lingua/_/-}; then |
86 |
- sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die |
87 |
- rm ${PN}_${lingua}.ts || die |
88 |
- fi |
89 |
- done |
90 |
- append-cflags -DNOSTATIC |
91 |
- append-cxxflags -DNOSTATIC |
92 |
-} |
93 |
- |
94 |
-src_configure() { |
95 |
- sed -i -e '/^RESOURCES/d' unetbootin.pro || die |
96 |
- |
97 |
- UNBN_QTPATH="$(qt5_get_bindir)/" |
98 |
- "${UNBN_QTPATH}"lrelease ${PN}.pro || die |
99 |
- |
100 |
- eqmake5 ${PN}.pro || die |
101 |
-} |
102 |
- |
103 |
-src_install() { |
104 |
- dobin ${PN} |
105 |
- |
106 |
- domenu ${PN}.desktop |
107 |
- |
108 |
- for file in ${PN}*.png; do |
109 |
- size="${file/${PN}_}" |
110 |
- size="${size/.png}x${size/.png}" |
111 |
- insinto /usr/share/icons/hicolor/${size}/apps |
112 |
- newins ${file} ${PN}.png |
113 |
- done |
114 |
- |
115 |
- local lingua |
116 |
- for lingua in ${UNBI_LINGUAS}; do |
117 |
- if use l10n_${lingua/_/-}; then |
118 |
- insinto /usr/share/${PN} |
119 |
- doins ${PN}_${lingua}.qm |
120 |
- fi |
121 |
- done |
122 |
-} |