summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSardem FF7 <sardemff7.pub@gmail.com>2010-07-12 12:15:44 +0200
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2010-07-12 13:29:21 +0200
commit29a3bdd79befb91e0af8595fb711ae932370c402 (patch)
tree8f973eca77a7c6c620aab2536c186dd638232568
parentdisable paludis patches for now (diff)
downloadkeruspe-29a3bdd79befb91e0af8595fb711ae932370c402.tar.gz
keruspe-29a3bdd79befb91e0af8595fb711ae932370c402.tar.bz2
keruspe-29a3bdd79befb91e0af8595fb711ae932370c402.zip
Add clients USE flags to paludis Enable paludis and cave by default Create a little function to format lists that paludis needs (comma-separated) from space-separated lists
-rw-r--r--profiles/use.local.desc10
-rw-r--r--sys-apps/paludis/paludis-9999.ebuild22
2 files changed, 23 insertions, 9 deletions
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 0d21d076..bf99b288 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -19,6 +19,14 @@ net-im/empathy:map - Enable geolocalisation stuff
net-libs/webkit-gtk:geoclue - Enable geoclue support (geolocation)
net-misc/networkmanager:modem - Enable modemmanager
sys-apps/paludis:ask - Enable ask option (not supported upstream)
-sys-apps/paludis:cave - Enable cave client (experimental)
sys-apps/paludis:sort-world - Sort the world file when modifying it (not supported upstream)
+sys-apps/paludis:accerso - Enable accerso client
+sys-apps/paludis:adjutrix - Enable adjutrix client
+sys-apps/paludis:appareo - Enable appareo client: Repository metadatas creator/updater
+sys-apps/paludis:cave - Enable cave client: Powerful futurist client
+sys-apps/paludis:importare - Enablei importar client: Allow import of manually built app
+sys-apps/paludis:inquisitio - Enable inquisitio client: Search client for paludis
+sys-apps/paludis:instruo - Enable instruo client
+sys-apps/paludis:paludis - Enable paludis client: Default client
+sys-apps/paludis:reconcilio - Enable reconcilio client: Link fix client for paludis
sys-boot/grub:efi - Build grub for EFI
diff --git a/sys-apps/paludis/paludis-9999.ebuild b/sys-apps/paludis/paludis-9999.ebuild
index 527d5368..02b78da4 100644
--- a/sys-apps/paludis/paludis-9999.ebuild
+++ b/sys-apps/paludis/paludis-9999.ebuild
@@ -12,7 +12,11 @@ DESCRIPTION="paludis, the other package mangler"
HOMEPAGE="http://paludis.pioto.org/"
SRC_URI=""
-IUSE="ask cran doc gems inquisitio portage pink python-bindings
+CLIENTS_USE="accerso adjutrix appareo +cave importare inquisitio instruo +paludis reconcilio"
+#use cave || CLIENTS_USE+=" +inquisitio +reconcilio"
+
+IUSE="${CLIENTS_USE}
+ask cran doc gems portage pink python-bindings
ruby-bindings sort-world vim-syntax visibility xml zsh-completion"
LICENSE="GPL-2 vim-syntax? ( vim )"
SLOT="0"
@@ -73,10 +77,12 @@ src_unpack() {
}
src_compile() {
- local repositories=`echo default repository unavailable unpackaged $(usev cran ) $(usev gems ) | tr -s \ ,`
- local clients=`echo default accerso appareo adjutrix cave importare \
- $(usev inquisitio ) instruo paludis reconcilio | tr -s \ ,`
- local environments=`echo default $(usev portage ) | tr -s \ ,`
+ format_list() { echo default $@ | tr -s \ ,; }
+ local repositories="repository unavailable unpackaged $(usev cran) $(usev gems)"
+ local clients="$(usev accerso) $(usev appareo) $(usev adjutrix) \
+ $(usev cave) $(usev importare) $(usev inquisitio) \
+ $(usev instruo) $(usev paludis) $(usev reconcilio)"
+ local environments="$(usev portage)"
econf \
$(use_enable doc doxygen ) \
$(use_enable pink ) \
@@ -88,9 +94,9 @@ src_compile() {
$(use_enable visibility ) \
$(use_enable xml ) \
--with-vim-install-dir=/usr/share/vim/vimfiles \
- --with-repositories=${repositories} \
- --with-clients=${clients} \
- --with-environments=${environments} \
+ --with-repositories=$(format_list ${repositories}) \
+ --with-clients=$(format_list ${clients}) \
+ --with-environments=$(format_list ${environments}) \
--with-git-head="$(git rev-parse HEAD)" \
|| die "econf failed"