app-emulation/spice: Call addpredict in appropriate function, bug #593388
authorMatthias Maier <tamiko@gentoo.org>
Sat, 10 Sep 2016 13:51:14 +0000 (08:51 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sat, 10 Sep 2016 13:57:49 +0000 (08:57 -0500)
Package-Manager: portage-2.2.28

app-emulation/spice/spice-0.12.7-r1.ebuild
app-emulation/spice/spice-0.13.1-r2.ebuild
app-emulation/spice/spice-0.13.2.ebuild
app-emulation/spice/spice-9999.ebuild

index cecdd6ec20ee4a995038c6864fccf4cf078258bc..568e3cc33d468b9f3a35a8a15d7122b1da399304 100644 (file)
@@ -39,10 +39,6 @@ DEPEND="
        smartcard? ( app-emulation/qemu[smartcard] )
        ${RDEPEND}"
 
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
 python_check_deps() {
        has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
        has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -67,6 +63,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
        econf \
                $(use_enable static-libs static) \
                $(use_with sasl) \
@@ -74,6 +75,15 @@ src_configure() {
                --disable-gui
 }
 
+src_compile() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
+       default
+}
+
 src_install() {
        default
        use static-libs || prune_libtool_files
index 80cf44adb644dc6a1e54de1aba2bbef81972a9e7..0a9437888f8b029d135fdf5066ce064f5164387f 100644 (file)
@@ -41,10 +41,6 @@ DEPEND="
        smartcard? ( app-emulation/qemu[smartcard] )
        ${RDEPEND}"
 
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
 python_check_deps() {
        has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
        has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -68,6 +64,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
        econf \
                $(use_enable static-libs static) \
                $(use_enable lz4) \
@@ -76,6 +77,15 @@ src_configure() {
                --disable-gui
 }
 
+src_compile() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
+       default
+}
+
 src_install() {
        default
        use static-libs || prune_libtool_files
index 0b41187a95f64056d7f8ee01983337ef69d507e3..6c589d98a9456e472a38750c90e1d77789cd82ce 100644 (file)
@@ -42,10 +42,6 @@ DEPEND="
        smartcard? ( app-emulation/qemu[smartcard] )
        ${RDEPEND}"
 
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
 python_check_deps() {
        has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
        has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -58,6 +54,11 @@ pkg_setup() {
 # maintainer notes:
 # * opengl support is currently broken
 src_configure() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
        local myconf="
                $(use_enable static-libs static)
                $(use_enable lz4)
@@ -70,6 +71,15 @@ src_configure() {
        econf ${myconf}
 }
 
+src_compile() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
+       default
+}
+
 src_install() {
        default
        use static-libs || prune_libtool_files
index a5f3f7fe07b55010933326dbe7edab74810babc9..03da5f1437034944d6bd5fd07ba31421f3b332f6 100644 (file)
@@ -42,10 +42,6 @@ DEPEND="
        smartcard? ( app-emulation/qemu[smartcard] )
        ${RDEPEND}"
 
-# Prevent sandbox violations, bug #586560
-# https://bugzilla.gnome.org/show_bug.cgi?id=581836
-addpredict /dev
-
 python_check_deps() {
        has_version ">=dev-python/pyparsing-1.5.6-r2[${PYTHON_USEDEP}]"
        has_version "dev-python/six[${PYTHON_USEDEP}]"
@@ -61,6 +57,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
        local myconf="
                $(use_enable static-libs static)
                $(use_enable lz4)
@@ -73,6 +74,15 @@ src_configure() {
        econf ${myconf}
 }
 
+src_compile() {
+       # Prevent sandbox violations, bug #586560
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+       # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+       addpredict /dev
+
+       default
+}
+
 src_install() {
        default
        use static-libs || prune_libtool_files