/[gentoo-x86]/eclass/kde4-meta.eclass
Gentoo

Diff of /eclass/kde4-meta.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.43 Revision 1.47
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.43 2010/09/15 11:06:33 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.47 2010/12/29 17:56:34 tampakrap Exp $
4# 4#
5# @ECLASS: kde4-meta.eclass 5# @ECLASS: kde4-meta.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: Eclass for writing "split" KDE packages. 8# @BLURB: Eclass for writing "split" KDE packages.
218 tarball="kdebase-${PV}.tar.${postfix}" 218 tarball="kdebase-${PV}.tar.${postfix}"
219 # Go one level deeper for kdebase-apps in tarballs 219 # Go one level deeper for kdebase-apps in tarballs
220 moduleprefix=apps/ 220 moduleprefix=apps/
221 KMTARPARAMS+=" --transform=s|apps/||" 221 KMTARPARAMS+=" --transform=s|apps/||"
222 ;; 222 ;;
223 kdepim)
224 if [[ ${PV} == 4.5.93 ]] ; then
225 tarball="kdepim-4.6beta3.tar.${postfix}"
226 else
227 tarball="${KMNAME}-${PV}.tar.${postfix}"
228 fi
229 ;;
223 *) 230 *)
224 # Create tarball name from module name (this is the default) 231 # Create tarball name from module name (this is the default)
225 tarball="${KMNAME}-${PV}.tar.${postfix}" 232 tarball="${KMNAME}-${PV}.tar.${postfix}"
226 ;; 233 ;;
227 esac 234 esac
243 extractlist+=" ${topdir}${moduleprefix}${f}" 250 extractlist+=" ${topdir}${moduleprefix}${f}"
244 done 251 done
245 extractlist+=" $(__list_needed_subdirectories)" 252 extractlist+=" $(__list_needed_subdirectories)"
246 253
247 pushd "${WORKDIR}" > /dev/null 254 pushd "${WORKDIR}" > /dev/null
248 [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} >&2 255 [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist}
249 tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} 2> /dev/null 256 tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} || ewarn "tar extract command failed at least partially - continuing anyway"
250 257
251 # Default $S is based on $P; rename the extracted directory to match $S if necessary 258 # Default $S is based on $P; rename the extracted directory to match $S if necessary
252 mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\"" 259 mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\""
253 260
254 popd > /dev/null 261 popd > /dev/null
354 KMEXTRACTONLY+=" 361 KMEXTRACTONLY+="
355 kdeutils-version.h" 362 kdeutils-version.h"
356 ;; 363 ;;
357 koffice) 364 koffice)
358 KMEXTRACTONLY+=" 365 KMEXTRACTONLY+="
359 config-endian.h.cmake
360 filters/config-filters.h.cmake 366 filters/config-filters.h.cmake
361 config-openexr.h.cmake
362 config-opengl.h.cmake
363 config-prefix.h.cmake
364 " 367 "
365 case ${PV} in 368 case ${PV} in
366 2.0.*) 369 2.0.*)
367 KMEXTRACTONLY+=" 370 KMEXTRACTONLY+="
368 config-openctl.h.cmake" 371 config-openctl.h.cmake
372 config-endian.h.cmake
373 config-openexr.h.cmake
374 config-opengl.h.cmake
375 config-prefix.h.cmake"
376 ;;
377 2.[12].*)
378 KMEXTRACTONLY+="
379 config-endian.h.cmake
380 config-openexr.h.cmake
381 config-opengl.h.cmake
382 config-prefix.h.cmake"
369 ;; 383 ;;
370 esac 384 esac
371 ;; 385 ;;
372 esac 386 esac
373 # Don't install cmake modules for split ebuilds, to avoid collisions. 387 # Don't install cmake modules for split ebuilds, to avoid collisions.

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.20