mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 05:41:12 +02:00
catalyst: unfork
This commit is contained in:
parent
2b6787e566
commit
9502dc987d
3 changed files with 0 additions and 135 deletions
|
|
@ -1,2 +0,0 @@
|
|||
AUX unfuck_firmware.patch 667 SHA256 88e5b57c438d3d325ef883465be3877aaaee8e7d34e619b27edc05a8ddfe4ac0 SHA512 b3efabe57b37bc0e80f279c39d2ae90f9591b48d4c96815e22886c4c9708f6e10d10f691ab05538265af6962bf7021831e70a27500f112855d205df149ff3e08 WHIRLPOOL 712259302c1d2b57b0bd81592f42ba3133860e47dab00fa5776f6d65a2a4646dddc3675ede175874212a29cf497f9d5a05506badab35541ec81a2fb3ad17f4c3
|
||||
EBUILD catalyst-9999.ebuild 3567 SHA256 ca4eaf32f0e81167e8b446e40f52ce251629b80e55517d3e2e0e06f98b92d5b9 SHA512 ce1e6e7f05f597b3b0205cdf665441a0155b27c3a95e115ddc8cefea373b030fbd8349d104bed6247d5b181f3ae8d2f6ecc7716a66f95f7363431bda7d053bae WHIRLPOOL 0d73f05c685b7720db6780d3e203a737b72ac820e5f8aab22b886337783e8039c1a1bea3c2236745f45e3ec4693e220b1c1ef73d12d419cbfc8c805e2667c202
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-9999.ebuild,v 1.28 2013/04/13 07:04:57 mattst88 Exp $
|
||||
|
||||
# catalyst-9999 -> latest Git
|
||||
# catalyst-2.9999 -> catalyst_2 branch from Git
|
||||
# catalyst-3.9999 -> catalyst_3 branch from Git
|
||||
# catalyst-VER -> normal catalyst release
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
KEYWORDS=""
|
||||
|
||||
case ${PV} in
|
||||
2.9999) EGIT_BRANCH="catalyst_2" ;;
|
||||
3.9999) EGIT_BRANCH="catalyst_3" ;;
|
||||
esac
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
fi
|
||||
inherit eutils multilib python
|
||||
|
||||
DESCRIPTION="release metatool used for creating releases based on Gentoo Linux"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT=""
|
||||
IUSE="ccache kernel_linux"
|
||||
|
||||
DEPEND="app-text/asciidoc"
|
||||
RDEPEND="app-arch/lbzip2
|
||||
app-crypt/shash
|
||||
virtual/cdrtools
|
||||
x86? ( >=sys-boot/syslinux-3.72 )
|
||||
amd64? ( >=sys-boot/syslinux-3.72 )
|
||||
ccache? ( dev-util/ccache )
|
||||
ia64? ( sys-fs/dosfstools )
|
||||
kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use ccache ; then
|
||||
einfo "Enabling ccache support for catalyst."
|
||||
else
|
||||
ewarn "By default, ccache support for catalyst is disabled."
|
||||
ewarn "If this is not what you intended,"
|
||||
ewarn "then you should add ccache to your USE."
|
||||
fi
|
||||
echo
|
||||
einfo "The template spec files are now installed by default. You can find"
|
||||
einfo "them under /usr/share/doc/${PF}/examples"
|
||||
einfo "and they are considered to be the authorative source of information"
|
||||
einfo "on catalyst."
|
||||
echo
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
ewarn "The ${EGIT_BRANCH:-master} branch (what you get with this ${PV} ebuild) contains"
|
||||
ewarn "work-in-progress code. Be aware that it's likely that it will not"
|
||||
ewarn "be in a working state at any given point. Please do not file bugs"
|
||||
ewarn "until you have posted on the gentoo-catalyst mailing list and we"
|
||||
ewarn "have asked you to do so."
|
||||
fi
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 catalyst modules/catalyst_lock.py
|
||||
epatch "${FILESDIR}"/unfuck_firmware.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe catalyst || die "copying catalyst"
|
||||
if [[ ${PV} == 3.9999* ]]; then
|
||||
doins -r modules files || die "copying files"
|
||||
else
|
||||
doins -r arch modules livecd || die "copying files"
|
||||
fi
|
||||
for x in targets/*; do
|
||||
exeinto /usr/$(get_libdir)/${PN}/$x
|
||||
doexe $x/* || die "copying ${x}"
|
||||
done
|
||||
make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
|
||||
insinto /etc/catalyst
|
||||
doins files/catalyst.conf files/catalystrc || die "copying configuration"
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/* || die
|
||||
dodoc README AUTHORS
|
||||
doman files/catalyst.1 files/catalyst-spec.5
|
||||
# Here is where we actually enable ccache
|
||||
use ccache && \
|
||||
dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
|
||||
/etc/catalyst/catalyst.conf
|
||||
dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
|
||||
/etc/catalyst/catalyst.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "You can find more information about catalyst by checking out the"
|
||||
einfo "catalyst project page at:"
|
||||
einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
|
||||
echo
|
||||
}
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh
|
||||
index fda3e36..a37332d 100644
|
||||
--- a/targets/support/livecdfs-update.sh
|
||||
+++ b/targets/support/livecdfs-update.sh
|
||||
@@ -220,17 +220,6 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
-# Create firmware directory if it does not exist
|
||||
-[ ! -d /lib/firmware ] && mkdir -p /lib/firmware
|
||||
-
|
||||
-# tar up the firmware so that it does not get clobbered by the livecd mounts
|
||||
-if [ -n "$(ls /lib/firmware)" ]
|
||||
-then
|
||||
- cd /lib/firmware
|
||||
- /bin/tar -I bzip2 -cpf /lib/firmware.tar.bz2 .
|
||||
- rm -rf /lib/firmware/*
|
||||
-fi
|
||||
-
|
||||
# Clear out locales
|
||||
case ${clst_livecd_type} in
|
||||
gentoo-release-minimal|gentoo-release-universal|gentoo-gamecd)
|
||||
Loading…
Reference in a new issue