]> git.pld-linux.org Git - packages/gpac.git/blob - gpac-install.patch
084813fc97e556316c6697b58432da6a85da8bde
[packages/gpac.git] / gpac-install.patch
1 --- gpac-0.7.1/applications/osmozilla/Makefile~ 2017-04-26 13:33:17.000000000 +0200
2 +++ gpac-0.7.1/applications/osmozilla/Makefile  2018-09-17 13:57:38.870996859 +0200
3 @@ -6,10 +6,6 @@ ifeq ($(CONFIG_WIN32),yes)
4  USER_NAME=root
5  else
6  USER_NAME=$(shell whoami)
7 -ifeq ($(USER_NAME), root)
8 -else
9 -MOZILLA_DIR=local
10 -endif
11  endif
12  
13  CFLAGS=$(CXXFLAGS) $(XUL_CFLAGS) -I"$(SRC_PATH)/include"
14 @@ -72,19 +68,8 @@ ifeq ($(CONFIG_WIN32),yes)
15  endif
16  
17  install: 
18 -ifeq ($(MOZILLA_DIR), local)
19 -ifeq ($(USER_NAME), root)
20 -       @echo "*** Root cannot install local mozilla plugins! ***"
21 -       @echo "*** Exit root mode and reinstall mozilla plugin! ***"
22 -else
23 -       $(MAKE) $(LIB)
24 -       $(INSTALL) -D -m 755 ../../bin/gcc/$(LIB) "$(HOME)/.mozilla/plugins/$(LIB)"
25 -       $(INSTALL) -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(HOME)/.mozilla/components/nposmozilla.xpt"
26 -endif
27 -else
28         $(INSTALL) -D -m 755 ../../bin/gcc/$(LIB) "$(MOZILLA_DIR)/components/$(LIB)"
29         $(INSTALL) -D -m 755 ../../bin/gcc/nposmozilla.xpt "$(MOZILLA_DIR)/components/nposmozilla.xpt"
30 -endif
31  
32  uninstall:
33  ifeq ($(MOZILLA_DIR), local)
34 --- gpac-0.7.1/Makefile~        2017-04-26 13:33:17.000000000 +0200
35 +++ gpac-0.7.1/Makefile 2018-09-17 14:27:00.872110746 +0200
36 @@ -112,7 +112,7 @@ ifneq ($(CONFIG_WIN32), yes)
37  ifneq ($(CONFIG_FFMPEG), no)
38  ifneq ($(DISABLE_CORE_TOOLS), yes)
39  ifneq ($(DISABLE_AV_PARSERS), yes)
40 -       if [ -f bin/gcc/DashCast$(EXE_SUFFIX)g ] ; then \
41 +       if [ -f bin/gcc/DashCast$(EXE_SUFFIX) ] ; then \
42         $(INSTALL) $(INSTFLAGS) -m 755 bin/gcc/DashCast$(EXE_SUFFIX) "$(DESTDIR)$(prefix)/bin" ; \
43         fi
44  endif
This page took 0.040932 seconds and 2 git commands to generate.