NAME := isatis-player
+VERSION := 0.0.1
SOURCES := $(wildcard isatis-player/*.c)
-CFLAGS += -pthread -DDATADIR=\"$(DATADIR)/$(NAME)\"
-PKGS := glib-2.0 gstreamer-0.10 gstreamer-plugins-base-0.10 gtk+-2.0
+CFLAGS += -pthread -DDATADIR=\"$(DATADIR)/$(NAME)\" -DVERSION=\"$(VERSION)\"
+PKGS := glib-2.0 gstreamer-0.10 gstreamer-plugins-base-0.10 gtk+-2.0 gstreamer-base-0.10
LIBS := -lgstinterfaces-0.10
install::
NAME := libisatisplugin
+VERSION := 0.0.1
SOURCES := $(wildcard isatis-plugin/*.c)
-CFLAGS += -pthread -DBINDIR=\"$(BINDIR)\"
+CFLAGS += -pthread -DBINDIR=\"$(BINDIR)\" -DVERSION=\"$(VERSION)\"
# XXX Disgusting kludge XXX
CFLAGS += -I/usr/include/nspr -I/usr/include/xulrunner
#define DBG(x)
#endif
-/* Update this for each new release */
-#define VERSION "v0.1"
-
#define SUPPORTED_MIME_TYPES \
"application/ogg:ogg:OGG Multimedia;" \
"audio/ogg:ogg:OGG Audio;" \