From 6e89371d1a603d6043175c908f40bb7998430378 Mon Sep 17 00:00:00 2001 From: geos_one Date: Thu, 3 Sep 2009 18:07:37 +0000 Subject: [PATCH] correct dependency on qt --- .../kde-misc/novell-qtgui/Manifest | 1 + .../novell-qtgui-3.0.508.17-r2.ebuild | 135 ++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 trunk/novell4gentoo/kde-misc/novell-qtgui/novell-qtgui-3.0.508.17-r2.ebuild diff --git a/trunk/novell4gentoo/kde-misc/novell-qtgui/Manifest b/trunk/novell4gentoo/kde-misc/novell-qtgui/Manifest index 0502942b..03cd889a 100644 --- a/trunk/novell4gentoo/kde-misc/novell-qtgui/Manifest +++ b/trunk/novell4gentoo/kde-misc/novell-qtgui/Manifest @@ -5,6 +5,7 @@ DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9 EBUILD novell-qtgui-3.0.508.12.ebuild 3933 RMD160 81a7ae98952d162c99e158d232ac2c142379312b SHA1 4ca2e300137871f40cff01a5ce8e5b90610d02b8 SHA256 07093f34e55f6886fb9ce82ca68072e56711b36c7c7828e8eda964d108e9a52c EBUILD novell-qtgui-3.0.508.17-r1.ebuild 4279 RMD160 81233fba557606aeec20c326980383d68be06f3a SHA1 d99fab66541d4611618c9a3410d20a5422e9a2cc SHA256 1604d11007e85821ad2692bb3702024aef65e0ed03fd4eb7ceb2e6ba7581021d +EBUILD novell-qtgui-3.0.508.17-r2.ebuild 4264 RMD160 0b2753ff28c68df5041bf11bd1f7de2778d918bf SHA1 8d09cd2cc818673a159c7818e348c3afd831a5d0 SHA256 06e40027a34b1847c58f31ef716ecf5d851fc1ffe0cd54871236a25fde141a20 EBUILD novell-qtgui-3.0.508.17.ebuild 3922 RMD160 f6369698156ce3b3dfb12f3f0fd0642020b16e16 SHA1 8ee7ec26c4b38a543724ab12bc3fa9e55b132dc1 SHA256 e13d1916dd740399062f1c825d82cd7b78d4365b37bcb09c428df64ac6b119c0 MISC ChangeLog 2663 RMD160 9685cdcd22af6db6df46a80b925c40a0c2168d1e SHA1 8d8badbcf173de05f652b39388be1d1391c01420 SHA256 649dca1a253a867e52cc83c59f16adaef3d71b3e6c340e56541798a7ca9252e1 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/kde-misc/novell-qtgui/novell-qtgui-3.0.508.17-r2.ebuild b/trunk/novell4gentoo/kde-misc/novell-qtgui/novell-qtgui-3.0.508.17-r2.ebuild new file mode 100644 index 00000000..36da02f1 --- /dev/null +++ b/trunk/novell4gentoo/kde-misc/novell-qtgui/novell-qtgui-3.0.508.17-r2.ebuild @@ -0,0 +1,135 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 + +NOVELL_BUILDID="_xf1ppPR2xA~" +NOVELL_FILE32="novell-client-2.0-sp2-sle11-i586.iso" +NOVELL_FILE64="novell-client-2.0-sp2-sle11-x86_64.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm5 qt4 versionator + +MY_PVV=$(replace_version_separator 3 '-' $(replace_version_separator 2 '_') ) +MY_PV="${MY_PVV/_/.b}" + +DESCRIPTION="Novell Client UI Base" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="linguas_cs linguas_de linguas_da linguas_en linguas_es linguas_fi linguas_fr linguas_hu linguas_it linguas_ja linguas_nb linguas_pl linguas_pt linguas_ru linguas_sk linguas_zh" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + virtual/fam + net-misc/novell-client-env + >=net-fs/novell-novfsd-3.0.0.14 + >=dev-libs/expat-2.0 + >=net-nds/openldap-2.4 + >=dev-libs/openssl-0.9.8f + >=net-libs/openslp-1.2.1 + >=kde-misc/novell-ui-base-3.0.508.5 + >=kde-base/kdelibs-3.5.1 + >=media-libs/fontconfig-2.3.1 + >=media-libs/freetype-1.3.1 + >=media-libs/libart_lgpl-2.3.17 + >=media-libs/libpng-1.2.8 + >=net-dns/libidn-0.6.0 + >=sys-apps/acl-2.2.34 + >=sys-apps/attr-2.4.28 + >=sys-libs/pam-0.99.3 + >=sys-libs/novell-xplatlib-1.0.3.39 + >=x11-libs/libICE-1.0 + >=x11-libs/libSM-1.0 + >=x11-libs/libX11-1.0 + >=x11-libs/libXcursor-1.1 + >=x11-libs/libXext-1.0 + >=x11-libs/libXft-2.0 + >=x11-libs/libXi-1.0 + >=x11-libs/libXinerama-1.0 + >=x11-libs/libXrandr-1.1 + >=x11-libs/libXrender-0.9 + >=x11-libs/libXau-1.0 + >=x11-libs/libxcb-1.0 + >=sys-devel/gcc-4.2 + >=sys-libs/zlib-1.2.3" + +src_unpack() { + cd "${WORKDIR}" + if use x86 + then + narch=i586 + nlib=lib + 7z x "${DISTDIR}"/${NOVELL_FILE32} + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x "${DISTDIR}"/${NOVELL_FILE64} + fi + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm5_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + if has_version ">x11-libs/libxcb-1.1.90.1"; then + ewarn "this binary package has been build for xcb <=1.1.90.1" + ewarn " the binary patch only works with the command line tools" + for f in $(<${FILESDIR}/xcb-xlib-fix-list) ; do + einfo "binary patch ${f}" + sed -i 's/libxcb-xlib/libxcb-sync/g' "${WORKDIR}"/${PN}-${MY_PV}/${f} + done + fi + + for x in cs de da en es fi fr hu it ja nb pl pt ru sk zh + do + if use linguas_${x} + then + cp "${WORKDIR}"/${PN}-${MY_PV}/usr/share/locale/${x}*/LC_MESSAGES/${PN}.mo "${WORKDIR}"/${x}.mo + domo "${WORKDIR}"/${x}.mo + fi + done + into /opt/novell + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/${nlib}/* + into /opt/novell/ncl + dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/* + exeinto /opt/novell/ncl/bin/lscript + doexe "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/lscript/* + exeinto /opt/novell/ncl/bin/metascripts + doexe "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/metascripts/* + insinto /usr/share/applications/ + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/share/applications/*.desktop + insinto /usr/share/icons + doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/kde3/share/icons/* + doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/* + dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/* +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + if use x86 + then + einfo " - ${NOVELL_FILE32}" + elif use amd64 + then + einfo " - ${NOVELL_FILE64}" + fi + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place it in ${DISTDIR}" + einfo "" + einfo "To get rid of downloading files from ${HOMEPAGE}" + einfo "you can create a file /etc/portage/novell.acc" + einfo "containing the novell account infos with following commands" + einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" + einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" +}