summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-19 05:57:46 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-19 05:57:46 +0000
commitfb699ba7445e7c390974b1a4e6e2cc14691e13cb (patch)
treec0fd5e92af1f311144d4a92edd55ce49426e0cd3 /app-emulation/winetricks
parentVersion bump. Install .desktop file and icon (bug #438806, thanks to C.J. Wi... (diff)
downloadhistorical-fb699ba7445e7c390974b1a4e6e2cc14691e13cb.tar.gz
historical-fb699ba7445e7c390974b1a4e6e2cc14691e13cb.tar.bz2
historical-fb699ba7445e7c390974b1a4e6e2cc14691e13cb.zip
Only install .desktop file and icon if USE=gtk or USE=kde.
Package-Manager: portage-2.2.0_alpha137/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/winetricks')
-rw-r--r--app-emulation/winetricks/ChangeLog6
-rw-r--r--app-emulation/winetricks/Manifest20
-rw-r--r--app-emulation/winetricks/winetricks-916.ebuild31
-rw-r--r--app-emulation/winetricks/winetricks-99999999.ebuild31
4 files changed, 57 insertions, 31 deletions
diff --git a/app-emulation/winetricks/ChangeLog b/app-emulation/winetricks/ChangeLog
index c82c4c5d8b9d..052ad6e7b8c7 100644
--- a/app-emulation/winetricks/ChangeLog
+++ b/app-emulation/winetricks/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/winetricks
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/ChangeLog,v 1.9 2012/10/19 05:50:00 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/ChangeLog,v 1.10 2012/10/19 05:57:41 tetromino Exp $
+
+ 19 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ winetricks-916.ebuild, winetricks-99999999.ebuild:
+ Only install .desktop file and icon if USE=gtk or USE=kde.
*winetricks-916 (19 Oct 2012)
diff --git a/app-emulation/winetricks/Manifest b/app-emulation/winetricks/Manifest
index 1ccad9a073b7..2366fe1683bd 100644
--- a/app-emulation/winetricks/Manifest
+++ b/app-emulation/winetricks/Manifest
@@ -7,18 +7,18 @@ DIST winetricks-916 614298 SHA256 fcd988a4f097bf604e6a17b0e1a8fc8969daeef0deede2
DIST winetricks-916.1 3469 SHA256 f522f4c991194cbed1044182ca6fbbb7645cd4b98d9557ab7d073ace1af4738d SHA512 2c832a9cc4286f641aeed7a5a47131773b48dd0cf123798f753ffb24799dabca29986b2b740698fbe9efb8034ac874a18147c6bd645bea8e69fdb42f1437fdf2 WHIRLPOOL 0ccb982022189b4d2e134756cadbca3628c33e57be6879b07e84f99182ed5a201379413a32af5d689744b4d7527f6abf56aae7113f34401c4cbe62b902462424
DIST winetricks-gentoo-2012.10.19.tar.bz2 6421 SHA256 e9c61f6e2c2ecc6238f2ce415d219d4bc2cae486115fd8b99814b9c3422ad061 SHA512 40771160d2fb6be78e48c3e6f326bc61c96e462c5f646c2a2e00902a2059ce850738d0d447e65d2aeaa198ddec0069c06f39974b8a2b1959c14741cbd3dbc018 WHIRLPOOL 19052e69b56ef9f64962c47262942eff7f33a09ad761f9020760e1449edbec1c767a36cdec049afd7d7d07a329531dcc16770c79d71c51c91e5173d66cea0852
EBUILD winetricks-913.ebuild 1162 SHA256 ce499724a7a7032a1bf240b6c952d884109748baa38057c080c4b5a61903bbd9 SHA512 a3ba2756e553c1cc5eb12cbb313528403aeb7e95e1c4b56bf3b26b7d3b124380df0d4d8b11f2f11d12c6985cba96ca3fe127b6c2a686d1859a39ba1f5db3889f WHIRLPOOL fb753423905e939bfd8485a43d66b6a6d425dc074a67d05d656cef3913586cceffe7210ebb10aff1566368ed40f5fd03c75e0ce38f66dc84f96afcbfae2ed567
-EBUILD winetricks-916.ebuild 1586 SHA256 148807aadf0d05a35e03bfbe6c45e06ecd33e7a9e5210861f2758562c4a91d5f SHA512 2ea8cae3cd784963fab8499e33fea894cb032be5210025b209457de5510e3a32f77b4341ebdc2d38d83aa51cfcee66f895f4ae8131b3b433a32c51b3b749067a WHIRLPOOL f094ea37038e91db1b535d3f91934ab96352b778d9dbf54b9f355182fd873e578aeb652814a75cea03e5290a4f9eaa1bbcffdd3ee07f453a01f21be1e9ab338c
-EBUILD winetricks-99999999.ebuild 1591 SHA256 a51ac095005bbc503e8327212b1d99a062f0d75f43c0c99aa79cde270c20e391 SHA512 64d6e29da0426682da0e830d69c69a5fb3dbb5fa4171e08587ac6fed4becdd824c681bc1becef2c7f87cf515aff61f66948e743eefb5eba5fd6c2ebdf71f4917 WHIRLPOOL 3fc58eeb27df4e36d01732b56ed2d22cae08f02d7ef857a478bfaef5411158bdf81cf8a08250da42ac520516cefe83944de407ebf99f8114e046dde4d83b8872
-MISC ChangeLog 2116 SHA256 f4661528d7f393e90e93dc84b80dae869a2d812f4191dd0f76a1789d2be7e691 SHA512 61e44758080901d904e1c526e146f05c7c937169cda5541e55f38a268efd49b25dfcebbba8bcac52354eaa894ae22857d7a4d5b24cbd693816bc16a41f309bab WHIRLPOOL fa797e7f729f73f11973203fbd3e0d003da7dc4a0f414f6f79a3c1bdf193fbbadf69baf3b046c14a84b728ab3f011c9d474f51688103333ea35eba8fd3ddec5f
+EBUILD winetricks-916.ebuild 1841 SHA256 a9e45c128cd766eca2bd98d6bf745404f8337b7fe1be8142229f3a7e8e4934fb SHA512 0df0267cd016dc7e3dafc0b55b0e74d67869bdcb18f0a771f0af2983aec4d0f9d0dca8f06121c543fb063b5c170ba2222324a52115010b1b5e4aa04167da69a1 WHIRLPOOL bd8794d95f69b72afe13616107a9d0a55d4f3db03292545b27cb6d385cb95095f785a48abe93ea6973c4ac401ba689def474e585df2340f025e34543b16b2da4
+EBUILD winetricks-99999999.ebuild 1846 SHA256 efd10887d0da815b64f22919160b682c75ac2e2c35e864440b61a3db54d308b9 SHA512 15138ce6e436cc188ef2ad70b34a68d969ddb56f4de467e68d9072a4b72ef4353d41200a74e863af1fc8e40f53eaf91f227defe591e0343ad2b54393b5aa7e09 WHIRLPOOL 5107c753273004ef0ae598a6d1c733003dfb198295c3754f87234f34e95c823bf9cc6e7b98c3aa78cf6fc7f94c0b24e2381af4f42f5446a7620dfa72790ead2b
+MISC ChangeLog 2291 SHA256 8c92c0706b9edc28ef80c62e9d2932bbbf16053d447eca6bdaabbf72fbafc69d SHA512 91c8347b6e264cdafdb3658cdea356755da14713ee57c300ad979cb24f674786ed2e6cfb322ce5fae31cb9016083019e5acaecd8abb74627bd0aa52221898bf5 WHIRLPOOL cb5e906d8416696a5d39694ad21b6e4e80ce3dea6b9825dc99f178dcc64af87a72b9edb2381148ee6ba3d6dc104c5ebfc6d6833f16ad0166d7f0f54204f13715
MISC metadata.xml 238 SHA256 89eb94f543aa923d1627ce6ad4b70039815f7d01d795beb58a8f9a1c7de97252 SHA512 17e2bfa0f3b04f33b520be8ce9892a8c11fe027178a1315b2b48d3268296d4f017890bcdcc2a25f1dbd6acad78ef47924679aa5c87d4c3c66f65bf1b03bbeafc WHIRLPOOL 8ebb3ae5a0560a7cbccd13183d6d5fcb3a7afcf2ddbca0c7d224d0951f5223a6ac53c9f7bb7cce5583e257cf4b6a94b0e710c98bec00a57f042c3568ee4274f9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQgOoKAAoJEJ0WA1zPCt1h3I4IAIvFnaNtY20EwJ0z461oAdiQ
-Gn6AK1Z752hIgp8nXKbQfoim7eFUSGMb5pbPO642CZmoWCooYUQNy/ajOfKTPqKe
-xn11XOQ+TZtgU5WbOmlp9yX6BKABzlYORUf1QNmU3M2N0UTgW2Q8Dc/+D7l6A4oo
-PN90nwx8w4x72eHFL8zOQ8YFrw3CQvHTsYM+rJYuIaLpZFHqEsOa7snvz8r3SlXJ
-+KDShoA+L4+xYUrMEuCZ0yli5wPpxCIuubXpWGtG5Nos7FLHU7PXpedpP2fW1pW3
-knpNS6V7fHNtLkVWWUFq/tB57tcOHRoEFI/EkjXXZeviFIlFhlmeuCh6VRqJy54=
-=Q6Ov
+iQEcBAEBCAAGBQJQgOvWAAoJEJ0WA1zPCt1h00gH/0bDpDogZtmzE429d27i5mbz
+ZZ9rckB3g2yfwL1SnRD5L1XiBuRZHfOD2oAwCbweB0UX5HI6p0IS8GewEVSqWcbR
+BmcLQXgsVoVAddFd09tAGGluV9LvEmg8uIsZDBvuPKdLZ3ZrxYJQoVKoy7cbY6FF
+u6zsEp1M32o5XIW2a5nndrbBm4gPP9kC6HFcvPR5xolzD/+4bub5lVwOqGaN90Ft
+St1IWk8gt//K+xM/3jwoRBrawv1aM1eLrUOAjhrKk4rHQtx8HI8pPbTiBUfc6aa9
+DULwqhLCimGBEKgJ/xzOXO+ESZmY9GhE+aabZbbsVlxFi8lA6aqdGkl/dN6nqRw=
+=kiPn
-----END PGP SIGNATURE-----
diff --git a/app-emulation/winetricks/winetricks-916.ebuild b/app-emulation/winetricks/winetricks-916.ebuild
index ed83cbf84b90..cce9fd06848e 100644
--- a/app-emulation/winetricks/winetricks-916.ebuild
+++ b/app-emulation/winetricks/winetricks-916.ebuild
@@ -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-emulation/winetricks/winetricks-916.ebuild,v 1.1 2012/10/19 05:50:00 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-916.ebuild,v 1.2 2012/10/19 05:57:41 tetromino Exp $
EAPI=4
@@ -16,7 +16,8 @@ else
fi
wtg=winetricks-gentoo-2012.10.19
SRC_URI="${SRC_URI}
- http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2"
+ gtk? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
+ kde? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
HOMEPAGE="http://code.google.com/p/winetricks/ http://wiki.winehq.org/winetricks"
@@ -42,27 +43,37 @@ src_unpack() {
cp "${DISTDIR}"/${P} src/${PN} || die
cp "${DISTDIR}"/${P}.1 src/${PN}.1 || die
fi
- unpack ${wtg}.tar.bz2
+ if use gtk || use kde; then
+ unpack ${wtg}.tar.bz2
+ fi
}
src_install() {
cd src
dobin ${PN}
doman ${PN}.1
- cd ../${wtg} || die
- domenu winetricks.desktop
- insinto /usr/share/icons/hicolor/scalable/apps
- doins wine-winetricks.svg
+ if use gtk || use kde; then
+ cd ../${wtg} || die
+ domenu winetricks.desktop
+ insinto /usr/share/icons/hicolor/scalable/apps
+ doins wine-winetricks.svg
+ fi
}
pkg_preinst() {
- gnome2_icon_savelist
+ if use gtk || use kde; then
+ gnome2_icon_savelist
+ fi
}
pkg_postinst() {
- gnome2_icon_cache_update
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
}
pkg_postrm() {
- gnome2_icon_cache_update
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
}
diff --git a/app-emulation/winetricks/winetricks-99999999.ebuild b/app-emulation/winetricks/winetricks-99999999.ebuild
index 7c9a6ef492db..65679559f6a6 100644
--- a/app-emulation/winetricks/winetricks-99999999.ebuild
+++ b/app-emulation/winetricks/winetricks-99999999.ebuild
@@ -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-emulation/winetricks/winetricks-99999999.ebuild,v 1.4 2012/10/19 05:50:00 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winetricks/winetricks-99999999.ebuild,v 1.5 2012/10/19 05:57:41 tetromino Exp $
EAPI=4
@@ -16,7 +16,8 @@ else
fi
wtg=winetricks-gentoo-2012.10.19
SRC_URI="${SRC_URI}
- http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2"
+ gtk? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
+ kde? ( http://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
HOMEPAGE="http://code.google.com/p/winetricks/ http://wiki.winehq.org/winetricks"
@@ -42,27 +43,37 @@ src_unpack() {
cp "${DISTDIR}"/${P} src/${PN} || die
cp "${DISTDIR}"/${P}.1 src/${PN}.1 || die
fi
- unpack ${wtg}.tar.bz2
+ if use gtk || use kde; then
+ unpack ${wtg}.tar.bz2
+ fi
}
src_install() {
cd src
dobin ${PN}
doman ${PN}.1
- cd ../${wtg} || die
- domenu winetricks.desktop
- insinto /usr/share/icons/hicolor/scalable/apps
- doins wine-winetricks.svg
+ if use gtk || use kde; then
+ cd ../${wtg} || die
+ domenu winetricks.desktop
+ insinto /usr/share/icons/hicolor/scalable/apps
+ doins wine-winetricks.svg
+ fi
}
pkg_preinst() {
- gnome2_icon_savelist
+ if use gtk || use kde; then
+ gnome2_icon_savelist
+ fi
}
pkg_postinst() {
- gnome2_icon_cache_update
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
}
pkg_postrm() {
- gnome2_icon_cache_update
+ if use gtk || use kde; then
+ gnome2_icon_cache_update
+ fi
}