org.adblockplus.android.yml 4.55 KB
Newer Older
1
2
3
Categories:
  - Internet
License: GPL-3.0-only
Izzy's avatar
Izzy committed
4
WebSite: https://adblockplus.org/en/android
5
6
SourceCode: https://hg.adblockplus.org/adblockplusandroid
IssueTracker: https://adblockplus.org/forum/viewforum.php?f=11
Izzy's avatar
Izzy committed
7
Donate: https://adblockplus.org/en/contribute#donate
8
9
10
11
FlattrID: '454073'

AutoName: Adblock Plus
Description: |-
12
    <b>N.B</b> If you get a http error 400 when updating the F-Droid client, it is
13
14
15
16
17
18
19
20
    probably caused by this app and you will need to disable ad-blocking to allow
    the F-Droid repos to update correctly.

    Adblock Plus runs in the background and filters ads, using the same filters as
    the Adblock Plus browser extension. Without needing root, it uses a proxy
    feature that comes with Android 3.1+ to block ads over WiFi ; but if your phone
    comes with extra proxy settings (e.g. Samsung or Custom ROMs), it can be
    configured for Android 3.0 and below. Instructions are provided in the app or on
21
    their <a href="https://adblockplus.org/en/android-config">website</a>.
22
23

    Requires root: No. Without root it uses a local proxy to filter ads for all apps
24
    <b>over WiFi only</b> ; if you allow root the app can edit the hosts file too and
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
    block ads on cellular data access points.

    We are unable to publish newer versions of this app since upstream pushes lots
    of prebuilt binaries to the source repo.

RepoType: hg
Repo: https://hg.adblockplus.org/adblockplusandroid

Builds:
  - versionName: 1.0.1
    versionCode: 168
    commit: 1.0.1
    init:
      - rm -rf iptables/ libs/RootToolsSvn-1.7.jar build.xml
      - git clone https://android.googlesource.com/platform/external/iptables
    srclibs:
      - RootToolsSvn@1.7
    prebuild:
      - echo "source.dir=src;$$RootToolsSvn$$/src" >> ant.properties
      - cd iptables
      - git apply ../iptables.patch
      - sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile
      - make fixextensions build
      - mv libs/armeabi/iptables ../assets/install/
    buildjni:
      - yes
51
    ndk: r12b
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

  - versionName: '1.1'
    versionCode: 238
    commit: '1.1'
    init:
      - rm -rf iptables/ libs/* obj/ build.xml
      - git clone https://android.googlesource.com/platform/external/iptables
    srclibs:
      - RootToolsSvn@1.7
    prebuild:
      - echo "source.dir=src;$$RootToolsSvn$$/src" >> ant.properties
      - cd iptables
      - git apply ../iptables.patch
      - sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile
      - make fixextensions build
      - mv libs/armeabi/iptables ../assets/install/
    androidupdate:
      - .
      - submodules/actionbarsherlock/library
      - submodules/android-switch-backport
    buildjni:
      - yes
74
    ndk: r12b
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96

  - versionName: 1.1.1
    versionCode: 248
    commit: 1.1.1
    init:
      - rm -rf iptables/ libs/* obj/ build.xml
      - git clone https://android.googlesource.com/platform/external/iptables
    srclibs:
      - RootToolsSvn@1.7
    prebuild:
      - echo "source.dir=src;$$RootToolsSvn$$/src" >> ant.properties
      - cd iptables
      - git apply ../iptables.patch
      - sed -i 's@ndk-build@$$NDK$$/ndk-build@g' Makefile
      - make fixextensions build
      - mv libs/armeabi/iptables ../assets/install/
    androidupdate:
      - .
      - submodules/actionbarsherlock/library
      - submodules/android-switch-backport
    buildjni:
      - yes
97
    ndk: r12b
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139

  - versionName: 1.1.2
    versionCode: 253
    commit: 1.1.2
    srclibs:
      - RootToolsSvn@1.7
      - iptables@android-4.2.2_r1
    prebuild:
      - rm libs/RootToolsSvn-1.7.jar
      - cp -r $$iptables$$ .
      - echo "source.dir=src;$$RootToolsSvn$$/src" >> ant.properties
      - cd iptables
      - git apply ../iptables.patch
      - python extensions/fixinit.py
    build:
      - cd iptables
      - $$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk
      - mv libs/armeabi/iptables ../assets/install/

  - versionName: 1.1.3
    versionCode: 270
    commit: 1.1.3
    srclibs:
      - RootToolsSvn@1.7
      - iptables@android-4.2.2_r1
    prebuild:
      - rm libs/RootToolsSvn-1.7.jar
      - cp -r $$iptables$$ .
      - echo "source.dir=src;$$RootToolsSvn$$/src" >> ant.properties
      - cd iptables
      - git apply ../iptables.patch
      - python extensions/fixinit.py
    build:
      - cd iptables
      - $$NDK$$/ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk
      - mv libs/armeabi/iptables ../assets/install/

MaintainerNotes: |-
    We should really be rebuilding the libraries in jni/v8 (they're from the
    platform) to verify them properly.

AutoUpdateMode: None
linsui's avatar
linsui committed
140
141
142
UpdateCheckMode: None
CurrentVersion: 1.1.3
CurrentVersionCode: 270