Add monkeysign menu entry for gnome
authorkristianf <devnull@localhost>
Tue, 5 Nov 2013 18:52:39 +0000 (19:52 +0100)
committerkristianf <devnull@localhost>
Tue, 5 Nov 2013 18:52:39 +0000 (19:52 +0100)
app-crypt/monkeysign/Manifest
app-crypt/monkeysign/monkeysign-1.1.ebuild

index f87929f..4571fdb 100644 (file)
@@ -1,3 +1,4 @@
 AUX 02_basename.patch 393 SHA256 68fd68a6c2aad7780a6e940c12d55f65cbcf06e2574b5537e066fcd300b5066c SHA512 ae9e01a6aff91231c700f1e46ef7f4dabed8ba6d3d3a275bb6405b767bcb6f40c96ff7563fe693a17d76e26b63b2ccb0e66e834e910cef5bb94d2a9f9cd366d3 WHIRLPOOL 05f6ed59a288d8868e0ec4faf8e7f5a0c2a14cfee860d3562cb50035544d4130ab95c9d1e2f1ccb0e1c4af70ef1a4b2cac88c29751148af00dc94bc5a680ffc6
+AUX monkeysign.desktop 239 SHA256 8d46806bceb95a8423ae41959865790d4a38d07e305989bc9adecd5a0a276506 SHA512 f94d108abd9851bd1ef11ed583a541840ef5c1c9ae88022e1437c9ab60f452ec70e0e0ee2454da03b885a3612eda7c70628de192c8b4c53a4045b2c548e7c1c4 WHIRLPOOL 811c90621852d4331b276339b234b9ed58687b8d1c7b803076787ae41748fcbfc03c7e48a3ee404aecbd3a93559b2afdec02fd04d1c5fbcb2bc9e19bf9cf5e07
 DIST monkeysign_1.1.tar.gz 54807 SHA256 1229c63c9b649b35a156ab69c7e8ef47ff03817c94ce8138107832117ee5fa6d SHA512 8d1e719633291a3ba9efda8057e8b27b41b8e767db68dc02ca07d18579123b0704f0424ae982f047948620027581589d21ae44470137d1f2ff85f1f360bfd512 WHIRLPOOL 907c65d8ec3a5bbc391dfaa91625a215456989d000e1334687cae3ebcec419b10f34bd65c04d170a6130b21b761ac1b7e9db9f9a1b3fa9ba6ec72d893f7464b9
-EBUILD monkeysign-1.1.ebuild 624 SHA256 6786e9107b575bf1c65df2d95d823cd2392f52fca8381bbf1519a8b94490a4b9 SHA512 d435ea603e0eb9e0cca122c9cc333ea6f4d6d7059114cb0038d3fb2b97a9299fc29b1a5f66db5f1305109a54db3ea78d62f94ee5ef291c08dedf4ace6cb2e379 WHIRLPOOL 002b7c532697febaf94f475045d9f77f625e857ebfe0db9e522b3f3156f325e017acbcfc06704c0fc587d3fc1098977e641d37d1d8ab95ff032adecb479bf5cf
+EBUILD monkeysign-1.1.ebuild 803 SHA256 f52c76a0b2dd68624ce1185000ebcb0991998b9e41c0e7c74723911533b55919 SHA512 6900f8932285f2a9c5f6713ca1b2776eb8dc1aa1e5cddf45277ad119657069aed0d1cadbef44eb4d223315d95a87e103be04811b64b0a9e2f98f4db952349a6e WHIRLPOOL 10441c82e96dd7df766bf4fd3d5c6990296a2df39c262c611d45cc78ddb72d30a77f6d77cc293ba2cefbd84cda07609695082c6a2937350d025549534c089ae6
index 3c7d6f9..b440de3 100644 (file)
@@ -13,7 +13,7 @@ HOMEPAGE="http://web.monkeysphere.info/"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE=""
+IUSE="gnome"
 
 SRC_URI="http://cdn.debian.net/debian/pool/main/m/monkeysign/monkeysign_${PV}.tar.gz"
 
@@ -24,8 +24,16 @@ RDEPEND="
        media-gfx/zbar[python,gtk,imagemagick]
        media-gfx/qrencode-python
        dev-python/setuptools
-       app-crypt/gnupg"
+       app-crypt/gnupg
+       gnome? ( x11-themes/gnome-icon-theme )
+"
 
 src_prepare(){
        epatch "${FILESDIR}/02_basename.patch"
 }
+
+pkg_postinst()
+{
+       use gnome && cp ${FILESDIR}/monkeysign.desktop /usr/share/applications/ || die  
+       update-desktop-database || die
+}