diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-07-16 19:08:22 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-07-16 19:08:22 +0000 |
commit | 08c30159fe02e92e7f3a32a98d4f14c5dcdb8337 (patch) | |
tree | 8f1d8aa84672e35afdd6cc94a1cfe61e16917d87 /sys-boot/unetbootin | |
parent | old (diff) | |
download | historical-08c30159fe02e92e7f3a32a98d4f14c5dcdb8337.tar.gz historical-08c30159fe02e92e7f3a32a98d4f14c5dcdb8337.tar.bz2 historical-08c30159fe02e92e7f3a32a98d4f14c5dcdb8337.zip |
Version bump. Remove unused localisations before processing.
Package-Manager: portage-2.2.0_alpha118/cvs/Linux x86_64
Diffstat (limited to 'sys-boot/unetbootin')
-rw-r--r-- | sys-boot/unetbootin/ChangeLog | 7 | ||||
-rw-r--r-- | sys-boot/unetbootin/Manifest | 12 | ||||
-rw-r--r-- | sys-boot/unetbootin/unetbootin-578.ebuild | 84 |
3 files changed, 97 insertions, 6 deletions
diff --git a/sys-boot/unetbootin/ChangeLog b/sys-boot/unetbootin/ChangeLog index 217c36200de1..09b8d6e496dc 100644 --- a/sys-boot/unetbootin/ChangeLog +++ b/sys-boot/unetbootin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-boot/unetbootin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/ChangeLog,v 1.82 2012/07/08 14:09:57 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/ChangeLog,v 1.83 2012/07/16 19:08:22 jer Exp $ + +*unetbootin-578 (16 Jul 2012) + + 16 Jul 2012; Jeroen Roovers <jer@gentoo.org> +unetbootin-578.ebuild: + Version bump. Remove unused localisations before processing. *unetbootin-577 (08 Jul 2012) diff --git a/sys-boot/unetbootin/Manifest b/sys-boot/unetbootin/Manifest index 0d614535a191..13036e85308d 100644 --- a/sys-boot/unetbootin/Manifest +++ b/sys-boot/unetbootin/Manifest @@ -1,16 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 DIST unetbootin-source-575.tar.gz 731600 SHA256 a098a8683ee724a6dcc82027418d5bef15d1d88d81cafc7b98aa46f5d4b176ba SHA512 2547cc8a896ebbe4ade400d504917e497d173dd9db3cd720b124ae8d838118313cb6ee2b8341162db0fd6d0f0e5d44abc9fb497aa91bc91249e72607461666d1 WHIRLPOOL 519de9cc0c801c4b40416bd99d90bf87811da3b7ecd735ca2159e0d2d448d160761be4e9eabd05146f6cb9499a10c7664eeff76fa8d954cf9bd3374792a55abb DIST unetbootin-source-577.tar.gz 731696 SHA256 38307af98b3c2f912227d96c1cd2f6c5f1d69fdc844bff9acce66860ab1a383c SHA512 480de81d8901b4599684155df300942fb33c628305cd9555603836376a9f80d5042f9cc2000ba206c1581d55503b1c8426c8538ff03848e7c7d10c0209e2d34c WHIRLPOOL 74375e817bd2d71f2b021ac359507948da75a7b342971d7d9b84283a6fc41efceb23c638ae2668ecc8db83cbff4a8a1ffed575e56b78e2ce98d6e6f6c27dfd19 +DIST unetbootin-source-578.tar.gz 731923 SHA256 f21f6114c4acc76522123696c270e7a24f82a4c8bcdf691c95f0826599bd614c SHA512 c079f94ce28f897c25f20e2ad5230fc2f796211222309109556acf0c60fbdaa97ecf706af14ef269b602d55878e9ea8b168a74c571de73620066a73f4352f097 WHIRLPOOL dd88e6db3e57ed74d7acc972e555fc8543b63d0378b246d921edcaef3d59d32875041f9f60fef5fbd4a466bed4ff75f7c0e8d0a9448b69a9081c35d561dd6f56 EBUILD unetbootin-575.ebuild 1403 SHA256 e9a04e2ef85a54758f687436499444ce9403320cbe2375129fb30c9c49fffa70 SHA512 5228d713ddef9fd43bb7be18dd9fcb78fa5300bff35be80405128d55d92cd282c39c66e6896584602c71458fd870cbfb7ad4e86fd0ccaf1026bea24888bbb575 WHIRLPOOL 565474017d1e27f6331df71bc3cc00db67df0f557c4fcb8d656467956510c0a528ee0df50a2ac4f15e113203841f0058f288853d73156c13e10f430f38f64762 EBUILD unetbootin-577.ebuild 1404 SHA256 743edc1585865d1172ec1f6d951dcc8a8a7258cf1d5ed6cccf5f179290626c8b SHA512 d45a6eaa8371efafbcf1d500e8a4b61c5210e04b339847d22611bbbd9b0e3a8a8107acef1e2d85411a1c8d6d4fd186a77fa8f3154c19cf6028f7a6cf85577b7a WHIRLPOOL 86aff15c0ae8f279deee640cc473d5f59277b295190e02727b01eb260c01f82e5a734022a3b5415b232e98c5392250394798f55c87850ffb9e5fcce301a2cdae -MISC ChangeLog 10514 SHA256 eca02023b68345391eb907c6c8efafcfd841786b7fc1c3173f104f4749a2a740 SHA512 7611c27fce171718dfce70d5c7e95fed697077ae6a2ee7561dca59397bce909b64b0993c5dbe34d3b90dab1f6cbe89225091b39fd5ad4ff2f147e350db022a0e WHIRLPOOL 411505db8502cdd43e6d8ca03b26d17acdfb4a732423a910ce9d8c4119e0d71a2de65432f8836086e58295c2f7665ffbbd64479a7ff4766db42a33417c158eb1 +EBUILD unetbootin-578.ebuild 1946 SHA256 46350af0626f95d4a460df137ee20851c466305d6da1d913ae0253af1ffd0ac1 SHA512 0197f69e7b2165d36628eb5eef7edcdb6c18f3a1036123f256786bab503d5a74027d48e3ead69ca6b54597120c0829a5c41fc95be87d9a99caebf79d7610fed9 WHIRLPOOL 7212c185f1747b80859022039da03c039b435e26d8055711f4880c16bab73f59b97a9f05a73e6375a7bee4d26badeaafbb9be99fe4dc1aa1193043d9f6123a4d +MISC ChangeLog 10680 SHA256 ac5818cd828a9a25b28f8c1b31575da1520273af3c420ac4e91cc84821f9edcd SHA512 d2bc6a1a2a842fd02b6664c70dea925d81438213d59a322418255ce714fdb03079abbd65bb12f2b4b579f4b7600b1413451305cd5fa18ac102e3bd7dcb33eaf3 WHIRLPOOL 50e77ea23713360a6946b996823c0e0617c3d7b1a018a9c19ffe66384b948dc0dc8c9399bc08a54b4162c4191324cde8211d5aa22ba7ca8cb3b4b15f35e7e4ed MISC metadata.xml 226 SHA256 88817c5db4b254f26efc82b473413bba06447886ec74fce421d23f9e2fce32d3 SHA512 3add3c25669dbb90c2cadd16f8517098eb61adec5c1a65277ee92f6b7b4e2c7b47ae5dc4710cb04ca5ab85a1db1613ea8065a47d695f26644c7e8bbc89e3986a WHIRLPOOL e97e2e62289e7b2f7f2667ba416b597407ab7f8cda2d4e70f7d04ce42fc2f2dc6e47bbea3514004094973c0bfa95c91e453461d1ce22f8e03c792ce1049d6fce -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk/5lLsACgkQVWmRsqeSphNLLACcCeGaytE6A2an/RlJq77Hiprw -zC0Ani2yo9IGl2ZxGHAIff43iqT+SayZ -=2PbY +iEYEAREIAAYFAlAEZq0ACgkQVWmRsqeSphMLggCfcNOgOGBJRLJn0YB6YzPr7HG2 +lFgAn2MZXYTlrvR1tmWx/0LD4uJW4v4r +=N4Hy -----END PGP SIGNATURE----- diff --git a/sys-boot/unetbootin/unetbootin-578.ebuild b/sys-boot/unetbootin/unetbootin-578.ebuild new file mode 100644 index 000000000000..9c67ec1c8298 --- /dev/null +++ b/sys-boot/unetbootin/unetbootin-578.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/unetbootin/unetbootin-578.ebuild,v 1.1 2012/07/16 19:08:22 jer Exp $ + +EAPI="4" + +inherit 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 fi fo fr gl he hr hu id it ja lt + lv ml ms nan nb nl nn pl pt pt_BR ro ru 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="x11-libs/qt-gui" +RDEPEND="${DEPEND} + sys-fs/mtools + sys-boot/syslinux + app-arch/p7zip" + +src_prepare() { + # 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 + + # Put all localisation file names on a single line + sed -i ${PN}.pro \ + -e ':a;/unetbootin_[[:graph:]]*\.ts \\/{N;s|\\\n| |;s| ||g;ba}' \ + || die + + # Remove localisations + local lingua + for lingua in ${UNBI_LINGUAS}; do + if ! use linguas_${lingua}; then + sed -i ${PN}.pro -e "s| ${PN}_${lingua}.ts||g" || 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} + + insinto /usr/share/applications + doins ${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 ${LINGUAS}; do + insinto /usr/share/${PN} + doins ${PN}_${lingua}.qm + done +} |