Skip to content

Commit d197833

Browse files
committed
[recipe-lib] Make libogg a library recipe
1 parent 8c23ea2 commit d197833

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pythonforandroid/recipes/libogg/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
from pythonforandroid.recipe import NDKRecipe
1+
from pythonforandroid.recipe import Recipe
22
from pythonforandroid.toolchain import current_directory, shprint
33
from os.path import join
44
import sh
55

66

7-
class OggRecipe(NDKRecipe):
7+
class OggRecipe(Recipe):
88
version = '1.3.3'
99
url = 'http://downloads.xiph.org/releases/ogg/libogg-{version}.tar.gz'
10+
built_libraries = {'libogg.so': 'src/.libs'}
1011

11-
generated_libraries = ['libogg.so']
12-
13-
def build_arch(self, arch):
12+
def do_build_libs(self, arch):
1413
with current_directory(self.get_build_dir(arch.arch)):
1514
env = self.get_recipe_env(arch)
1615
flags = [

0 commit comments

Comments
 (0)