mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-eselect/eselect-wxwidgets: Remove old
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST eselect-wxwidgets-20140423.tar.xz 6792 SHA256 e97d5734f4b0e314abdaa1a9ee148cdafed74e1cdc036e01e6ac74599736e1bb SHA512 0d83e0b6979803c8a02c20ac33a42c91fd8d350c095e26704a80c1913309f0e7d741cc466ab22e0a6ce4773deab21ca80756299a12a83d441ded968531003d0e WHIRLPOOL 31108a15a0f3774c7a5959de946c741b758d818f1dbf09f96d633e354c086863684f431a6ac59a63f559f0c65482f790a95c7dc431dc91b7b48ec4e4a2c9c730
|
||||
DIST wxwidgets.eselect-1.4.bz2 2375 SHA256 630d2a79e3c1a124a124a81db1213e1c036a5c49a5bf06a328b164d997725386 SHA512 02cd876c040d2ea2589527530e7c570c94a1ca7cae867488ec5cf4509d21386d89cb128364aff80d64d0aa29e334209f02abb6e7baf890ff9bb0c22f606fc8fd WHIRLPOOL a3d0c88cba4634d1b390f912b3bc1750f2ef06cf2d5865c3a5c958538f7fc0c664edb59693340d5c7a1e3cb4e49737400a932c14841a77ec19bff07860d99514
|
||||
DIST wxwidgets.eselect-20131230.bz2 2228 SHA256 7c3c87931b6887cf1e6c486b17fb71fefcdf6fcf8089fe09d7f70ae17e3e0722 SHA512 0406cfbc5c39d2e65b22d0e8d70ea08ea9e348342d7bc1725dd8655fdedd883fd29e14263ad95737523d6285e081ef4558c4dec00c4a9ea9b9ef01ce537978e5 WHIRLPOOL 60a0ea44ddf1faab42a63f3717aa9d1234713eb40897025b7de8ad7f64f3a77c3399f084eb3a67e236b42963d7d793f0026ea17c10ffd3328fa109218a3deebe
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
WXWRAP_VER=1.3
|
||||
WXESELECT_VER=1.4
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="mirror://gentoo/wxwidgets.eselect-${WXESELECT_VER}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!<=x11-libs/wxGTK-2.6.4.0-r2"
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${S}"/wxwidgets.eselect-${WXESELECT_VER} wxwidgets.eselect \
|
||||
|| die "Failed installing module"
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins "${FILESDIR}"/wxwin.m4-2.9 wxwin.m4 || die "Failed installing m4"
|
||||
|
||||
newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config \
|
||||
|| die "Failed installing wx-config"
|
||||
newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc \
|
||||
|| die "Failed installing wxrc"
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "By default the system wxWidgets profile is set to \"none\"."
|
||||
elog
|
||||
elog "It is unnecessary to change this unless you are doing development work"
|
||||
elog "with wxGTK outside of portage. The package manager ignores the profile"
|
||||
elog "setting altogether."
|
||||
echo
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
WXWRAP_VER=1.3
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~dirtyepic/dist/wxwidgets.eselect-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${S}"/wxwidgets.eselect-${PV} wxwidgets.eselect
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4
|
||||
|
||||
newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config
|
||||
newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "This eselect module only controls the version of wxGTK used when"
|
||||
elog "building packages outside of portage. If you are not doing development"
|
||||
elog "with wxWidgets or bakefile you will never need to use it."
|
||||
echo
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh -
|
||||
# $Id$
|
||||
#
|
||||
# /usr/bin/wx-config
|
||||
#
|
||||
# a lame wx-config wrapper (bugs to wxwidgets@gentoo.org)
|
||||
|
||||
_wxerror() {
|
||||
cat >&2 <<- EOF
|
||||
An error occurred while calling wx-config:
|
||||
|
||||
${1}
|
||||
|
||||
Please use \`eselect wxwidgets\` to select an available profile and try again.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ -n "${WX_ECLASS_CONFIG}" ]; then
|
||||
${WX_ECLASS_CONFIG} "$@"
|
||||
exit 0
|
||||
else
|
||||
if [ -e /var/lib/wxwidgets/current ]; then
|
||||
. /var/lib/wxwidgets/current
|
||||
else
|
||||
_wxerror "Cannot find the wxWidgets profile configuration ( /var/lib/wxwidgets/current )"
|
||||
fi
|
||||
|
||||
[ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected"
|
||||
|
||||
if [ -x /usr/lib/wx/config/${WXCONFIG} ]; then
|
||||
/usr/lib/wx/config/${WXCONFIG} "$@"
|
||||
else
|
||||
_wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh -
|
||||
# $Id$
|
||||
#
|
||||
# /usr/bin/wxrc
|
||||
#
|
||||
# a lame wxrc wrapper (bugs to wxwidgets@gentoo.org)
|
||||
|
||||
_wxerror() {
|
||||
cat >&2 <<- EOF
|
||||
An error occurred while calling wxrc:
|
||||
|
||||
${1}
|
||||
|
||||
Please use \`eselect wxwidgets\` to select an available profile and try again.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ -n "${WX_ECLASS_CONFIG}" ]; then
|
||||
$(${WX_ECLASS_CONFIG} --utility=wxrc) "$@"
|
||||
exit 0
|
||||
else
|
||||
if [ -e /var/lib/wxwidgets/current ]; then
|
||||
. /var/lib/wxwidgets/current
|
||||
else
|
||||
_wxerror "Cannot find the wxWidgets profile configuration ( /var/lib/wxwidgets/current )"
|
||||
fi
|
||||
|
||||
[ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected"
|
||||
|
||||
if [ -x /usr/lib/wx/config/${WXCONFIG} ]; then
|
||||
$(/usr/lib/wx/config/${WXCONFIG} --utility=wxrc) "$@"
|
||||
else
|
||||
_wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user