summaryrefslogtreecommitdiffstats
path: root/gnome2-apps
diff options
context:
space:
mode:
authorVlad Glagolev2015-05-10 11:22:09 +0300
committerVlad Glagolev2015-05-10 11:22:09 +0300
commit7f92b336c23a056607a34557988a3d466b82c47e (patch)
treee12c227895f20325dac7f0449455f4191e010bf2 /gnome2-apps
parent8638df36901011fda9106955c670297d256d5fde (diff)
homebank: => 5.0.2
Diffstat (limited to 'gnome2-apps')
-rwxr-xr-xgnome2-apps/homebank/DEPENDS7
-rwxr-xr-xgnome2-apps/homebank/DETAILS7
-rwxr-xr-xgnome2-apps/homebank/PREPARE3
3 files changed, 15 insertions, 2 deletions
diff --git a/gnome2-apps/homebank/DEPENDS b/gnome2-apps/homebank/DEPENDS
index f7b17550e1..e037277f74 100755
--- a/gnome2-apps/homebank/DEPENDS
+++ b/gnome2-apps/homebank/DEPENDS
@@ -1,4 +1,9 @@
-depends gtk+2 &&
+if [[ $HOMEBANK_BRANCH == 4 ]]; then
+ depends gtk+2
+else
+ depends gtk+3
+fi &&
+
depends shared-mime-info &&
optional_depends gettext \
diff --git a/gnome2-apps/homebank/DETAILS b/gnome2-apps/homebank/DETAILS
index 00e858cb53..2fa778d686 100755
--- a/gnome2-apps/homebank/DETAILS
+++ b/gnome2-apps/homebank/DETAILS
@@ -1,8 +1,13 @@
SPELL=homebank
+if [[ $HOMEBANK_BRANCH == 4 ]]; then
VERSION=4.6.3
+ SOURCE_HASH=sha512:aab7374d90ffc52a40188eb334fc9b3461c299014d6134f236488991400fffe9f6dcb69247501857fe4caafbb08f0c5d729211b13551203f1231d136e99e024d
+else
+ VERSION=5.0.2
+ SOURCE_HASH=sha512:e05be38e3707853f3a2138e00a634f3dba31bb88510176dbed23d9cef85f2cd0b6f20128fc744fa6a811f3a723e18a327ae1c68ae1bc86cfbe34b032efeb3381
+fi
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE_URL[0]=http://homebank.free.fr/public/${SOURCE}
- SOURCE_HASH=sha512:aab7374d90ffc52a40188eb334fc9b3461c299014d6134f236488991400fffe9f6dcb69247501857fe4caafbb08f0c5d729211b13551203f1231d136e99e024d
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
DOC_DIRS=""
WEB_SITE=http://homebank.free.fr/
diff --git a/gnome2-apps/homebank/PREPARE b/gnome2-apps/homebank/PREPARE
new file mode 100755
index 0000000000..d54ae1d525
--- /dev/null
+++ b/gnome2-apps/homebank/PREPARE
@@ -0,0 +1,3 @@
+message "${MESSAGE_COLOR}NOTICE: branch 5 introduced the switch to GTK+3 from GTK+2.${DEFAULT_COLOR}" &&
+
+config_query_list HOMEBANK_BRANCH "Which branch?" 5 4