games-fps/quake1-data: use blocker instead of pkg_setup code (bug #581536)
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 4 May 2016 20:13:09 +0000 (16:13 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 4 May 2016 20:41:53 +0000 (16:41 -0400)
Package-Manager: portage-2.2.26

games-fps/quake1-data/quake1-data-2.40.ebuild

index 03074c5b58146cd16b0c6cea04bc139309fbc24c..602e5db9bf876486bb6153aaa77bd16ce395037c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,20 +20,10 @@ KEYWORDS="amd64 ~ia64 ppc x86"
 IUSE=""
 
 DEPEND="app-arch/lha"
-RDEPEND=""
+RDEPEND="!games-fps/quake1-demodata[symlink]"
 
 S=${WORKDIR}
 
-pkg_setup() {
-       games_pkg_setup
-
-       if has_version games-fps/quake1-demodata && \
-          ! has_version "games-fps/quake1-demodata[symlink]" ; then
-               eerror "The symlink for the demo data conflicts with the cdinstall data"
-               die "Unmerge games-fps/quake1-demodata to remove the conflict"
-       fi
-}
-
 src_unpack() {
        export CDROM_NAME_SET=("Existing Install" "Quake CD (1.01)" "Ultimate Quake Collection" "Quake CD (newer)")
        cdrom_get_cds id1:q101_int.1:Setup/ID1:resource.1