parent
cf06ac612f
commit
382669113a
@ -1,8 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
AUX README.gentoo 108 RMD160 b76f95daf65ceb40fb435f11d5e46b2e8349f7e1 SHA1 e11e700d1c0fabb788ede1869fa9d6db003ec75a SHA256 7b3b19b2112b35f160af2a10de2fb9875419195946d174b22f980e975b03cefc
|
||||
AUX epos-2.5.37-disable-tests.patch 579 RMD160 bf2cf3bf87abb368c33ac533401d49f1b4e36e7d SHA1 bc2f1478ea4fe8d5007eee44ff73b012b5b96f20 SHA256 77d42d7f6a93cf358d6c39fb912657fe48e5d03d551ef02adf3729f30269c50e
|
||||
AUX epos-2.5.37-gcc43.patch 504 RMD160 3192e1eedf0d7afcfb0a90898c5afb4c95ac7460 SHA1 4a25ee786301270d261d681ffdd879bfbb3e3435 SHA256 92968fe28cff365e0ef25608b0f90dbb1139dec141fae4f720771abab6b36bc5
|
||||
AUX epos-2.5.37-gcc45.patch 503 RMD160 a27306b3797ef0fe461bf9ab68809d8acc4c44ba SHA1 413111a33b99bd26152bc809ed122af819a95413 SHA256 55924fc73ed5e95a3839d753c467093494ecff4e81a3062fb99425fedd9ea877
|
||||
AUX eposd 547 RMD160 6598339265ef23130ad36616f94c6e9714f6485d SHA1 d9ff81698c9ec9e7f4969d805dc46a9712f9123e SHA256 f5298a96fd40c960759d191184a1238f22ac30821130b5f0a1eb7abc53ec22f5
|
||||
DIST epos-2.5.37.tar.gz 976240 RMD160 d44ba2a7235e6cc26f61a9bf36ada27539813af4 SHA1 de99a63f6fdf2692497b0da38da14a09bbbf9bd7 SHA256 7b6e835d4db4f64cfdcf3359d84b6b0ed02e8fb89851aed7615768f7d07c8607
|
||||
EBUILD epos-2.5.37-r1.ebuild 982 RMD160 ddce387d5e9e0e6c0d0c1a97153cdc7a624fc732 SHA1 1d71baa657fca9853e7984a33e757fbe543a9ad7 SHA256 38f8bccb1a81fdcb1508d754e291777fc443ac2e1473ca79dfe42b08d46f803a
|
||||
MISC ChangeLog 5237 RMD160 ed8356f019c5840a2946502797cb64a08f6f12f1 SHA1 fd65242f1d15b504a9d9c4b49d8ee372f1505492 SHA256 0c06b57160fae571232bb4fc340d6f62cdce843ee221a106dcf282c393a27169
|
||||
EBUILD epos-2.5.37-r1.ebuild 931 RMD160 0ab35a7d55136e4b5a731db5411f3b6ae6e69a3e SHA1 9728ad60de0bc83728255056df270dd210314eab SHA256 749478d0e1b0775ee44e6b8a86d5c586b7561f14b0ad342a390eb4a2227bdab0
|
||||
MISC ChangeLog 5513 RMD160 30ea352ad5d62b4ebbc0e02d75a899a4d52d10d8 SHA1 260c46eff75daff39fae00a1db12fa98061faf3b SHA256 c12afee72674ffa5299719cb06dd69f10cf572274f910a2094300217a24cb329
|
||||
MISC metadata.xml 167 RMD160 748756d87964a656252634c3b174df2cf3d6feb0 SHA1 f15052c659417013d87758244f8f0dbf3edf0e11 SHA256 faea5d20797fb2bd27f84fe03dd6f85939e51c0f2c467676ea62bab4041bf7f5
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iEYEARECAAYFAk+JCx4ACgkQdIssYB9vBoNEJACfRrVWalRL/iIzHHyHm2GPQVO6
|
||||
n8QAn1i49Uf1eitzB1knU32UXkrkXCox
|
||||
=c6mG
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,16 @@
|
||||
diff -uNr epos-2.5.37.org/src/tests/Makefile.am epos-2.5.37/src/tests/Makefile.am
|
||||
--- epos-2.5.37.org/src/tests/Makefile.am 2012-04-14 00:38:56.000000000 -0400
|
||||
+++ epos-2.5.37/src/tests/Makefile.am 2012-04-14 00:39:10.000000000 -0400
|
||||
@@ -1,11 +1,9 @@
|
||||
## Process this file with automake run in the top directory to yield Makefile.in
|
||||
|
||||
TESTS=hard_zero_data_test \
|
||||
- intr_test \
|
||||
- legal_data_test long_data_test long_strm_test \
|
||||
+ legal_data_test long_data_test \
|
||||
random_data_test \
|
||||
soft_zero_data_test \
|
||||
- syn2_test \
|
||||
vogon_test \
|
||||
shutdown_test
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.1.3.ebuild,v 1.1 2011/11/11 00:21:13 xmw Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# ssl module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Bcfg2 is a configuration management tool."
|
||||
HOMEPAGE="http://bcfg2.org"
|
||||
|
||||
# handle the "pre" case
|
||||
MY_P="${P/_/}"
|
||||
SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="server"
|
||||
|
||||
DEPEND="app-portage/gentoolkit
|
||||
server? (
|
||||
dev-python/lxml
|
||||
app-admin/gam-server )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="Bcfg2"
|
||||
|
||||
distutils_src_install_post_hook() {
|
||||
if ! use server; then
|
||||
rm -f "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/sbin/bcfg2-"*
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install --record=PY_SERVER_LIBS --install-scripts "${EPREFIX}/usr/sbin"
|
||||
|
||||
# Remove files only necessary for a server installation
|
||||
if ! use server; then
|
||||
rm -rf "${ED}usr/share/bcfg2"
|
||||
rm -rf "${ED}usr/share/man/man8"
|
||||
fi
|
||||
|
||||
# Install a server init.d script
|
||||
if use server; then
|
||||
newinitd "${FILESDIR}/bcfg2-server.rc" bcfg2-server
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins examples/bcfg2.conf || die "doins failed"
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
distutils_pkg_postinst
|
||||
|
||||
if use server; then
|
||||
einfo "If this is a new installation, you probably need to run:"
|
||||
einfo " bcfg2-admin init"
|
||||
fi
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.2.0_rc2.ebuild,v 1.1 2011/11/11 00:21:13 xmw Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# ssl module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Bcfg2 is a configuration management tool."
|
||||
HOMEPAGE="http://bcfg2.org"
|
||||
|
||||
# handle the "pre" case
|
||||
MY_P="${P/_/}"
|
||||
SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="server"
|
||||
|
||||
DEPEND="app-portage/gentoolkit
|
||||
server? (
|
||||
dev-python/lxml
|
||||
app-admin/gam-server )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PYTHON_MODNAME="Bcfg2"
|
||||
|
||||
distutils_src_install_post_hook() {
|
||||
if ! use server; then
|
||||
rm -f "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/sbin/bcfg2-"*
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install --record=PY_SERVER_LIBS --install-scripts "${EPREFIX}/usr/sbin"
|
||||
|
||||
# Remove files only necessary for a server installation
|
||||
if ! use server; then
|
||||
rm -rf "${ED}usr/share/bcfg2"
|
||||
rm -rf "${ED}usr/share/man/man8"
|
||||
fi
|
||||
|
||||
# Install a server init.d script
|
||||
if use server; then
|
||||
newinitd "${FILESDIR}/bcfg2-server.rc" bcfg2-server
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins examples/bcfg2.conf || die "doins failed"
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
distutils_pkg_postinst
|
||||
|
||||
if use server; then
|
||||
einfo "If this is a new installation, you probably need to run:"
|
||||
einfo " bcfg2-admin init"
|
||||
fi
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.2.2.ebuild,v 1.2 2012/04/14 10:39:09 xmw Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# ssl module required.
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="configuration management tool"
|
||||
HOMEPAGE="http://bcfg2.org"
|
||||
SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="doc server"
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )"
|
||||
RDEPEND="app-portage/gentoolkit
|
||||
dev-python/genshi
|
||||
virtual/fam
|
||||
server? (
|
||||
dev-python/lxml
|
||||
dev-libs/libgamin[python] )"
|
||||
|
||||
PYTHON_MODNAME="Bcfg2"
|
||||
|
||||
distutils_src_install_post_hook() {
|
||||
if ! use server; then
|
||||
rm -f "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/sbin/bcfg2-"*
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
einfo "Building Bcfg2 documentation"
|
||||
PYTHONPATH="build-$(PYTHON -f --ABI)" \
|
||||
sphinx-build doc doc_output || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install --record=PY_SERVER_LIBS --install-scripts "${EPREFIX}/usr/sbin"
|
||||
|
||||
if ! use server; then
|
||||
rm -rf "${ED}usr/share/bcfg2" || die
|
||||
rm -rf "${ED}usr/share/man/man8" || die
|
||||
else
|
||||
newinitd "${FILESDIR}/${PN}-server-1.2.0.rc" bcfg2-server
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins examples/bcfg2.conf
|
||||
|
||||
if use doc; then
|
||||
pushd doc_output > /dev/null
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r [a-z]* _images _static || die "Failed to install documentation"
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
distutils_pkg_postinst
|
||||
|
||||
if use server; then
|
||||
einfo "If this is a new installation, you probably need to run:"
|
||||
einfo " bcfg2-admin init"
|
||||
fi
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
#
|
||||
# bcfgd - bcfg configuration daemon
|
||||
#
|
||||
#
|
||||
|
||||
depend () {
|
||||
need net
|
||||
}
|
||||
|
||||
start () {
|
||||
ebegin "Starting bcfg2-server"
|
||||
start-stop-daemon --start --quiet --pidfile /var/run/bcfg2-server.pid \
|
||||
--startas /usr/sbin/bcfg2-server -- -D /var/run/bcfg2-server.pid
|
||||
eend $? "Failed to start bcfg2-server"
|
||||
}
|
||||
|
||||
stop () {
|
||||
ebegin "Stopping bcfg2-server"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/bcfg2-server.pid \
|
||||
--signal INT
|
||||
eend $? "Failed to stop bcfg2-server"
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-3.4.0.ebuild,v 1.1 2012/04/14 06:31:06 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop."
|
||||
HOMEPAGE="http://projects.gnome.org/brasero/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+css doc +introspection +libburn mp3 nautilus packagekit playlist test tracker"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.29.14:2
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection?]
|
||||
>=media-libs/gstreamer-0.10.15:0.10
|
||||
>=media-libs/gst-plugins-base-0.10:0.10
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=x11-libs/libnotify-0.6.1
|
||||
|
||||
media-libs/libcanberra[gtk3]
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
|
||||
libburn? (
|
||||
>=dev-libs/libburn-0.4
|
||||
>=dev-libs/libisofs-0.6.4 )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.90 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-2.29.1 )
|
||||
tracker? ( >=app-misc/tracker-0.12 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-libs/gst-plugins-good:0.10
|
||||
media-plugins/gst-plugins-gconf:0.10
|
||||
media-plugins/gst-plugins-meta:0.10[mp3?]
|
||||
x11-themes/hicolor-icon-theme
|
||||
css? ( media-libs/libdvdcss:1.2 )
|
||||
!libburn? (
|
||||
app-cdr/cdrdao
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/cdrtools )
|
||||
mp3? ( media-libs/gst-plugins-ugly:0.10 )
|
||||
packagekit? ( app-admin/packagekit-base )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext
|
||||
dev-util/intltool
|
||||
gnome-base/gnome-common:3
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
doc? ( >=dev-util/gtk-doc-1.12 )
|
||||
test? ( app-text/docbook-xml-dtd:4.3 )"
|
||||
# eautoreconf deps
|
||||
# gnome-base/gnome-common
|
||||
# dev-util/gtk-doc-am
|
||||
PDEPEND="gnome-base/gvfs"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-scrollkeeper
|
||||
--disable-caches
|
||||
--disable-dependency-tracking
|
||||
$(use_enable !libburn cdrtools)
|
||||
$(use_enable !libburn cdrkit)
|
||||
$(use_enable !libburn cdrdao)
|
||||
$(use_enable !libburn growisofs)
|
||||
$(use_enable introspection)
|
||||
$(use_enable libburn libburnia)
|
||||
$(use_enable nautilus)
|
||||
$(use_enable playlist)
|
||||
$(use_enable tracker search)"
|
||||
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
|
||||
echo
|
||||
elog "If ${PN} doesn't handle some music or video format, please check"
|
||||
elog "your USE flags on media-plugins/gst-plugins-meta"
|
||||
}
|
@ -1,21 +1,31 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA1
|
||||
|
||||
AUX virt-manager-0.8.7-vcpu-stats.patch 876 RMD160 f77163cf34423675130f1c8368261b1ccfc77715 SHA1 0f30def046c2407e8c1ea2cf45aebb9cfd6f71c5 SHA256 43dd7dec0e01d7c82085d8f97767f0a7403554d1cea9f132fe4af5f01b0315a3
|
||||
DIST virt-manager-0.8.7.tar.gz 1879504 RMD160 e80475270e54018b89e5a1a58c467478c03c71b5 SHA1 fe1565b9836b23cefb37d60b403be5b302e83472 SHA256 1907ec0e5479d6af8b4882fc068b74fa8c04f8d36ab0a503b405a937fe765dd5
|
||||
DIST virt-manager-0.9.0-bp-1.tar.bz2 707 RMD160 e4614dd36bd1a334080dcb712d731665944ef705 SHA1 dc007460bb721eb385c02de671045820926626b6 SHA256 823ae2aea4515e47db9791e3edda78530223a48ba2fa0bdb33a328e85e64f284
|
||||
DIST virt-manager-0.9.0.tar.gz 1951176 RMD160 f3af53591babe3d95c4017d19a292fd6c1bfee97 SHA1 e937b9aedc7c4ebc84fbfa48c622d1918cf7a335 SHA256 db0de808efa5d6bae0bdc2db796e58ea79f9e1db20d9a5a5977b28b4b85d4321
|
||||
DIST virt-manager-0.9.1.tar.gz 1942398 RMD160 3edc27ac3a48afe9185d611f2828fb3d74a1f083 SHA1 fded44c13ea3a542ed95d9a0c3ae3cb2c8a110fc SHA256 15e064167ba5ff84ce6fc8790081d61890430f2967f89886a84095a23e40094a
|
||||
EBUILD virt-manager-0.8.7.ebuild 2064 RMD160 a101d1282c464ba3508f480fc1985ef052b22134 SHA1 a4918e13fc9691e93b4b14dcd4a3555f242b3d9d SHA256 d611ede89e8e395c3e0e4be0feae39c483435a736ae9ef95df5aec0056aaaf72
|
||||
EBUILD virt-manager-0.9.0-r1.ebuild 2945 RMD160 0d2f6c418c397d2be3b6875d42ca48435c3816f0 SHA1 f6fd7af030f8b2a8767b3e0b99fbea3814bd94ea SHA256 f3f61c581a47a038cf0506518b818f30eef9b84c0fb14533772206064d4ca54d
|
||||
EBUILD virt-manager-0.9.1.ebuild 2541 RMD160 015bff36e02abc37bc504926a5b2f2e2d8c54624 SHA1 27ffcff0651bd4e1bb364733b8ad22e96a05bc18 SHA256 a41db5452d1b9b27a2a54ac3856b307a4e595c40331e618bd849394c014f2bc0
|
||||
EBUILD virt-manager-9999.ebuild 2477 RMD160 3ea2cbb961ff5287601318edaa1e95b748b47709 SHA1 41cf1fa776a08fe6a807abede03731d5a498735a SHA256 450634b51319d16de4245473dfbf5e5023270a9faa0bb801b59e70a41d2361f3
|
||||
MISC ChangeLog 13208 RMD160 d6215fab8cb306bc100b0cf0badc4d2873a6a667 SHA1 d50ee969b1889c9a716eb489b7d33e99738de81f SHA256 f30232c54504ec4120094a05c6ddfa48542af9faddc7005e8e6e2f22ea95b2e4
|
||||
EBUILD virt-manager-0.8.7.ebuild 2060 RMD160 ccc722ec6ad401ae11bbf47a3de2c2c53e9265dd SHA1 ebdeeb521cc4849931304ce3700ec96be601e31a SHA256 c95cbf34f74d72efecc44ab187f87efb71fe3a4cd8086d3f7c7a51a1b868670d
|
||||
EBUILD virt-manager-0.9.0-r1.ebuild 2941 RMD160 e61de870472746ec46561f448a16f1a03aac4f35 SHA1 ed26cf1a0914ce6d24cdb437c6f0b974de0cfdbc SHA256 2d2189e127b098dcb3253778e95287e96306b7738d6c3a3592643a35b08340a5
|
||||
EBUILD virt-manager-0.9.1.ebuild 2534 RMD160 52db352c9480d70065c323a1dbb425cdf011f68d SHA1 314ef7d1ca9cf75c5ed039c8aeffa3d82f38a946 SHA256 60e3912eaef4d12cd06a457e8067e6baccf80bddaae29f2ab89ba5defd36e876
|
||||
EBUILD virt-manager-9999.ebuild 2474 RMD160 22e1f6fdfd1b42e80f4e7173e8b4a875051e3ffe SHA1 679efd1717d21fddaddf62785ede5f2e462749f4 SHA256 04afd23df703fe73a96bd79b3dde322edd5bba0c6a470a49beed38bf4506dc92
|
||||
MISC ChangeLog 13416 RMD160 7a20920a19fb09b23a9aa186dcb61592cf51cb86 SHA1 ad676de5572d5e8e681cda4756d83a6fe26e11fe SHA256 7e497896f1890cfff1073d112ecae6aaa18b7b452777cc02b0244057d964ca91
|
||||
MISC metadata.xml 641 RMD160 e8662f1753b0ffab34fb8539ec9c336f2e3cd769 SHA1 09b8ce549752a40c389c0e28279c2608ed8780af SHA256 3d4ac13637c95e0524006f0cbaf690d4dc8d3f7faf2e36581be8730aba6cc672
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREKAAYFAk9+ANgACgkQuUQtlDBCeQIu2ACdEMPgLb2LSHIvRa/5T6Q2DZZJ
|
||||
uVwAn3F1XXCawzGll4qM2hOqS0DDrZMg
|
||||
=rdHN
|
||||
iQIcBAEBAgAGBQJPiGddAAoJEDxpGckxwJCBeFsQAI2ijZhgIVN0TPfzQzoiwfNX
|
||||
GVtSq+azKBPhkF7CsYuWLT+ybo/LPbnaQPxfhR1E6iOMk3HsGNMXrI2eaH7mYSY7
|
||||
OnVZKitWU7+txY4eIWMJz5S0eMe5JyQtQtXlfDgmWo3XwA9s0XmzTVFbRm50q8ln
|
||||
WQHqDqssQTUbs5j1+/I14+badMoC4g1WgkAwh1bn06uRlBuGxqbjNjTlZ7R/hr8N
|
||||
iGegmJA+hSGoJnjOflxkS/EYVnRnqBBjbmqK/EXrB/qSyHRsbbFxcsxE0Uj2PbrZ
|
||||
7JpdA/GyZX11Vvi2XoBW8Q9F6S95vb5adH6NBa8VQoB4t+3yy5ulQRx5a4OnCZC2
|
||||
W7p2UhNYk4SBJQXCyI7/6LNAwk332SUe/cW+piAUdWanPeI7pXo0+OonpsiZvLji
|
||||
Tp4gGWJDtth0NdgG9lF7WNIN+7LP/MqIYSiBSvOoY8/erg8N9kbrUMDZcF85bsYi
|
||||
havm2TnOB3wPjaylD/jTC+RW5QMgW3Z6O6tAPR2v6kXqdg5FvH8+ohg+ekb5SqQT
|
||||
9yb0TdYu702ZmxbLonv+w6x55xY6isUsRfPwtlTKEgHzdndH2RmOTFOu63Vdhvo7
|
||||
xoiVo5R9k+z4uTG1vu/yCter/4yge+KKldT3t0rd5yPjxEt2ywgzKSQyWIaykywH
|
||||
Fr0VwM0zkbQPZRfiLKJh
|
||||
=NfAB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,211 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc1.ebuild,v 1.4 2012/03/27 18:25:58 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.4"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
|
||||
)"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xmessage
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
dev-util/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch_user #282735
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
|
||||
}
|
@ -1,214 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc2.ebuild,v 1.4 2012/03/27 18:25:58 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.4"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
|
||||
)"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xmessage
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
dev-util/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch_user #282735
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
|
||||
}
|
@ -1,214 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc3.ebuild,v 1.3 2012/03/27 18:25:58 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.4"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
|
||||
)"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xmessage
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
dev-util/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch_user #282735
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"/usr/bin/{wine{dump,maker},function_grep.pl} "${D}"/usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
paxctl -psmr "${ROOT}"/usr/bin/wine{,-preloader} 2>/dev/null #255055
|
||||
}
|
@ -1,227 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc4.ebuild,v 1.3 2012/03/27 18:25:58 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.4"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
|
||||
)"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls odbc openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
odbc? ( app-emulation/emul-linux-x86-db )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xmessage
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
dev-util/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use win32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch_user #282735
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
if use win32 || ! use win64; then
|
||||
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
fi
|
||||
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use win64 && ! use win32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
@ -1,227 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.4_rc5.ebuild,v 1.3 2012/03/27 18:25:58 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MY_P="${PN}-${PV/_/-}"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
GV="1.4"
|
||||
DESCRIPTION="free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
gecko? (
|
||||
mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi
|
||||
win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi )
|
||||
)"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa capi cups custom-cflags elibc_glibc fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jpeg lcms ldap mp3 ncurses nls odbc openal opencl +opengl +oss +perl png samba scanner selinux ssl test +threads +truetype udisks v4l +win32 +win64 +X xcomposite xinerama xml"
|
||||
REQUIRED_USE="elibc_glibc? ( threads )" #286560
|
||||
RESTRICT="test" #72375
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 )
|
||||
X? (
|
||||
>=app-emulation/emul-linux-x86-xlibs-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1
|
||||
)
|
||||
mp3? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
odbc? ( app-emulation/emul-linux-x86-db )
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
)"
|
||||
RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts )
|
||||
perl? ( dev-lang/perl dev-perl/XML-Simple )
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
openal? ( media-libs/openal )
|
||||
udisks? (
|
||||
sys-apps/dbus
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gstreamer? ( media-libs/gstreamer media-libs/gst-plugins-base )
|
||||
X? (
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXi
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXxf86vm
|
||||
x11-apps/xmessage
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cups? ( net-print/cups )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ldap? ( net-nds/openldap )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
samba? ( >=net-fs/samba-3.0.25 )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
xml? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl )
|
||||
png? ( media-libs/libpng )
|
||||
v4l? ( media-libs/libv4l )
|
||||
!win64? ( ${MLIB_DEPS} )
|
||||
win32? ( ${MLIB_DEPS} )
|
||||
xcomposite? ( x11-libs/libXcomposite )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
!hardened? ( sys-devel/prelink )
|
||||
dev-util/pkgconfig
|
||||
virtual/yacc
|
||||
sys-devel/flex"
|
||||
|
||||
src_unpack() {
|
||||
if use win64 ; then
|
||||
[[ $(( $(gcc-major-version) * 100 + $(gcc-minor-version) )) -lt 404 ]] \
|
||||
&& die "you need gcc-4.4+ to build 64bit wine"
|
||||
fi
|
||||
|
||||
if use win32 && use opencl; then
|
||||
[[ x$(eselect opencl show) = "xintel" ]] &&
|
||||
die "Cannot build wine[opencl,win32]: intel-ocl-sdk is 64-bit only" # 403947
|
||||
fi
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${MY_P}.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
|
||||
epatch "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
|
||||
epatch_user #282735
|
||||
eautoreconf
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
local builddir="${WORKDIR}/wine$1"
|
||||
mkdir -p "${builddir}"
|
||||
pushd "${builddir}" >/dev/null
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--sysconfdir=/etc/wine \
|
||||
$(use_with alsa) \
|
||||
$(use_with capi) \
|
||||
$(use_with lcms cms) \
|
||||
$(use_with cups) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with udisks dbus) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gphoto2 gphoto) \
|
||||
$(use_with gsm) \
|
||||
$(use_with gstreamer) \
|
||||
--without-hal \
|
||||
$(use_with jpeg) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mp3 mpg123) \
|
||||
$(use_with nls gettext) \
|
||||
$(use_with openal) \
|
||||
$(use_with opencl) \
|
||||
$(use_with opengl) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with oss) \
|
||||
$(use_with png) \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with scanner sane) \
|
||||
$(use_enable test tests) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with v4l) \
|
||||
$(use_with X x) \
|
||||
$(use_with xcomposite) \
|
||||
$(use_with xinerama) \
|
||||
$(use_with xml) \
|
||||
$(use_with xml xslt) \
|
||||
$2
|
||||
|
||||
emake -j1 depend
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
if use win64 ; then
|
||||
do_configure 64 --enable-win64
|
||||
use win32 && ABI=x86 do_configure 32 --with-wine64=../wine64
|
||||
else
|
||||
ABI=x86 do_configure 32 --disable-win64
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" all
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local b
|
||||
for b in 64 32 ; do
|
||||
local builddir="${WORKDIR}/wine${b}"
|
||||
[[ -d ${builddir} ]] || continue
|
||||
emake -C "${builddir}" install DESTDIR="${D}"
|
||||
done
|
||||
dodoc ANNOUNCE AUTHORS README
|
||||
if use gecko ; then
|
||||
insinto /usr/share/wine/gecko
|
||||
doins "${DISTDIR}"/wine_gecko-${GV}-x86.msi
|
||||
use win64 && doins "${DISTDIR}"/wine_gecko-${GV}-x86_64.msi
|
||||
fi
|
||||
if ! use perl ; then
|
||||
rm "${D}"usr/bin/{wine{dump,maker},function_grep.pl} "${D}"usr/share/man/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
if use win32 || ! use win64; then
|
||||
pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055
|
||||
fi
|
||||
use win64 && pax-mark psmr "${D}"usr/bin/wine64{,-preloader}
|
||||
|
||||
if use win64 && ! use win32; then
|
||||
dosym /usr/bin/wine{64,} # 404331
|
||||
dosym /usr/bin/wine{64,}-preloader
|
||||
fi
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# ChangeLog for app-misc/hddled
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/hddled/ChangeLog,v 1.1 2012/04/14 11:55:24 xmw Exp $
|
||||
|
||||
*hddled-0.2 (14 Apr 2012)
|
||||
|
||||
14 Apr 2012; Michael Weber <xmw@gentoo.org> +hddled-0.2.ebuild,
|
||||
+metadata.xml:
|
||||
Initial import
|
||||
|
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST hddled-0.2.c 6259 RMD160 aa814f2e4e3ea9395654d0f7bb10bd2cff11c0e7 SHA1 847b266a07074994df0ff1262c8ca127a17e485c SHA256 ddb610243a8c7a0188fad73419c2b4c7eaabc019272b075359e8873324550370
|
||||
EBUILD hddled-0.2.ebuild 867 RMD160 72ac23577d4042fe815fd9d589da44d0392b2c6d SHA1 0e026ab42dd1ca76dc32e233a70ed3ae70859851 SHA256 fe671be4d8b26f4dad0e9ca2c94b30d21faf3a07bf49a5bbc5ac8fb7dbf4548e
|
||||
MISC ChangeLog 328 RMD160 96f64983ce1d41a3fb8839650a2284fd784d218e SHA1 b8886b63943d5ebe613fa6655c822049feb2a1e6 SHA256 290e6c922eca1fea5126d2c5b7ff8355e5208a9c7eaa1c33c14d8d37bdd901af
|
||||
MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAk+JZbQACgkQknrdDGLu8JAb9QD/eIrXMVLrL2Q8tca0ubv31CqJ
|
||||
DPF2aP+682MsLX+eYm8A/i25nbuiyoX3I8g0/s70sxIvQU5TqSoBTgggbZNQWLR0
|
||||
=l8js
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/hddled/hddled-0.2.ebuild,v 1.1 2012/04/14 11:55:24 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="use scroll lock led as "
|
||||
HOMEPAGE="http://members.optusnet.com.au/foonly/whirlpool/code/"
|
||||
SRC_URI="http://xmw.de/mirror/${PN}/${P}.c"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X"
|
||||
|
||||
DEPEND="X? ( x11-libs/libX11 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp -v "${DISTDIR}"/${A} ${PN}.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -o ${PN} ${PN}.c ${LDFLAGS} || die
|
||||
if use X ; then
|
||||
$(tc-getCC) ${CFLAGS} -DX -lX11 -o x${PN} ${PN}.c ${LDFLAGS} || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
if use X ; then
|
||||
dobin x${PN} || die
|
||||
elog "X version was renamed to x${PN}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>xmw@gentoo.org</email>
|
||||
<name>Michael Weber</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,27 +1,27 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA1
|
||||
|
||||
AUX calligra-2.4.0-rdf.patch 7537 RMD160 4320fe29ab85791232665a7f2d717dab1b8505b3 SHA1 048f59b24ef7662363423b3d71483c979bd3e050 SHA256 0a2d29cc549d032b70c8d006d5db56d857b4db1946795f94dcfe52f52e5d49c9
|
||||
DIST calligra-2.4.0.tar.bz2 123325347 RMD160 840efd6c7ff82b246950de591b9af762d37f9a95 SHA1 6026f4ddcf4bf647ea13dfb477233df472a5c007 SHA256 7c8cd1ec8cd2b26d5544f3b5a283052c5cd82f212749475b91cc340f7e4029b0
|
||||
EBUILD calligra-2.4.0-r1.ebuild 6030 RMD160 3f9b30ab4c6c4579c62d177a4b9341f8f4ca4108 SHA1 e33e26c459d3102364ede46df026be121fed33c5 SHA256 c0792dbbc8353e846c2db2195caa74e00b02034d3154d65521f82a6747f43328
|
||||
EBUILD calligra-2.4.9999.ebuild 6030 RMD160 c00e1e48b8a8ed9bd80d598b6675e134ffee8719 SHA1 55eb0979f10c28a7b26ece9230e0cc80318b69c8 SHA256 d5f5f71b5e75203bb4e114415a9dac19e136b29ca584d24af37f67445f60a8db
|
||||
EBUILD calligra-2.4.0-r1.ebuild 6024 RMD160 4b7e469dc076a5dba162162b240e37c2b9b9414f SHA1 33038ab238e95bda1682123eed7e96b3422c59cd SHA256 ca076674c67d1ebd0133418a32ccb8281db0780e7c55d50fa3a05d51fd626823
|
||||
EBUILD calligra-2.4.9999.ebuild 6024 RMD160 7f8c1c4c160266dc59fb6ab9533dd4b79ca5f8e5 SHA1 ac599ed9e1f4cd1cf373b62ee066eac4ed9a3e97 SHA256 25086f22743059b98c95bc4fd9f29cffb46cd4e5d66e7d8768ddc0f4f32349f0
|
||||
EBUILD calligra-9999.ebuild 5853 RMD160 36ee0b1999274499712d890d11c1b52a28f88a52 SHA1 aa5fb18286b4b941332fc424b6a4e788629950a1 SHA256 3493923da496efa04c54407480c3b81996b5d7899901778aa61ee57347a88c0f
|
||||
MISC ChangeLog 6731 RMD160 19ece2178905b3a3ca447ac0b2307c9d0fc9fe50 SHA1 48d54b05544b82d557cd52415f6332ca1639e0ae SHA256 71fb316c5fc905501dfb1c65b2bf351d7842a75e5641e81e87894d25efc30e99
|
||||
MISC ChangeLog 6880 RMD160 82e90b92427d471527ecde2ff20db54492b18a2e SHA1 41c1d28ceb5359e6d41b2981d2d9950df16e8b48 SHA256 c97fc44144a62174986e6158f1c7fd8bf32a88cbe781f8bdccc7a754c27c6444
|
||||
MISC metadata.xml 1491 RMD160 f8ff74f843ae8df2be457f5376f8d1ad08604c09 SHA1 56f2b25dfd6524b43aed66a177a515e80f04cde2 SHA256 9e6668563b25b690da423ea91dbac27e6289ee117cb6cb026c2657c476555c69
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.17 (GNU/Linux)
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJPhzgmAAoJENwGBM22xffe9JsQAJSKorFhvsyvUFUZxcrRARQI
|
||||
S86t8nomFjauCHWbgTHCgCk0mHc1Ji/6DxGW6QjmO1KSmHzOJSPXBqFAuZm81mLg
|
||||
s841GqOyu7LIM9y7jb9rcmcBJZkaimfE2o5a41yWt/DVR3gxEABXHF7hCYKKspil
|
||||
fqiq6l3pjSp3gAOA8qL4bKrdNZQ2wsxr8+r9GgeuYg4QaQiSam5Dw6X9lvqueR4X
|
||||
gLyx1miEUvdfH8Y1wzu/67Qz+EY+Mf0+zP/noxlqhcPM/nkCuiEmhz+wTdG16cJn
|
||||
/79Q5egMYJJngSrnPGmF55Ntln70C1baw3NxaDWBtSZamJkEiA3Nl/FopqdrkbFI
|
||||
XAHyMSa3aIqrvRcEKbZfUir+QUOiSNqmReBSYZze+emdFzeJSvN58w3VeyeP/XHn
|
||||
U8ejhWmiwMr0PDFUvDPQO348k+um7qSbot+1ElsC5epG+dAl1nCgVRdSXyl4QzvE
|
||||
Rbxok960ZWqsQeW7/Y5q5GJkVyGtZFQhLthAEsRcgg5wCQIbmt/+LVWZgJMg6a1t
|
||||
JXR9ND71WM8SIfRM2Zm1Wka6HI4UOVeK5RqF+6/tnV3NeV7VuKBnbKPvsRgU6KsS
|
||||
KWlnwIt8jrBIUheLBCdXvTpvTJgN8oQxjswDCR4H3ZYyJup0OWmvrNqh5Y293OJu
|
||||
SDcKmCXXMEaeBNJydCik
|
||||
=CuRT
|
||||
iQIcBAEBAgAGBQJPiGhJAAoJEDxpGckxwJCBPxEP/AtZR9ZKmnxmkujXJ1+s5AAh
|
||||
ugzEooCvWWzGOj7LWXoLnmXheuISZIVLDBYEsPmRUHEvZnMV8pUXAiFoUuVPIpil
|
||||
4H4uQ3Vmbg3mFFBSixxqUnORQXvIioI4T5bttw27q2ymzO9qOTp7jhGmOP8Hoidn
|
||||
1ZFS3sD0M4sVyjulDPC617H5jtp2M7yIByfSj7H990GEqhnG45tB5lLifL7TVIpV
|
||||
0KYgAA1NCYPH9hU75BozImPbxKmgXm915op639xyT2BrBg8IobDzuj5QLdCCM9p7
|
||||
4SkBAumNkfNEYCWH+VoZKOwnfRfoC6alX7lEcd+MWAHBJVktcJsibUA5NmFS391T
|
||||
RapQBBRhssqTJJYTRNU54TpIfo0bZiPhdCe5km8yjXSwbiRb+F91MTc+L/D9JGCm
|
||||
MEA1knVSAg89m/iZdtH4mCXqAWxE/QKM+CY2rTPu3+GvtGAthMYQHpN+7JZ8qk6O
|
||||
IN9Pi9cIoxg8aUrFjc4Y7Ka4O6WfkjWo2ZHW6KpZrveSZrgmiGLiDGn8+noRmA/k
|
||||
oFgJqb4Xh34J9Lzqd8sm8nmBAw7Se3R0mokfhWmgYLIhv7wASoJ6X/YA/rpz0HFH
|
||||
1cE6DUQJNFjexScgLYTaib5Mnj99umFnyVYzJHWT4j2JLSDMmoPZ6LyMMbxTwYoA
|
||||
Lmpev7A/JOCOZbSbr4/A
|
||||
=uk4I
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.1.ebuild,v 1.1 2012/04/13 21:49:41 fuzzyray Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
|
||||
PYTHON_USE_WITH="readline"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit base distutils python
|
||||
|
||||
DESCRIPTION="Replacement for 'emerge --search' with search-index"
|
||||
HOMEPAGE="http://david-peter.de/esearch.html"
|
||||
SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="linguas_fr linguas_it"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Populate the patches array for any patches for -rX releases
|
||||
# It is an array of patch file names of the form:
|
||||
# "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch"
|
||||
PATCHES=()
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
dodoc eupdatedb.cron || die "dodoc failed"
|
||||
|
||||
# Remove unused man pages according to the linguas flags
|
||||
if ! use linguas_fr ; then
|
||||
rm -rf "${ED}"/usr/share/man/fr
|
||||
fi
|
||||
|
||||
if ! use linguas_it ; then
|
||||
rm -rf "${ED}"/usr/share/man/it
|
||||
fi
|
||||
}
|
@ -1,279 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/acroread/acroread-9.4.7.ebuild,v 1.6 2012/01/31 00:08:44 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils gnome2-utils nsplugins
|
||||
|
||||
DESCRIPTION="Adobe's PDF reader"
|
||||
HOMEPAGE="http://www.adobe.com/products/reader/"
|
||||
IUSE="cups ldap minimal nsplugin"
|
||||
|
||||
SRC_HEAD="http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${PV}"
|
||||
SRC_FOOT=".tar.bz2"
|
||||
|
||||
# languages not available yet: it:ita es:esp pt:ptb sv:sve zh_CN:chs zh_TW:cht fi:suo nb:nor nl:nld ko:kor da:dan de:deu fr:fra ja:jpn
|
||||
# asian fonts are handled separately
|
||||
LINGUA_LIST="en:enu"
|
||||
DEFAULT_URI="${SRC_HEAD}/enu/AdbeRdr${PV}-1_i486linux_enu${SRC_FOOT}"
|
||||
for ll in ${LINGUA_LIST} ; do
|
||||
iuse_l="linguas_${ll/:*}"
|
||||
src_l=${ll/*:}
|
||||
IUSE="${IUSE} ${iuse_l}"
|
||||
DEFAULT_URI="!${iuse_l}? ( ${DEFAULT_URI} )"
|
||||
SRC_URI="${SRC_URI}
|
||||
${iuse_l}? ( ${SRC_HEAD}/${src_l}/AdbeRdr${PV}-1_i486linux_${src_l}${SRC_FOOT} )"
|
||||
done
|
||||
|
||||
# asian fonts from separate package:
|
||||
IUSE="${IUSE} linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
${DEFAULT_URI}"
|
||||
|
||||
LICENSE="Adobe"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
RESTRICT="strip mirror"
|
||||
|
||||
# mozilla-firefox-bin won't work because it doesn't have gtkembedmoz.so
|
||||
RDEPEND="media-libs/fontconfig
|
||||
x86? ( =dev-libs/openssl-0.9.8* )
|
||||
cups? ( net-print/cups )
|
||||
x86? ( x11-libs/gtk+:2 net-dns/libidn
|
||||
ldap? ( net-nds/openldap )
|
||||
!minimal? ( || ( net-libs/xulrunner
|
||||
www-client/firefox
|
||||
www-client/seamonkey ) ) )
|
||||
amd64? ( app-emulation/emul-linux-x86-gtklibs app-emulation/emul-linux-x86-baselibs )
|
||||
linguas_zh_CN? ( media-fonts/acroread-asianfonts[linguas_zh_CN] )
|
||||
linguas_ja? ( media-fonts/acroread-asianfonts[linguas_ja] )
|
||||
linguas_zh_TW? ( media-fonts/acroread-asianfonts[linguas_zh_TW] )
|
||||
linguas_ko? ( media-fonts/acroread-asianfonts[linguas_ko] )"
|
||||
|
||||
QA_EXECSTACK="opt/Adobe/Reader9/Reader/intellinux/bin/acroread
|
||||
opt/Adobe/Reader9/Reader/intellinux/lib/libauthplay.so.0.0.0
|
||||
opt/Adobe/Reader9/Reader/intellinux/lib/libsccore.so
|
||||
opt/Adobe/Reader9/Reader/intellinux/lib/libcrypto.so.0.9.8
|
||||
opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api"
|
||||
|
||||
QA_DT_HASH="opt/Adobe/Reader9/Reader/intellinux/plug_ins3d/.*.x3d
|
||||
opt/Adobe/Reader9/Reader/intellinux/lib/lib.*
|
||||
opt/Adobe/Reader9/Reader/intellinux/bin/SynchronizerApp-binary
|
||||
opt/Adobe/Reader9/Reader/intellinux/bin/acroread
|
||||
opt/Adobe/Reader9/Reader/intellinux/bin/xdg-user-dirs-update
|
||||
opt/Adobe/Reader9/Reader/intellinux/SPPlugins/ADMPlugin.apl
|
||||
opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm/PMP/.*.pmp
|
||||
opt/Adobe/Reader9/Reader/intellinux/plug_ins/Multimedia/MPP/.*.mpp
|
||||
opt/Adobe/Reader9/Reader/intellinux/plug_ins/.*.api
|
||||
opt/Adobe/Reader9/Reader/intellinux/sidecars/.*.DEU
|
||||
opt/Adobe/Reader9/Browser/intellinux/nppdf.so
|
||||
opt/netscape/plugins/nppdf.so"
|
||||
|
||||
QA_TEXTRELS="opt/Adobe/Reader9/Reader/intellinux/lib/libsccore.so"
|
||||
|
||||
INSTALLDIR=/opt
|
||||
|
||||
S="${WORKDIR}/AdobeReader"
|
||||
|
||||
# Actually, ahv segfaults when run standalone so presumably
|
||||
# it isn't intended for direct use - so the only launcher is
|
||||
# acroread after all.
|
||||
LAUNCHERS="Adobe/Reader9/bin/acroread"
|
||||
# Adobe/HelpViewer/1.0/intellinux/bin/ahv"
|
||||
|
||||
# remove bundled libs to force use of system version, bug 340527
|
||||
REMOVELIBS="libcrypto libssl"
|
||||
|
||||
pkg_setup() {
|
||||
# x86 binary package, ABI=x86
|
||||
has_multilib_profile && ABI="x86"
|
||||
}
|
||||
|
||||
# Determine lingua from filename
|
||||
acroread_get_ll() {
|
||||
local f_src_l ll lingua src_l
|
||||
f_src_l=${1/${SRC_FOOT}}
|
||||
f_src_l=${f_src_l/*_}
|
||||
for ll in ${LINGUA_LIST} ; do
|
||||
lingua=${ll/:*}
|
||||
src_l=${ll/*:}
|
||||
if [[ ${src_l} == ${f_src_l} ]] ; then
|
||||
echo ${lingua}
|
||||
return
|
||||
fi
|
||||
done
|
||||
die "Failed to match file $1 to a LINGUA; please report."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local ll linguas fl launcher
|
||||
# Unpack all into the same place; overwrite common files.
|
||||
fl=""
|
||||
for pkg in ${A} ; do
|
||||
cd "${WORKDIR}"
|
||||
unpack ${pkg}
|
||||
cd "${S}"
|
||||
tar xf ILINXR.TAR || die "Failed to unpack ILINXR.TAR."
|
||||
tar xf COMMON.TAR || die "Failed to unpack COMMON.TAR."
|
||||
ll=$(acroread_get_ll ${pkg})
|
||||
for launcher in ${LAUNCHERS} ; do
|
||||
mv ${launcher} ${launcher}.${ll}
|
||||
done
|
||||
if [[ -z ${fl} ]] ; then
|
||||
fl=${ll}
|
||||
linguas="${ll}"
|
||||
else
|
||||
linguas="${linguas} ${ll}"
|
||||
fi
|
||||
done
|
||||
if [[ ${linguas} == ${fl} ]] ; then
|
||||
# Only one lingua selected - skip building the wrappers
|
||||
for launcher in ${LAUNCHERS} ; do
|
||||
mv ${launcher}.${fl} ${launcher} ||
|
||||
die "Failed to put ${launcher}.${fl} back to ${launcher}; please report."
|
||||
done
|
||||
else
|
||||
# Build wrappers. Launch the acroread for the environment variable
|
||||
# LANG (matched with a trailing * so that for example 'de_DE' matches
|
||||
# 'de', 'en_GB' matches 'en' etc).
|
||||
#
|
||||
# HelpViewer is new - We don't know if Adobe are likely to
|
||||
# internationalize it or not.
|
||||
for launcher in ${LAUNCHERS} ; do
|
||||
cat > ${launcher} <<-EOF
|
||||
#!/bin/bash
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# Automatically generated by ${CATEGORY}/${PF}
|
||||
|
||||
# Exec the acroread script for the language chosen in
|
||||
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
|
||||
L=\${LC_ALL}
|
||||
L=\${L:-\${LC_MESSAGES}}
|
||||
L=\${L:-\${LANG}}
|
||||
case \${L} in
|
||||
EOF
|
||||
for ll in ${linguas} ; do
|
||||
echo "${ll}*) exec ${INSTALLDIR}/${launcher}.${ll} \"\$@\";;" >> ${launcher}
|
||||
done
|
||||
# default to English (in particular for LANG=C)
|
||||
cat >> ${launcher} <<-EOF
|
||||
*) exec ${INSTALLDIR}/${launcher}.${fl} "\$@";;
|
||||
esac
|
||||
EOF
|
||||
chmod 755 ${launcher}
|
||||
done
|
||||
fi
|
||||
|
||||
# remove cruft
|
||||
rm "${S}"/Adobe/Reader9/bin/UNINSTALL
|
||||
rm "${S}"/Adobe/Reader9/Browser/install_browser_plugin
|
||||
rm "${S}"/Adobe/Reader9/Resource/Support/vnd.*.desktop
|
||||
|
||||
# replace some configuration sections
|
||||
for binfile in "${S}"/Adobe/Reader9/bin/* ; do
|
||||
sed -i -e '/Font-config/,+9d' \
|
||||
-e "/acrogre.conf/r ${FILESDIR}/gentoo_config" -e //N \
|
||||
"${binfile}" || die "sed configuration settings failed."
|
||||
done
|
||||
|
||||
# fix erroneous Exec entry in .desktop
|
||||
sed -i -e 's/^Exec=acroread[[:space:]]*$/Exec=acroread %U/' \
|
||||
"${S}"/Adobe/Reader9/Resource/Support/AdobeReader.desktop \
|
||||
||die "sed .desktop fix failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install desktop files
|
||||
domenu Adobe/Reader9/Resource/Support/AdobeReader.desktop
|
||||
|
||||
# Install commonly used icon sizes
|
||||
for res in 16x16 22x22 32x32 48x48 64x64 128x128 ; do
|
||||
insinto /usr/share/icons/hicolor/${res}/apps
|
||||
doins Adobe/Reader9/Resource/Icons/${res}/*
|
||||
done
|
||||
|
||||
dodir /opt
|
||||
chown -R --dereference -L root:0 Adobe
|
||||
cp -dpR Adobe "${D}"opt/ || die
|
||||
|
||||
# remove some bundled libs
|
||||
for mylib in ${REMOVELIBS} ; do
|
||||
einfo Removing bundled ${mylib}
|
||||
rm -v "${D}"/opt/Adobe/Reader9/Reader/intellinux/lib/${mylib}*
|
||||
done
|
||||
|
||||
doman Adobe/Reader9/Resource/Shell/acroread.1.gz
|
||||
|
||||
if use nsplugin ; then
|
||||
exeinto /opt/netscape/plugins
|
||||
doexe Adobe/Reader9/Browser/intellinux/nppdf.so
|
||||
inst_plugin /opt/netscape/plugins/nppdf.so
|
||||
fi
|
||||
|
||||
dodir /opt/bin
|
||||
for launcher in ${LAUNCHERS} ; do
|
||||
dosym /opt/${launcher} /opt/bin/${launcher/*bin\/}
|
||||
done
|
||||
|
||||
# We need to set a MOZILLA_COMP_PATH for seamonkey and firefox since
|
||||
# they don't install a configuration file for libgtkembedmoz.so
|
||||
# detection in /etc/gre.d/ like xulrunner does.
|
||||
if ! use minimal ; then
|
||||
if use x86 ; then
|
||||
for lib in /opt/seamonkey /usr/lib/seamonkey /usr/lib/mozilla-firefox ; do
|
||||
if [[ -f ${lib}/libgtkembedmoz.so ]] ; then
|
||||
echo "MOZILLA_COMP_PATH=${lib}" >> "${D}"${INSTALLDIR}/Adobe/Reader9/Reader/GlobalPrefs/mozilla_config
|
||||
elog "Adobe Reader depends on libgtkembedmoz.so, which I've found on"
|
||||
elog "your system in ${lib}, and configured in ${INSTALLDIR}/Adobe/Reader9/Reader/GlobalPrefs/mozilla_config."
|
||||
break # don't search any more libraries
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
local ll lc
|
||||
lc=0
|
||||
for ll in ${LINGUA_LIST} ; do
|
||||
use linguas_${ll/:*} && (( lc = ${lc} + 1 ))
|
||||
done
|
||||
if [[ ${lc} > 1 ]] ; then
|
||||
echo
|
||||
elog "Multiple languages have been installed, selected via a wrapper script."
|
||||
elog "The language is selected according to the LANG environment variable"
|
||||
elog "(defaulting to English if LANG is not set, or no matching language"
|
||||
elog "version is installed). Users may need to remove their preferences in"
|
||||
elog "~/.adobe to switch languages."
|
||||
echo
|
||||
fi
|
||||
|
||||
if use minimal ; then
|
||||
echo
|
||||
ewarn "If you want html support and/or view the Adobe Reader help you have"
|
||||
ewarn "to re-emerge acroread with USE=\"-minimal\"."
|
||||
echo
|
||||
fi
|
||||
|
||||
if use nsplugin ; then
|
||||
echo
|
||||
elog "If you're running a 64bit browser you may also want to install"
|
||||
elog "\"www-plugins/nspluginwrapper\" to be able to use the Adobe Reader"
|
||||
elog "browser plugin."
|
||||
echo
|
||||
fi
|
||||
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.45.ebuild,v 1.2 2012/04/01 04:39:20 floppym Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.47.ebuild,v 1.1 2012/04/13 19:05:45 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue