chithanh    14/06/05 13:01:55

  Modified:             ChangeLog
  Added:                linux-firmware-20140603.ebuild
  Log:
  New snapshot.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.94                 sys-kernel/linux-firmware/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.94&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?rev=1.94&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/ChangeLog?r1=1.93&r2=1.94

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- ChangeLog   6 Apr 2014 14:45:32 -0000       1.93
+++ ChangeLog   5 Jun 2014 13:01:55 -0000       1.94
@@ -1,6 +1,12 @@
 # ChangeLog for sys-kernel/linux-firmware
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.93 
2014/04/06 14:45:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/ChangeLog,v 1.94 
2014/06/05 13:01:55 chithanh Exp $
+
+*linux-firmware-20140603 (05 Jun 2014)
+
+  05 Jun 2014; Chí-Thanh Christopher Nguyễn <chith...@gentoo.org>
+  +linux-firmware-20140603.ebuild:
+  New snapshot.
 
   06 Apr 2014; Mike Frysinger <vap...@gentoo.org>
   linux-firmware-20130728.ebuild, linux-firmware-20131230.ebuild,



1.1                  sys-kernel/linux-firmware/linux-firmware-20140603.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild?rev=1.1&content-type=text/plain

Index: linux-firmware-20140603.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20140603.ebuild,v
 1.1 2014/06/05 13:01:55 chithanh Exp $

EAPI=5
inherit savedconfig

if [[ ${PV} == 99999999* ]]; then
        inherit git-2
        SRC_URI=""
        
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
        KEYWORDS=""
else
        SRC_URI="mirror://gentoo/${P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
fi

DESCRIPTION="Linux firmware files"
HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git";

LICENSE="GPL-1 GPL-2 GPL-3 BSD freedist"
SLOT="0"
IUSE="savedconfig"

DEPEND=""
RDEPEND="!savedconfig? (
                !sys-firmware/alsa-firmware[alsa_cards_ca0132]
                !sys-firmware/alsa-firmware[alsa_cards_korg1212]
                !sys-firmware/alsa-firmware[alsa_cards_maestro3]
                !sys-firmware/alsa-firmware[alsa_cards_sb16]
                !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
                !media-tv/cx18-firmware
                !<sys-firmware/ivtv-firmware-20080701-r1
                !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
                !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
                !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
                !net-dialup/ueagle-atm
                !net-dialup/ueagle4-atm
                !net-wireless/ar9271-firmware
                !net-wireless/i2400m-fw
                !net-wireless/libertas-firmware
                !sys-firmware/rt61-firmware
                !net-wireless/rt73-firmware
                !net-wireless/rt2860-firmware
                !net-wireless/rt2870-firmware
                !sys-block/qla-fc-firmware
                !sys-firmware/amd-ucode
                !sys-firmware/iwl1000-ucode
                !sys-firmware/iwl2000-ucode
                !sys-firmware/iwl2030-ucode
                !sys-firmware/iwl3945-ucode
                !sys-firmware/iwl4965-ucode
                !sys-firmware/iwl5000-ucode
                !sys-firmware/iwl5150-ucode
                !sys-firmware/iwl6000-ucode
                !sys-firmware/iwl6005-ucode
                !sys-firmware/iwl6030-ucode
                !sys-firmware/iwl6050-ucode
                !sys-firmware/iwl3160-ucode
                !sys-firmware/iwl7260-ucode
                !sys-firmware/iwl3160-7260-bt-ucode
                !x11-drivers/radeon-ucode
        )"
#add anything else that collides to this

src_unpack() {
        if [[ ${PV} == 99999999* ]]; then
                git-2_src_unpack
        else
                default
                # rename directory from git snapshot tarball
                mv ${PN}-*/ ${P} || die
        fi
}

src_prepare() {
        echo "# Remove files that shall not be installed from this list." > 
${PN}.conf
        find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf

        if use savedconfig; then
                restore_config ${PN}.conf
                ebegin "Removing all files not listed in config"
                find * \( \! -type d -and \! -name ${PN}.conf \) \
                        | sort ${PN}.conf ${PN}.conf - \
                        | uniq -u | xargs -r rm
                eend $? || die
                # remove empty directories, bug #396073
                find -type d -empty -delete || die
        fi
}

src_install() {
        save_config ${PN}.conf
        rm ${PN}.conf || die
        insinto /lib/firmware/
        doins -r *
}

pkg_preinst() {
        if use savedconfig; then
                ewarn "USE=savedconfig is active. You must handle file 
collisions manually."
        fi
}

pkg_postinst() {
        elog "If you are only interested in particular firmware files, edit the 
saved"
        elog "configfile and remove those that you do not want."
}




Reply via email to