slightly tidier if's - spec up to pre10

SVN revision: 12273
This commit is contained in:
Carsten Haitzler 2004-11-26 10:57:58 +00:00
parent 0dd8ecf2b9
commit b4f2e2e030
4 changed files with 18 additions and 10 deletions

View File

@ -4,7 +4,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/windowmanager"
PRIORITY = "optional"
DEPENDS = "ecore edje eet embryo evas imlib2 embryo-native edje-native imlib2-native"
PV = "0.17.0_pre5"
PV = "0.17.0_pre10"
PR = "1"
do_prepsources () {

View File

@ -1,7 +1,7 @@
# Note that this is NOT a relocatable package
%define ver 0.17.0_pre5
%define ver 0.17.0_pre10
%define rel NOT_RELEASE_1
%define prefix /usr
%define prefix /usr/local
Summary: enlightenment
Name: enlightenment
@ -16,9 +16,13 @@ URL: http://www.enlightenment.org/
BuildRequires: evas-devel
BuildRequires: edje-devel
BuildRequires: ecore-devel
BuildRequires: embryo-devel
BuildRequires: eet-devel
Requires: edje
Requires: evas
Requires: ecore
Requires: embryo
Requires: eet
Docdir: %{prefix}/doc

View File

@ -6,7 +6,7 @@ INCLUDES = -I$(includedir) \
@e_cflags@ \
@EDJE_DEF@
bin_PROGRAMS = enlightenment
bin_PROGRAMS = enlightenment enlightenment_remote
enlightenment_SOURCES = \
e.h \
@ -61,3 +61,7 @@ e_resist.h \
e_resist.c
enlightenment_LDFLAGS = -export-dynamic @e_libs@ @dlopen_libs@
enlightenment_remote_SOURCES = \
e.h \
e_remote_main.c

View File

@ -46,12 +46,12 @@ e_module_init(void)
{
E_Module *m;
if (m = e_module_new("test"))
e_module_enable(m);
if (m = e_module_new("ibar"))
e_module_enable(m);
if (m = e_module_new("dropshadow"))
e_module_enable(m);
m = e_module_new("test");
if (m) e_module_enable(m);
m = e_module_new("ibar");
if (m) e_module_enable(m);
m = e_module_new("dropshadow");
if (m) e_module_enable(m);
}
return 1;