hugor: Update FDO db and Gtk icon cache both during install and remove, and bump...
authorNikos Chantziaras <realnc@gmail.com>
Wed, 8 Aug 2012 15:47:50 +0000 (8 18:47 +0300)
committerNikos Chantziaras <realnc@gmail.com>
Wed, 8 Aug 2012 15:47:50 +0000 (8 18:47 +0300)
games-engines/hugor/Manifest
games-engines/hugor/hugor-0.9.ebuild
games-engines/hugor/hugor-9999.ebuild

dissimilarity index 96%
index 127a625..5d009e1 100644 (file)
@@ -1,10 +1,10 @@
-AUX hicolor/128x128/mimetypes/application-x-hugo-image.png 22833 RMD160 19c78d7d621446c4d5c5251ebe803a09b8c59d60 SHA1 6baf99e1016984514eb78470961c7aa69c010d92 SHA256 47f20389394d71f3030e504fa670e155acfe4e9c9c1398226ff72b27f248d742
-AUX hicolor/16x16/mimetypes/application-x-hugo-image.png 1022 RMD160 7b0da635b381c38973028a2c31395f86c29930d5 SHA1 0e3ea5795a0e8e1cb625e893f12a1f166e1a04a2 SHA256 f6c7b10c2bc41f94738bea10f823eca981842b66816178dc7e9be82839227932
-AUX hicolor/32x32/mimetypes/application-x-hugo-image.png 2836 RMD160 6223b5772ef55b65bddf5056e3e1145220096e9f SHA1 db7769c409fbf2b1d3f597134dfa8ffdfba88bec SHA256 e516e35b87b74f5a9c1c95ade4a1575372651c6ebedd0d9e2ade7893b0a93671
-AUX hicolor/48x48/mimetypes/application-x-hugo-image.png 5138 RMD160 7e55d6610855e433e9fc3a686bf4d0d3058bb291 SHA1 b2e2f053c2505ada8a9ddad76fd86856d1a60310 SHA256 8c4803ba39a1deb934da997da650a51dd6d8603ebd1a6a818db18a16a8c70ec8
-AUX hugor.png 72965 RMD160 4baffc3f48b3ee177ed761715d9aefd773c31a30 SHA1 2c3f5a7f1bad4328274a5731fea00b3b2044a3ab SHA256 29115e5cf1ffae82643bd68ef3a62fe2b4b425649565dfc730b23bcb672baafe
-AUX hugor.xml 255 RMD160 7383b8060837c3d89f4f6da450a246818ebdce1f SHA1 cb64cfd19af09b0737c9bd5b5b4648589c10471a SHA256 a9b58636810f2370acd0e785df4e8e44d8f2f0971d28a0f28ce6cf15e4012887
-DIST hugor-0.9.tar.bz2 330952 RMD160 e8ad730a9c95cfbf8d2b1fe19bc23864876990ac SHA1 f24d920f90d4e8b4e99cc958bb171417aab1ffad SHA256 086bef7c329699ed8d9f96008bebdb43cb060e422ab16462243cfafa49ee818d
-EBUILD hugor-0.9.ebuild 1279 RMD160 9292a88842ef3f55c77c00b51cf12ae90b716b02 SHA1 5c4caeacf8475a350dd1df3a0cd0f7a465a5823c SHA256 f2bb86cbc7862471f8f639e569897d098c781b6e311bcf13393042a872f9fd2d
-EBUILD hugor-9999.ebuild 1279 RMD160 9292a88842ef3f55c77c00b51cf12ae90b716b02 SHA1 5c4caeacf8475a350dd1df3a0cd0f7a465a5823c SHA256 f2bb86cbc7862471f8f639e569897d098c781b6e311bcf13393042a872f9fd2d
-MISC metadata.xml 351 RMD160 9955fa71c5c03d11b009743e0c4f1a86175c7685 SHA1 cbc96603817caf22c955ae2554b014bf7e268deb SHA256 d0a1793032865a25cb4b2c5b7d0df03a90beac76be6cc00f37183fedd4a5dfb5
+AUX hicolor/128x128/mimetypes/application-x-hugo-image.png 22833 SHA256 47f20389394d71f3030e504fa670e155acfe4e9c9c1398226ff72b27f248d742 SHA512 51fb7eecd3193a95291f0b6d9bbc1fde141512ddee0e64f880cb3390bbc38a82311a91d4a54feadbcec8fa182ec8e5239df38807c2b1c55e3964afe294486d9e WHIRLPOOL cbdfe09634cd45523d908525ff017fb9ac51e2db2537d4f3f4d7131c3f6d9fa21c6845fd50c1ef6088c981c6e1701a3b15c10424cfbfced1b3b45447cc8e5476
+AUX hicolor/16x16/mimetypes/application-x-hugo-image.png 1022 SHA256 f6c7b10c2bc41f94738bea10f823eca981842b66816178dc7e9be82839227932 SHA512 4f688030b1ee752369680a7b614bad97cefbb3b3e3fe9fecf17d5c2ba67578c77c24647b258d6a7f57159fb83776fd4a365427beb9b3235a58481c942c3d4dbf WHIRLPOOL 03b85ecc329c51123478ef940683d4b1a3651075f6dc2113519f70d815e2daea1bf4743ff40def866043daf90eac93fc51f26d57d9b905f1786cac763457d71f
+AUX hicolor/32x32/mimetypes/application-x-hugo-image.png 2836 SHA256 e516e35b87b74f5a9c1c95ade4a1575372651c6ebedd0d9e2ade7893b0a93671 SHA512 77baadef0f1a900fceff70cbea62b11bf215748f1d25e24cc3220f56b224922f8ad486dc39d9156f8a41d14ced90e3f0c319149816abddf7a025ef8764ec76ea WHIRLPOOL d96d566f436161911c85bdc265bfa9c083025cbdf1b6e38d003875261160ef09d438138adc76e88c718459ea887a5de5f1c998c1bd32da9fde5f2b826cae3bf5
+AUX hicolor/48x48/mimetypes/application-x-hugo-image.png 5138 SHA256 8c4803ba39a1deb934da997da650a51dd6d8603ebd1a6a818db18a16a8c70ec8 SHA512 57782001a9ed101b087d729e48ebf57f17b68256895566012503a52760aab09415041205b6d792944a1a9b68b2938d2e9d667b433b39daaf7846bdae49d15030 WHIRLPOOL f8107b0b3a35f39517d755bab014b1f85460f32ecfc3fd0f3e5ac39beb2a3e65a46ed1bcc280d15cfc5e0d58d6e4b04685b72e6caa9bb9f27ce9e49c62d93145
+AUX hugor.png 72965 SHA256 29115e5cf1ffae82643bd68ef3a62fe2b4b425649565dfc730b23bcb672baafe SHA512 4ecf9e8b2d50eaa43c2b2ae47ddeb8252f10995f51621a2961d8b230113d728d76f3212b320bc1ba9f2f0ef53cb7e876b68919f2193d5a8dddd2558a108f8c53 WHIRLPOOL 94ad35cfd9519e991502b7f6a8c691f7b2f18a6ca635085ed76c22ea1bc3b20a8400a33c0190f2a1a618efb78d2d2ba06ac21df741e294332846a4183b9e1862
+AUX hugor.xml 255 SHA256 a9b58636810f2370acd0e785df4e8e44d8f2f0971d28a0f28ce6cf15e4012887 SHA512 6f73ffa1fc95a682214347130462d5f3db27cf9f5e522f0707b1c98f563af3afdfe733e4a8b5e3cadbf1f1b461abcf80fc8ab43bb2f515c2012bb0919f547bf6 WHIRLPOOL 7335ef5b6a459eb9e4632b696a389bbee138a7868da79c650ecddc0a18e3b4d302bea0f5559db6d8f298af56b46fcd83b94cd5af09d8bcd2d6d40b9711654c64
+DIST hugor-0.9.tar.bz2 330952 SHA256 086bef7c329699ed8d9f96008bebdb43cb060e422ab16462243cfafa49ee818d SHA512 f63a520880305fe099ac7ca7f9ef0f267f17e4306eb899ec11499975b97836b4d130540818d1ae6ba771a7c289da85cfd5e132770c3aa0b91fad0cb5daa40992 WHIRLPOOL f6717680421909ab364d3b84a8bd07757c6f1b0e8e47d9b78bd9275122f33ade1232b7c15994119585157dbbd6bfd7384aa6682de748334d52f8dc12ec584bb5
+EBUILD hugor-0.9.ebuild 1491 SHA256 be4e5f522673474fd75b7be40f040dd63dbfdffb74f5b1a6f2e0efa962dc1c18 SHA512 bebaf3eceeb3d1c9f0aa3a105910ef7f7e633d51b6d27fbe0e4cc6abdc936b72b8fe33bc65ff7b566b821abb62859371e1c6c7753bc729834b45d9c9ad5a8d86 WHIRLPOOL 60695ea57924bb5f32030e1e540597b10bf4eb711b3b1ae17ca44b92727a1265c8eb19aa8e6713b90d02b877d1ed7b882407ec14c586c5858c904dac8ea6cff9
+EBUILD hugor-9999.ebuild 1491 SHA256 be4e5f522673474fd75b7be40f040dd63dbfdffb74f5b1a6f2e0efa962dc1c18 SHA512 bebaf3eceeb3d1c9f0aa3a105910ef7f7e633d51b6d27fbe0e4cc6abdc936b72b8fe33bc65ff7b566b821abb62859371e1c6c7753bc729834b45d9c9ad5a8d86 WHIRLPOOL 60695ea57924bb5f32030e1e540597b10bf4eb711b3b1ae17ca44b92727a1265c8eb19aa8e6713b90d02b877d1ed7b882407ec14c586c5858c904dac8ea6cff9
+MISC metadata.xml 351 SHA256 d0a1793032865a25cb4b2c5b7d0df03a90beac76be6cc00f37183fedd4a5dfb5 SHA512 ef48ece7dadfa35772a6b5877255417445eae1488e63f0848628cd7a732a177170f72b8a90e66784c5a4cc185fea21071bbf76040c817295da68291a9c447f47 WHIRLPOOL e866b60b0c8ddeeb8aa104d100873247e61b16fc49ffef8038c03cd4a8f892973a7bd88fce774f9791da896492a3388f14dca4c4b6d54ad6f08d2484d0ebc3e3
index 55f019f..b66e05e 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI="4"
 
 if [ "$PV" != "9999" ]; then
        SRC_URI="http://foss.aegean.gr/~realnc/hugor/${P}.tar.bz2"
@@ -12,7 +12,7 @@ else
        KEYWORDS=""
 fi
 
-inherit eutils fdo-mime games qt4-r2 confutils
+inherit eutils gnome2-utils fdo-mime games qt4-r2 confutils
 
 if [ "$PV" == "9999" ]; then
        EGIT_REPO_URI="git://git.assembla.com/hugor.git"
@@ -25,16 +25,13 @@ HOMEPAGE="http://ifwiki.org/index.php/Hugor"
 LICENSE="Hugo"
 SLOT="0"
 IUSE="fmod +sdl"
+REQUIRED_USE="^^ ( fmod sdl )"
 
 DEPEND="x11-libs/qt-gui:4
        sdl? ( >=media-libs/sdl-mixer-1.2.12[mad,midi,modplug] )
        fmod? ( media-libs/fmod )
        x11-misc/shared-mime-info"
 
-pkg_setup() {
-       confutils_require_one fmod sdl
-}
-
 src_configure() {
        if use sdl; then
                eqmake4 SOUND=sdl
@@ -55,7 +52,20 @@ src_install() {
        prepgamesdirs
 }
 
+pkg_preinst() {
+       games_pkg_preinst
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
+       games_pkg_postinst
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
+       gnome2_icon_cache_update
 }
index 55f019f..b66e05e 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI="4"
 
 if [ "$PV" != "9999" ]; then
        SRC_URI="http://foss.aegean.gr/~realnc/hugor/${P}.tar.bz2"
@@ -12,7 +12,7 @@ else
        KEYWORDS=""
 fi
 
-inherit eutils fdo-mime games qt4-r2 confutils
+inherit eutils gnome2-utils fdo-mime games qt4-r2 confutils
 
 if [ "$PV" == "9999" ]; then
        EGIT_REPO_URI="git://git.assembla.com/hugor.git"
@@ -25,16 +25,13 @@ HOMEPAGE="http://ifwiki.org/index.php/Hugor"
 LICENSE="Hugo"
 SLOT="0"
 IUSE="fmod +sdl"
+REQUIRED_USE="^^ ( fmod sdl )"
 
 DEPEND="x11-libs/qt-gui:4
        sdl? ( >=media-libs/sdl-mixer-1.2.12[mad,midi,modplug] )
        fmod? ( media-libs/fmod )
        x11-misc/shared-mime-info"
 
-pkg_setup() {
-       confutils_require_one fmod sdl
-}
-
 src_configure() {
        if use sdl; then
                eqmake4 SOUND=sdl
@@ -55,7 +52,20 @@ src_install() {
        prepgamesdirs
 }
 
+pkg_preinst() {
+       games_pkg_preinst
+       gnome2_icon_savelist
+}
+
 pkg_postinst() {
+       games_pkg_postinst
+       fdo-mime_desktop_database_update
+       fdo-mime_mime_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
        fdo-mime_desktop_database_update
        fdo-mime_mime_database_update
+       gnome2_icon_cache_update
 }